Template:Documentation subpage: Difference between revisions

Content deleted Content added
imported>Patrick
better link for "technical reasons"
Pgehres (WMF) (talk | contribs)
 
(48 intermediate revisions by 18 users not shown)
Line 1:
<includeonly>{{ #ifeq:{{SUBPAGENAME}}|{{ #ifeq: {{{1}}}|override|{{SUBPAGENAME}}|doc}}|</includeonly><!-- show on doc pages only
{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{{override|doc}}}|
--><div class="messagebox" style="text-align:center">
<!-- on documentation subpages -->
<td>This is a [[template:documentation|documentation subpage]], wherecontains instructions, categories, or other information are stored for [[Templatew:Template_doc#AdvantagesProject:Transclusion costs and benefits|technical reasons]].<br /><small>To view the {{SUBJECTSPACE}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</tdsmall>
<table style="width:100%; border:1px solid #CCC;">
</div>{{{category|[[Category:Template documentation|<noinclude> </noinclude><includeonly>{{PAGENAME}}</includeonly>]]}}}
<tr style="vertical-align:top;">
<includeonly>}}</includeonly><noinclude><!--
<td style="width:30px;"> [[Image:Edit-paste.svg|30px]]</td>
-->
<td>This is a [[template:documentation|documentation subpage]], where instructions, categories, or other information are stored for [[Template:Template_doc#Advantages|technical reasons]]. To view the {{SUBJECTSPACE}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</td>
</tr>
</table>{{#if: {{{inhib|{{{inhibit|}}}}}} |<!-- skip -->|[[category:Documentation subpages<noinclude>| {{PAGENAME}}</noinclude>]]}}
|
<!-- on template pages -->
''This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from {{{2|[[{{FULLPAGENAME}}/doc]]}}}''.{{#ifexist: {{#rel2abs: /sandbox }}| {{#ifexist: {{#rel2abs: /testcases}}| <br>''This template has a [[/sandbox|sandbox]]'' <small>([{{fullurl:{{FULLPAGENAME}}/sandbox|action=edit}} edit])</small> ''and [[/testcases|testcases]]'' for editors to experiment.}}<!-- else don't show when just 1 of /sandbox or /testcases exists -->}}
}}<noinclude>
{{pp-semi-template|small=yes}}
{{documentation}}
<!--
<!-- Add categories and interwikis to the /doc subpage, not here! -->
--></noinclude>