Template:Documentation subpage: Difference between revisions

Content deleted Content added
imported>Gurch
simplify formatting, and this - of all templates - might as well have documentation in a subpage if only to illustrate how the template is meant to work
Pgehres (WMF) (talk | contribs)
 
(79 intermediate revisions by 25 users not shown)
Line 1:
<includeonly>{{ #ifeq:{{SUBPAGENAME}}|{{ #ifeq: {{{1}}}|override|{{SUBPAGENAME}}|doc}}|</includeonly><!-- show on doc pages only
{| class="messagebox standard-talk"
--><div class="messagebox" style="text-align:center">
| style="vertical-align: top; padding: 1em" | [[Image:Edit-paste.svg|40px]]
This [[template:documentation|documentation subpage]] contains instructions, categories, or other information for [[w:Project:Transclusion costs and benefits|technical reasons]].<br /><small>To view the {{SUBJECTSPACE}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</small>
| This is the [[Wikipedia:Template doc page pattern|template documentation page]] {{{1|for [[{{NAMESPACE}}:{{BASEPAGENAME}}]].}}}
<includeonly/div>{{{category|[[Category:Template documentation|<noinclude> </noinclude><includeonly>{{PAGENAME}}]]</includeonly><noinclude>]]}}}
----
<includeonly>}}</includeonly><noinclude><!--
This page is not necessarily intended to be viewed directly. If it uses [[Help:Variable|variable]]s, some links may appear broken. Do not replace these variables with [[hardcoded]] page names or URLs.
---->
|}
{{documentation}}
--<!--
<includeonly>[[Category:Template documentation|{{PAGENAME}}]]</includeonly><noinclude>
--></noinclude>
{{{{FULLPAGENAME}}/doc}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>