Template:Subject page/core/doc
This is a documentation subpage for Template:Subject page/core It may contain usage information, categories and other content that is not part of the original template page. |
This subtemplate displays subject page content for template {{subject page}}.
Usage
editThe parameters to be provided to this subtemplate are described in the documentation for {{subject page}}, except for one introduced by {{subject page}} when calling here.
subject
— the name of the subject whose page content is to be displayed. NoSubject:
prefix.
(This subtemplate ignores parameters 1
and 2
, which are incidentally passed through from {{nowrap|{{subject page}}}.)
Internals
editThis subtemplate customizes parameter values — such as providing default values for parameters not specified — and delegates the actual display generation to {{subject page/core2}}. For this subtemplate to function correctly it should be called from {{subject page}} using one of the Module:TScope#Call functions, so that parameters not provided to {{subject page}} are not provided here, rather than merely being blank.