Changes

Jump to: navigation, search

Template:Documentation

1,083 bytes removed, 23:03, 5 February 2010
Now uses /core. Doc links now in a box below the main doc box. Link /sandbox and /testcases also when they don't exist, with (create) links with preload. See talkpage, section "Documentation/links".
}}<!--
Start of green doc box.
--><div class="template-documentation"><!-- These are the literal class definitions in MediaWiki:Common.css: /* For template {{documentation */core.template-documentation { clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 1em;}  -->{{#ifeq:| heading = {{{heading|μ¬}}}| <!--**DEFINED BUT EMPTY**Empty but defined means no header--> |<!--**NOTHING**-heading-> |<div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq:{{{contentheading-style|μ}}} |<span classcontent ="editsection plainlinks" id="doc_editlinks">{{#ifexist: {{{1content|{{Documentation/docname}}}}} |<!--** /doc EXISTS** docpage = -->[[{{fullurl#if:{{{1|{{Documentation/docname}}}}} |action=edit}} edit]] [{{purge{1|purge}}] } |<!--**/doc DOESN'T EXIST**-->[[{{fullurl#switch:{{{1SUBPAGENAME}} | sandbox |testcases = {{Documentation#rel2abs: ../docname }}}doc }} |action#default =edit&preload=Template:Documentation/preload{{SUBJECTPAGENAME}} create]]/doc }}</span> }} <span style| doc exist =" {{#ifexist: {{#if:{{{heading-style1|}}} |{{{heading-style1|}}} |{{#ifeqswitch:{{NAMESPACESUBPAGENAME}} |{{ns:template}}sandbox |font-weight: bold; font-size: 125%|font-size: 150%}}}}">testcases = {{#ifrel2abs:{{{heading|}../doc }} |#default = {{{headingSUBJECTPAGENAME}}/doc }|{{#ifeq:{{NAMESPACE}}|{{ns:template }} |[[Image:Template-info.svg|50px]] Template documentation|Documentation}}}}</span></div>yes }}<!--  --><div id="template_doc_page_transcluded" class| sandbox ="dablink plainlinks"><!-- -->{{#ifexistswitch: {{{1|{{Documentation/docname}}}SUBPAGENAME}} |<!--**/doc EXISTS**-->This [[Wikipedia:Template documentationsandbox |documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{1|{{Documentation/docname}}}}}]]. <small styletestcases ="font-style: normal">([{{fullurl#rel2abs:{{{1|{{Documentation../docname}}}sandbox }} |action#default =edit}} edit] &#124; [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=historyFULLPAGENAME}} history])</small><br />sandbox }}{{Documentation/links}}<!-- Add links to /sandbox and /| testcases when appropriate --> </div>= {{#ifswitch:{{{content|}SUBPAGENAME}} |{{{content}}}sandbox |testcases = {{#ifexistrel2abs:{{{1|{{Documentation../docname}}}testcases }} | #default = {{ {{{1|{{Documentation/docnameFULLPAGENAME}}/testcases }}} }} }}}}<div style="clear: both;"></div></div><!--End of green doc box--><noinclude>
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
Anonymous user

Navigation menu