Changes

Jump to: navigation, search

Template:Documentation

839 bytes removed, 09:24, 23 June 2008
w:refactoring using <!-- --> to make K&R style viable, while no extra whitespace rendered in document
<div class="template-documentation" style="margin-top:1em;"><!-- -->{{#ifeqif:{{{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|{{Documentation/docnameSUBJECTPAGENAME}}/doc}}}|action=edit}} edit]] |<!--**/doc DOESN'T EXIST** -->[[action=edit{{fullurl#ifexist:{{{1|{{Documentation/docname SUBJECTSPACE}}:{{SUBJECTPAGENAME}}/doc}}}|action=edit<!-- nothing -->|<!--else--><!-- -->&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|{{Documentation/docnameFULLPAGENAME}}/doc}}}]]. '' <small style="font-style: normal">([{{fullurl:[{{{1|{{Documentation/docnameSUBJECTPAGENAME}}/doc}}}|action=edit}} editview]] &#124; | [{{fullurl:{{{1|{{Documentation/docnameSUBJECTPAGENAME}}/doc}}}|action=history}} history])</small><br /> }}<!--  -->edit{{#switchifexist: {{SUBPAGENAME}} |sandbox|testcases=<!--**DO NOT SHOW THESE LINKS ON THE SANDBOX/TESTCASES PAGES**--> {1|#default= {{#switchSUBJECTSPACE}}: {{SUBJECTSPACESUBJECTPAGENAME}}/doc} |{{ns:template}} |{{ns|&preload=Template:userDocumentation/preload}}= {{#ifexist: {{FULLPAGENAME}}/sandbox |This template has a [[/sandboxedit] |sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: {1|{{SUBJECTPAGENAME}}/sandbox doc}}}|action=edithistory}} edithistory])</small> <!-- -->{{#ifexist: {{FULLPAGENAME#rel2abs: /sandbox }}/testcases |and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl#ifexist:{{ #rel2abs: /testcases }}|action=edit}} edit])</smallbr>}} for editors to experiment. |{{#ifexist: ''This template has a [[{{FULLPAGENAME}}/testcases sandbox|This template has [[/testcases|testcasessandbox]] '' <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases FULLPAGENAME}}/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|}}}1|{{{content}SUBJECTPAGENAME}}|{{#ifexist:{{{1|{{Documentation/docnamedoc}}}}} | {{ {{{1|{{Documentation<div style="clear:both;" /></docname}}}}} }} }}}}div></div>
Anonymous user

Navigation menu