|
|
(2 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| This subtemplate is inserted between the <nowiki><noinclude></noinclude></nowiki> tags on the template pages by using the code <code><nowiki>{{Documentation}}</nowiki></code>.
| | {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude> |
| | | <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> |
| Creates a documentation subpage on which custom template documentation is inserted.
| |
| | |
| <includeonly><div class="template-documentation" style="margin-top:1em;">{{#if: {{{heading|default-on}}}|<div style="padding-top:1ex; padding-bottom:3px; border-bottom:1px solid #aaa; margin-bottom:1ex;">
| |
| <span style="font-size: 150%">[[File:Infobox info icon.svg|50px]] {{{heading|Documentation}}}</span> <span class="editsection plainlinks" style="text-transform:lowercase;" id="doc_editlinks">{{#ifexist: {{{1|{{SUBJECTPAGENAME}}/documentation}}} |[[{{fullurl:{{{1|{{SUBJECTPAGENAME}}/documentation}}}|action=edit}} {{int:edit}}]] [[{{fullurl:{{{1|{{SUBJECTPAGENAME}}/documentation}}}|action=history}} {{int:history}}]] [[{{fullurl:{{{1|{{SUBJECTPAGENAME}}}}}|action=purge}} empty memory]] | [[{{fullurl:{{{1|{{SUBJECTPAGENAME}}/documentation}}}|action=edit&preload=Template:Documentation/preload}} {{int:edit}}]]}}</span></div>}}
| |
| {{#ifexist: {{{1|{{SUBJECTPAGENAME}}/documentation}}} |{{{{{1|{{SUBJECTPAGENAME}}/documentation}}}}}|}}
| |
| <br style="clear:both" /></div></includeonly><noinclude> | |
| {{Documentation}}
| |
| | |
| </noinclude> | | </noinclude> |