Changes

Jump to: navigation, search

Template:Documentation

866 bytes added, 16:25, 3 July 2008
m
doc common.css params in the lead in-line comment
<div class="template-documentation" style="><!-- These are the literal class definitions in common.css: /* For template documentation */.template-documentation { clear: both; margin-top:1em0 0 0; border: 1px solid #aaa;"><!- background-color: #ecfcf4; padding: 5px;}   -->{{#ififeq:{{{heading|defaultnotblankμ}}}|<!--**DEFINED BUT EMPTY**--> |<!--**NOTHING**--> |<div style="padding-bottom:3px; border-bottom:1px solid #aaa; margin-bottom:1ex;"><!--{{#ifeq:{{{content|μ}}}|μ -->|<span class="editsection plainlinks" id="doc_editlinks">{{#ifexist: {{{1|{{Documentation/docname}}}}} |<!--** /doc EXISTS** -->[[{{fullurl:{{{1|{{SUBJECTPAGENAMEDocumentation/docname}}}}/doc}|action=edit}}edit]] |<!-- **/doc DOESN'T EXIST**-->action=edit[[{{#ifexistfullurl: {{{1|{{SUBJECTSPACEDocumentation/docname }}:{{SUBJECTPAGENAME}}/doc}}} |<!-- nothing -->|<!--else--><!-- -->action=edit&preload=Template:Documentation/preload<!-- -->}}<!--create]] -->}} edit]]</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">''<!-- -->{{#ifexist: {{{1|{{Documentation/docname}}}}} |<!--**/doc EXISTS**-->This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{1|{{FULLPAGENAMEDocumentation/docname}}/doc}}}]].'' <smallstyle="font-style: normal">(<!-- -->[[{{fullurl:{{{1|{{SUBJECTPAGENAMEDocumentation/docname}}/doc}}}|viewaction=edit}} edit]] | <!-- -->&#124; [{{fullurl:{{{1|{{SUBJECTPAGENAMEDocumentation/docname}}/doc}}}|action=history}} history])</small><br /> }}<!-- -->action{{#switch: {{SUBPAGENAME}} |sandbox|testcases=edit<!-- **DO NOT SHOW THESE LINKS ON THE SANDBOX/TESTCASES PAGES**--> |#default= {{#ifexistswitch: {{SUBJECTSPACE}} |{{1ns:template}} |{{SUBJECTSPACEns:user}}= {{#ifexist:{{SUBJECTPAGENAMEFULLPAGENAME}}/doc}}} |<!-- nothingsandbox --> |<!--else--><!-- -->&preload=Template:DocumentationThis template has a [[/preload<!-- -->}}<!-- -->}} editsandbox|sandbox]] | <!-- -small style="font-style: normal">([{{fullurl:{{{1|{{SUBJECTPAGENAME}}#rel2abs: /doc}sandbox }}|action=historyedit}} historyedit])</small> <!-- -->)</small> {{#ifexist: {{#rel2abs: /sandbox FULLPAGENAME}} /testcases |and [[/testcases| testcases]] <!-- -small style="font-style: normal">([{{#ifexistfullurl: {{#rel2abs: /testcases}} | action=edit}} edit])<!--/small>}} for editors to experiment. |{{#ifexist: {{FULLPAGENAME}}/testcases --><br> '' |This template has a [[{{FULLPAGENAME}}/sandboxtestcases|sandboxtestcases]]'' <smallstyle="font-style: normal">([{{fullurl:{{FULLPAGENAME#rel2abs: /testcases }}/sandbox|action=edit}} edit])</small> ''and [[{{FULLPAGENAME}}/testcases|testcases]] for editors to experiment.''<!--}} --> }}}}}} <!-- else don't show when just 1 of /sandbox or /testcases exists --div><!---->{{#if:{{{content|}}}|{{{content}}} <|{{#ifexist:{{{1|{{Documentation/div>docname}}}}} | {{<!-- -->{{{1|{{SUBJECTPAGENAMEDocumentation/docname}}}}}}/doc}}}<!-- -->}} <div style="clear:both;" /></div></div>
Anonymous user

Navigation menu