Template:Doc/subpage/doc: Difference between revisions
< Template:Doc | subpage
Jump to navigation
Jump to search
1416006136 (talk | contribs) mNo edit summary |
1416006136 (talk | contribs) mNo edit summary |
||
Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
{{Code|<nowiki>{{Doc/subpage}}</nowiki>|select=1}} | {{Code|<nowiki>{{Doc/subpage}}</nowiki>|select=1}} | ||
== Parameter == | |||
{{Capsule|style=2| | |||
*{{param|1}} - ''Optional:'' Parameter for switching the template assignment. Default is {{Code|0}}. | |||
**0 – will display the message “This is a documentation subpage for <page>”. | |||
**1 – will display the message “This is the sandbox subpage for <page>”. | |||
**2 – will display the message “This page is not a sandbox”. | |||
**3 – will display the message “This is the <page> info subpage”. Useful for user subpages. | |||
**4 – will display the message “This is a documentation subpage for use on multiple pages”. If the {{param|list}} parameter is used, then the text will be: “This is a documentation subpage for use on multiple pages listed in <list page>”. | |||
*{{param|list}}: specifies a page or category that lists pages using a particular documentation page. Used only if parameter {{param|1}} is set to 4. | |||
}}''Quoted from [[Template:Doc/doc]]'' | |||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
<!-- Categories below this line, please --> | <!-- Categories below this line, please --> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
}}</includeonly> | }}</includeonly> |
Revision as of 08:40, 4 April 2023

This is a documentation subpage for Template:Doc.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
The replacement of <noinclude>{{doc|0}}</noinclude>.
Usage
{{Doc/subpage}}
Parameter
- {{{1}}} - Optional: Parameter for switching the template assignment. Default is 0.
- 0 – will display the message “This is a documentation subpage for <page>”.
- 1 – will display the message “This is the sandbox subpage for <page>”.
- 2 – will display the message “This page is not a sandbox”.
- 3 – will display the message “This is the <page> info subpage”. Useful for user subpages.
- 4 – will display the message “This is a documentation subpage for use on multiple pages”. If the {{{list}}} parameter is used, then the text will be: “This is a documentation subpage for use on multiple pages listed in <list page>”.
- {{{list}}}: specifies a page or category that lists pages using a particular documentation page. Used only if parameter {{{1}}} is set to 4.
Quoted from Template:Doc/doc