Changes

Jump to: navigation, search

Template:Documentation

564 bytes removed, 13:19, 29 September 2013
m
3 revisions: Asbox
<!-- Automatically add {{template sandbox notice}} when on a /sandbox page.-->{{#ifeq:{{NAMESPACESUBPAGENAME}}|sandbox| <div style="clear: both;"></div>{{template sandbox notice|{{{livepage|}}}}}}}<!-- Automatically add {{ns:pp-template}}to protected templates.-->{{template other|{{#ifeq:{{ROOTPAGENAMEPROTECTIONLEVEL:move}}|Editnoticessysop |{{pp-template|docusage=yes}} | {{#if: {{PROTECTIONLEVEL:edit}} | {{pp-template|demoleveldocusage=sysopyes}} | <!--Not protected, or only semi-move-protected--> }} }}}}<div class!-- Start of green doc box.-->{{documentation/start box2| preload ="template{{{preload|}}} <!--Allow custom preloads--documentation">| heading = {{{heading|¬}}} <!--Empty but defined means no header-->| heading-style = {{{heading-style|}}}| content = {{{content|}}}
These are <!--Some namespaces must have the literal class definitions in common.css: /* For template documentation *doc, /sandbox and /testcases .template in talk space-documentation { clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 1em;>| docspace = {{documentation/docspace}}
-->{{#ifeq:{{{heading|μ}}}|<!--**DEFINED BUT EMPTY**--> |<!--**NOTHING**--> |<div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq:{{{content|μ}}}|μ |<span class="editsection plainlinks" id1 ="doc_editlinks">{{#ifexist: {{{1|{{Documentation/docname}}}}} |<!--** /doc EXISTS** -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]] [{{purge|purge}}] |<!--**/doc DOESN'T EXIST**-->[[{{fullurl:{{{1|{{Documentation/Other docname }}}}}|action=edit&preload=Template:Documentation/preload}} create]] }}</span> }} <span style="{{#, if:{{{heading-style|}}}|{{{heading-style}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|fontfed-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"><!-- The namespace is added in /start box2-->{{#ifexist: {{{1|{{Documentation/docname}}}}} |<!--**/doc EXISTS**-->This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{1|{{Documentation/docname}}}}}]]. <small styletemplate page ="font-style: normal">([{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit] &#124; [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} history])</small><br documentation/> template page}}<!--
}}<!-- Start content -->{{#switch: {{SUBPAGENAME}} |sandbox|testcases=<!--**DO NOT SHOW THESE LINKS ON THE SANDBOX Start load the /TESTCASES PAGES**doc content: Note: The line breaks between this comment and the next line are necessary so "=== Headings ===" at the start and end of docs are interpreted.--> |#default= {{#switch: {{SUBJECTSPACE}} |#if:{{{ns:templatecontent|}}} |{{ns:user1|0}}= {{#ifexistif: {{FULLPAGENAME{1|}}}/sandbox |This template has a [[/sandbox1|sandbox]] <small style="font-style: normal">([0}}{{fullurl#ifexist:{{ #rel2abs: /sandbox {1|}}}|action=edit1|0}} edit])</small> <!-- -->{{#ifexist: {{FULLPAGENAMEdocumentation/docspace}}:{{documentation/template page}}/testcasesdoc|1|0}} |and [[/testcases1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 |testcases]] <small style1111 ="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}content|action=edit}} edit])</small>}} for editors to experiment. |0110 | 0111 = {{{#ifexist: {{FULLPAGENAME1}}} }}/testcases |This template has [[/testcases0001 |testcases]] <small style0011 ="font-style: normal">([{{fullurl:{{ #rel2abs: documentation/testcases docspace}}|action=edit:{{documentation/template page}} edit])</small> for editors to experiment.doc }} }}}}| 0000 | 0100 | 0010 | 0101 = }} <!-- End load the /divdoc content: Note: The line breaks between this comment and the previous line are necessary so "=== Headings ===" at the start and end of docs are interpreted.-->{{#if:documentation/end box2| preload = {{{contentpreload|}}} <!--Allow custom preloads-->|content = {{{content|}}}|link box = {{#ifexist:{{{1link box|}}} <!--So "link box=off" works--> <!--Some namespaces must have the /doc, /sandbox and /testcases in talk space-->|docspace = {{Documentationdocumentation/docname}}}docspace}}  | {{ 1 = {{{1|{{Documentation/docname}}}}} }} }}}} <div style="clear: both;"!--Other docname, if fed--> <!--The namespace is added in /divend box2-->| template page = {{documentation/template page}} }}</div!-- End of green doc box--><noinclude>
{{pp-template|small=yes}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Navigation menu