en>Jundie Created page with "<onlyinclude><!-- -->{{directionbox |image =Icon template doc.svg |text =This page contains {{#ifeq:{{lc:{{{type|}}}}}|standard|the standard documentation for all templates bas..." |
en>Jundie No edit summary |
||
Line 2: | Line 2: | ||
-->{{directionbox | -->{{directionbox | ||
|image =Icon template doc. | |image =Icon template doc.png | ||
|text =This page contains {{#ifeq:{{lc:{{{type|}}}}}|standard|the standard documentation for all templates based on|usage information for}} '''{{#if:{{{page|}}}{{{1|}}}|[[{{#if:{{{page|}}}|{{{page|}}}|{{{1|}}}}}]]|[[{{#sub:{{FULLPAGENAME}}|0|{{#ifeq:{{#rpos:{{FULLPAGENAME}}|/doc}}|-1||{{#rpos:{{FULLPAGENAME}}|/doc}}}}}}]]}}'''. | |text =This page contains {{#ifeq:{{lc:{{{type|}}}}}|standard|the standard documentation for all templates based on|usage information for}} '''{{#if:{{{page|}}}{{{1|}}}|[[{{#if:{{{page|}}}|{{{page|}}}|{{{1|}}}}}]]|[[{{#sub:{{FULLPAGENAME}}|0|{{#ifeq:{{#rpos:{{FULLPAGENAME}}|/doc}}|-1||{{#rpos:{{FULLPAGENAME}}|/doc}}}}}}]]}}'''. | ||
}}<!-- | }}<!-- |
Revision as of 08:54, 28 December 2011
![]() |
This page contains usage information for [[{{#sub:Template:Documentationpage|0|{{#rpos:Template:Documentationpage|/doc}}}}]]. |
---|
Template documentation (for the above template, sometimes hidden or invisible)
For use on template documentation pages. Adds header and category.
Based on {{directionbox}}.
Usage
Place the following at the top of the documentation page:
<noinclude>{{Documentationpage}}</noinclude>
Parameters
(default: "First part of {{PAGENAME}}")
{{#replace:{{#replace:{{#replace:{{#replace:<unnamed 1> // page|| }}| >> | up to }}| // | or }}| ++ |, }}Name of the page the documentation page belongs to.
(default: "default")
{{#replace:{{#replace:{{#replace:{{#replace:type|| }}| >> | up to }}| // | or }}| ++ |, }}Allows to specify the type of documentation page and alters display text accordingly.
Available options:
- default: This page is a normal documentation page.
- standard: This page is a standard documentation page for all templates based on a specific meta template.
Visit Template:Documentationpage/doc to edit this text! (How does this work?)