Changes

Template:Documentation

974 bytes removed, 13:09, 10 February 2009
m
Avoid show link to non-existing article
<div class="template-documentation" style="margin-top:1em;"><!-- These are the literal class definitions in common.css: /* For template documentation */.template-documentation { clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 5px;}   -->{{#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 /> }}<!--  -->{{#switch: {{SUBPAGENAME}} |sandbox|testcasesaction=edit<!--**DO NOT SHOW THESE LINKS ON THE SANDBOX/TESTCASES PAGES** --> |#default= {{#switchifexist: {{{1|{{SUBJECTSPACE}} |:{{ns:templateSUBJECTPAGENAME}}/doc}}}|<!-- nothing -->|{{ns<!--else--><!-- -->&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> <!-- -->)</small>{{#ifexist: {{FULLPAGENAME#rel2abs: /sandbox }}/testcases |and [[/testcases|testcases]] <small style="font!-- --style: normal">([{{fullurl#ifexist:{{ #rel2abs: /testcases }}|action=edit}} edit])</small!-- --><br>}} 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|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docnameSUBJECTPAGENAME}}/doc}}} | {{ <!-- -->{{{1|{{Documentation/docnameSUBJECTPAGENAME}}/doc}}} <!-- -->}} |}}}}<div style="clear: both;"/></div></div><noinclude> {{pp-template|small=yes}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>
Anonymous user