Difference between revisions of "Template:Documentation"
MyraMidnight (talk | contribs) m |
MyraMidnight (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | < | + | <includeonly>{|class="pinktable mw-collapsible" style="width:100%;background:white;" |
!{{{title|Template Explanation}}} | !{{{title|Template Explanation}}} | ||
|- | |- | ||
|style="{{{style|padding-left:10px;}}}" |<!--- | |style="{{{style|padding-left:10px;}}}" |<!--- | ||
− | --- | + | --->{{{{PAGENAME}}/doc}} |
|} | |} | ||
{|class="pinktable" style="width:100%;background:white;" | {|class="pinktable" style="width:100%;background:white;" | ||
Line 10: | Line 10: | ||
|style="{{{style|padding-left:10px;}}}" | | |style="{{{style|padding-left:10px;}}}" | | ||
The above documentation is transcluded from Template:Documentation/doc. (edit | history) | The above documentation is transcluded from Template:Documentation/doc. (edit | history) | ||
− | <br>Editors can experiment in this template's [[{{#switch: {{SUBPAGENAME}} | #default = {{PAGENAME}} }}/sandbox|sandbox]] | + | <br>Editors can experiment in this template's [[{{#switch: {{SUBPAGENAME}} | #default = {{PAGENAME}} }}/sandbox|sandbox]] |
<br>Please add categories to the [[{{#switch: {{SUBPAGENAME}} | <br>Please add categories to the [[{{#switch: {{SUBPAGENAME}} | ||
| #default = {{PAGENAME}} | | #default = {{PAGENAME}} | ||
Line 18: | Line 18: | ||
--> | --> | ||
− | |}</ | + | |}</includeonly> |
{{Documentation}} | {{Documentation}} |
Revision as of 03:00, 2 May 2017
Template Explanation | |
---|---|
This template allows any page to use any documentation page, and makes it possible to protect templates while allowing anyone to edit the template's documentation, categories, and interwiki links. It also reduces server resources by circumventing a technical limitation of templates It detects the namespace, so when used on templates, it will say "Template Documentation" but on other namespaces it will just say "Documentation". Usage |
heading= (OPTIONAL)
Documentation subpagesHere is an example of how a
{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwiki links --> == Usage == | parameter= == See also == <includeonly> <!-- Categories go here, and interwikis go here --> </includeonly> See also |
The above documentation is transcluded from Template:Documentation/doc. (edit | history)
|
Template loop detected: Template:Documentation