Changes

Jump to: navigation, search

Template:Documentation

615 bytes added, 20:46, 18 February 2020
no edit summary
<includeonly!-- Automatically add {{template sandbox notice}} when on a /sandbox page.-->{{#ifeq:{{SUBPAGENAME}}|sandbox| <div style="clear: both;"></div>{{template sandbox notice|{{{livepage|}}}}}}}<!-- Automatically add {{pp-template}} to protected templates.-->{{template other| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop | {{pp-template|docusage=yes}} | {{#if: {{PROTECTIONLEVEL:edit}} | {{pp-template|docusage=yes}} | <!--Not protected, or only semi-move-protected--> }} }}}}<!-- Start of green docbox.-->{{documentation/start box2|preload = {{{preload|}}} <!-- Subpage header Allow custom preloads-->| heading = {{{heading|¬}}} <!--Empty but defined means no header-->| heading-style = {{{heading-style|}}}| content = {{{content|}}}
--><table style="border:1px solid #aaa;background!-color:#F9F9F9;color: black;width:80%;margin:0 auto 1em auto;padding:.2em;"><tr><td>[[File:Information.png|50px|Documentation]]</td><td>'''This is a [[wikipedia:Wikipedia:Template documentation|documentation]] [[wikipedia:Wikipedia:Subpages|subpage]] for [[{{NAMESPACE}}:{{BASEPAGENAME}}]]''' <span style="font-size:85%">(see that page for Some namespaces must have the template itself)</span>.<br doc, />It contains usage information, [[wikipedia:Wikipedia:Categorization|categories]] sandbox and other content that is not part of the original template page.</td>testcases </tr></table in talk space-->|<!-- Template header --><!--docspace = {{documentation/docspace}}
| 1 = {{{1|}}} <!--><div style="clear:both; margin:1em 0 0 0; padding:5px 15px 5px 15px; border:1px solid #aaa; backgroundOther docname, if fed--color:#fafafa; color:black">
<div style="padding!-bottom:1px; border-bottom:1px solid #aaa; margin-bottom:1px"><span class="editsection plainlinks" id="doc_editlinks">{{#ifeq:{{NAMESPACE}}|Template|<small>[[{{fullurl:{{FULLPAGENAME}}The namespace is added in /doc|action=edit}} edit]] [[{{fullurl:{{FULLPAGENAME}}/doc|action=history}} history]] [[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]]</small>}}</span> <span style="fontstart box2-weight:bold; font-size:125%">[[File:Information.png|20px|Documentation]] Template documentation</span></div>{{#ifeq:{{NAMESPACE}}|Template|<span styletemplate page ="font-size:85%">This [[wikipedia:Wikipedia:Template documentation|documentation]] is [[wikipedia:Wikipedia:Transclusion|transcluded]] from [[{{FULLPAGENAME}}documentation/doc]].</span>template page}}<br />
}}<div style!-- Start content --><!-- Start load the /doc content: Note: The line breaks between this comment and the next line are necessary so "=== Headings ==="clearat the start and end of docs are interpreted.-->{{#switch:both; margin{{#if:{{{content|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{documentation/docspace}}:{{documentation/template page}}/doc|1|0}}| 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = {{{content|}}}| 0110 | 0111 = {{ {{{1}}} }}| 0001 | 0011 = {{ {{documentation/docspace}}:{{documentation/template page}}/doc }}| 0000 | 0100 | 0010 | 0101 = }}<!-bottom- End load the /doc content:25px Note: The line breaks between this comment and the previous line are necessary so "=== Headings ===" at the start and end of docs are interpreted.--><{{documentation/divend box2| preload = {{{preload|}}} <!--Allow custom preloads-->| content = {{{content|}}}| link box = {{{link box|}}} <!-- The main DIV tag is intentionally left unclosed So "link box=off" works- for obvious reasons -> <!--Some namespaces must have the /doc, /sandbox and /testcases in talk space-->| docspace = {{documentation/docspace}} | 1 = {{{1|}}} </includeonly!--Other docname, if fed--> <noinclude!--The namespace is added in /end box2-->| template page = {{documentation/template page}}[[Category:Meta Templates|Documentation]]}}<!-- End of green doc box--><noinclude> <!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>



Navigation menu