Changes
m
155 revisions from meta:Template:Documentation: original version
<!-- Automatically add {{div class="template sandbox notice}} when on a /sandbox page.-documentation" style="margin-top:1em;">{{#ifeqif: {{SUBPAGENAME{heading|defaultnotblank}}} | sandbox| <div style="clearpadding-bottom:3px; border-bottom:1px solid #aaa; margin-bottom: both1ex;"></divspan class="editsection plainlinks" id="doc_editlinks">[[{{fullurl:{{{1|{{template sandbox noticeSUBJECTPAGENAME}}/doc}}<!-- Automatically add {{pp-template}} to protected templates.-->{{template other| action=edit{{#ifeqifexist: {{PROTECTIONLEVEL:move}} | sysop {1| {{pp-templateSUBJECTSPACE}} | {{#if: {{PROTECTIONLEVEL:editSUBJECTPAGENAME}}/doc} | {{pp-template}} | <!--Not protected, or only semi-move-protected--> |&preload=Template:Documentation/preload}} }}edit]]</span>}}<!-- Start of green doc box.-span style="font-size:150%">{{documentation/core2| heading = {{{heading|¬Documentation}}} <!--Empty but defined means no header--/span></div>}}<div id="template_doc_page_transcluded" class="dablink plainlinks">This [[w:Wikipedia:Template documentation| heading-style = documentation]] is [[w:Wikipedia:Transclusion|transcluded]] from [[{{{heading-style1|{{FULLPAGENAME}}/doc}}}| content = ]]. <small>''([[{{{content1|{{SUBJECTPAGENAME}}/doc}}}|view]] | link box = [{{fullurl:{{{link box1|{{SUBJECTPAGENAME}}} <!--So "link box=off" works--> <!--Some namespaces must have the /doc, /sandbox and /testcases in talk space-->}}}| docspace action= edit{{#switchifexist: {{{1|{{SUBJECTSPACE}} | :{{ns:0SUBJECTPAGENAME}}/doc}}} | {{ns|&preload=Template:FileDocumentation/preload}} | {{ns:MediaWiki}} edit] | [{{nsfullurl:Category}} = {{TALKSPACE}} {1| #default = {{SUBJECTSPACESUBJECTPAGENAME}}/doc} }} | 1 action= {{{1|history}}} history])''<!--Other docname, if fed--/small> <!--The namespace is added in /core2--div>| template page = {{#switch: {{SUBPAGENAME}} | sandbox {1| testcases = {{BASEPAGENAMESUBJECTPAGENAME}} | #default = {{PAGENAME}/doc} }} }}<!--End of green doc box--><noincludediv style="clear:both;" /> <!-- Add categories and interwikis to the /doc subpage, not here! --div></noincludediv>