169
edits
m (1 revision imported) |
m (Remove some random crap from the Wikipedia import) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
</noinclude><includeonly>{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}</includeonly><noinclude> | </noinclude><includeonly>{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}</includeonly><noinclude> | ||
{{documentation|content= | {{documentation|content= | ||
{{Lua|Module:Documentation}} | {{Lua|Module:Documentation}} | ||
This template automatically displays a documentation box like the one you are seeing now, of which the content is sometimes transcluded from another page. | |||
It is intended for pages which are transcluded in other pages, i.e. templates, whether in the template namespace or not. | |||
==Usage== <!--T:2--> | ==Usage== <!--T:2--> | ||
===Customizing display=== <!--T:3--> | ===Customizing display=== <!--T:3--> | ||
Overrides exist to customize the output in special cases: | Overrides exist to customize the output in special cases: | ||
< | * <nowiki>{{</nowiki>documentation{{!}}'''heading'''=<nowiki>}}</nowiki> - change the text of the "documentation" heading. If this is set to blank, the entire heading line (including the first [edit] link) will also disappear. | ||
</ | |||
< | |||
==Rationale== | |||
== | |||
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 and categories. | |||
}} | }} | ||
</noinclude><includeonly>{{#if:{{{content|}}}| | </noinclude><includeonly>{{#if:{{{content|}}}| | ||
}}</includeonly> | }}</includeonly> |