|
|
(4 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| <div class="template-documentation"><!-- | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|doc |
| | |<!-- Subpage header --><!-- |
|
| |
|
| These are the literal class definitions in common.css:
| | --><table style="border:1px solid #aaa;background-color:#F9F9F9;color: black;width:80%;margin:0 auto 1em auto;padding:.2em;"><tr> |
|
| | <td>[[File:Information.png|50px|Documentation]]</td> |
| /* For template documentation */
| | <td>'''This is a [[wikipedia:Wikipedia:Template documentation|documentation]] [[wikipedia:Wikipedia:Subpages|subpage]] for [[{{NAMESPACE}}:{{BASEPAGENAME}}]]''' <span style="font-size:85%">(see that page for the template itself)</span>.<br />It contains usage information, [[wikipedia:Wikipedia:Categorization|categories]] and other content that is not part of the original template page.</td> |
| .template-documentation {
| | </tr></table> |
| clear: both;
| | |<!-- Template header --><!-- |
| margin: 1em 0 0 0;
| |
| border: 1px solid #aaa;
| |
| background-color: #ecfcf4;
| |
| padding: 5px;
| |
| } | |
|
| |
|
| | --><div style="clear:both; margin:1em 0 0 0; padding:5px 15px 5px 15px; border:1px solid #aaa; background-color:#fafafa; color:black"> |
|
| |
|
| -->{{#ifeq:{{{heading|μ}}}|<!--**DEFINED BUT EMPTY**-->
| | <div style="padding-bottom:1px; border-bottom:1px solid #aaa; margin-bottom:1px"> |
| |<!--**NOTHING**-->
| | <span class="editsection plainlinks" id="doc_editlinks">{{#ifeq:{{NAMESPACE}}|Template|<small>[[{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit]] [[{{fullurl:{{FULLPAGENAME}}/doc|action=history}} history]] [[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]]</small>}}</span> |
| |<div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq:{{{content|μ}}}|μ
| | <span style="font-weight:bold; font-size:125%">[[File:Information.png|20px|Documentation]] Template documentation</span> |
| |<span class="editsection plainlinks" id="doc_editlinks">{{#ifexist: {{{1|{{Documentation/docname}}}}}
| | </div>{{#ifeq:{{NAMESPACE}}|Template|<span style="font-size:85%">This [[wikipedia:Wikipedia:Template documentation|documentation]] is [[wikipedia:Wikipedia:Transclusion|transcluded]] from [[{{FULLPAGENAME}}/doc]].</span>}}<br /> |
| |<!--** /doc EXISTS** -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]]
| |
| |<!--**/doc DOESN'T EXIST**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit&preload=Template:Documentation/preload}} create]]
| |
| }}</span>
| |
| }} <span style="{{#if:{{{heading-style|}}}|{{{heading-style}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|font-weight: bold; font-size: 125%|font-size: 150%}}}}">{{#if:{{{heading|}}}|{{{heading}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|[[Image:Template-info.svg|50px]] Template documentation|Documentation}}}}</span></div>
| |
| }}<!--
| |
|
| |
|
| --><div id="template_doc_page_transcluded" class="dablink plainlinks"><!--
| | <div style="clear:both; margin-bottom:25px"></div><!-- The main DIV tag is intentionally left unclosed - for obvious reasons --> |
| -->{{#ifexist: {{{1|{{Documentation/docname}}}}}
| | }}</includeonly><noinclude>{{/doc}} |
| |<!--**/doc EXISTS**-->This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{1|{{Documentation/docname}}}}}]]. <small style="font-style: normal">([{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit] | [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} history])</small><br />
| | [[Category:Meta Templates|Documentation]]</noinclude> |
| }}<!--
| |
| | |
| -->{{#switch: {{SUBPAGENAME}}
| |
| |sandbox|testcases=<!--**DO NOT SHOW THESE LINKS ON THE SANDBOX/TESTCASES PAGES**-->
| |
| |#default=
| |
| {{#switch: {{SUBJECTSPACE}}
| |
| |{{ns:template}}
| |
| |{{ns:user}}=
| |
| {{#ifexist: {{FULLPAGENAME}}/sandbox
| |
| |This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> <!--
| |
| -->{{#ifexist: {{FULLPAGENAME}}/testcases
| |
| |and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small>}} for editors to experiment.
| |
| |{{#ifexist: {{FULLPAGENAME}}/testcases
| |
| |This template has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small> for editors to experiment.}}
| |
| }}}}}}
| |
| </div>
| |
| {{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}}
| |
| <div style="clear: both;"></div>
| |
| </div><noinclude>
| |
| | |
| {{pp-template|small=yes}}
| |
| <!-- Add categories and interwikis to the /doc subpage, not here! -->
| |
| </noinclude> | |