Changes

Jump to: navigation, search

Template:Documentation

818 bytes removed, 13:14, 15 April 2008
complete rewrite, removing most optional parameters (I've checked every transclusion: they're all unused) and incorporating code from Template:Documentation, template, which can now be redirected
<noinclude>{{#ifeq: {{SUBPAGENAME}} | sandbox | {{Template sandbox notice}}}}</noinclude><div class="template-documentation"><!-- -->{{ #ififeq: {{{heading|Documentationμ}}}|<!--**DEFINED BUT EMPTY**--> |<!--**NOTHING**--> |<div style="padding-bottom: {{{heading-padding|3px}}}; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq: {{{heading-margincontent|1exμ}}}"> |<span class="editsection plainlinks" id="doc_editlinks">{{ #ifexist: {{{1|{{Documentation/docname}}}}} |<!-- ** /doc exists EXISTS** -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]] |<!-- no **/doc -->{{ #if: {{{content|}}} | |<!-- no content DOESN'T EXIST**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit&preload={{{preload-doc|Template:Documentation/preload}}}}} create]] }}</span> }}</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> }}<!-- endif heading   --><div id="template_doc_page_transcluded" class="dablink plainlinks">{{ #ifeq: {{{transcluded|show}}} | show |<!-- transcluded show -->{{ #ifexist: {{{1|{{Documentation/docname}}}}} |<!-- **/doc exists 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] &#124; [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} history])</small><br /> }} |<!-- transcluded hide   -->}}{{ #switch: {{SUBPAGENAME}} |sandbox=<!-- sandbox --> |testcases=<!-- testcases **DO NOT SHOW THESE LINKS ON THE SANDBOX/TESTCASES PAGES**--> |#default= {{ #switch: {{SUBJECTSPACE}}/{{{sandbox-testcases|show}}} | {{ns:template}}/show | {{ns:user}}/show =<!-- show /sandbox /testcases --> {{ #ifexist: {{ #rel2abs: FULLPAGENAME}}/sandbox }} | This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> {{ #ifexist: {{ #rel2abs: FULLPAGENAME}}/testcases }} |<!-- /sandbox AND /testcases --> and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small> |<!-- /sandbox BUT no /testcases -->}} for editors to experiment. |<!-- no /sandbox -->{{ #ifexist: {{ #rel2abs: FULLPAGENAME}}/testcases }} | This template has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small> for editors to experiment. }} }} |<!-- hide /sandbox /testcases --> }}}} </div>{{{content|{{ {{ #ifexistif: {{{1content|{{Documentation/docname}}}}} | {{{1|{{Documentation/docname}}content}}} | ns:0 }} }}}}}</div><span style="display:none">{{#ififexist:{{{heading|}}}|[[Template:Documentation/exists/heading]]}}{{#if:{{{heading-padding|}}}1|[[Template:Documentation/exists/heading-padding]]}}{{#if:{{{heading-margin|}}}|[[Template:Documentation/exists/heading-margin]]docname}}{{#if:{{{content|}}}|[[Template:Documentation/exists/content]]}}{{#if:{{{preload-doc1|}}}|[[Template:Documentation/exists/preload-doc]]}}{{#if:{{{heading-style|}}}|[[Template:Documentation/exists/heading-style]]docname}}{{#if:{{{transcluded|}}}|[[Template:Documentation/exists/transcluded]]}}{{#if:{{{sandbox-testcases|}}}|[[Template:Documentation/exists/sandbox-testcases]]}}</spandiv>
Anonymous user

Navigation menu