| 
				   | 
				
| (не показана одна промежуточная версия 17 участников) | 
| Строка 1: | 
Строка 1: | 
| − | <noinclude>  | + | <!--  | 
| − | {{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}|{{pp-semi-template|small=yes}}}}
  | + |   Automatically add {{pp-template}} to protected templates.  | 
| − | {{intricate}}  | + | -->{{template other  | 
| − | </noinclude><div class="template-documentation" style="margin:0.5em;">
  | + | | {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop  | 
| − | {{#if: {{{heading|Documentation}}}  | + |   | {{pp-template}}  | 
| − |  |<!-- has heading --><div style="padding-bottom:{{{heading-padding|3px}}}; border-bottom:1px solid #aaa; margin-bottom:{{{heading-margin|1ex}}}"><span class="editsection plainlinks" id="doc_editlinks">{{#ifexist:{{{1|{{Documentation/docname}}}}}
  | + |   | {{#if: {{PROTECTIONLEVEL:edit}}  | 
| − |  |<!-- /doc exists -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}}} view]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]]
  | + |     | {{pp-template}}  | 
| − |  |<!-- no /doc -->{{#if:{{{content|}}}
  | + |     | <!--Not protected, or only semi-move-protected-->  | 
| − |  |<!-- has content -->
  | + |     }}  | 
| − |  |<!-- no content -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit&preload={{{preload-doc|Template:Documentation/preload}}}}} edit]]
  | + |   }}  | 
| − | }}}}</span> <span style="{{{heading-style|font-size: 150%}}}">{{{heading|Documentation}}}</span></div>
  | + | }}<!--  | 
| − |  |<!-- empty heading -->
  | + |   Start of green doc box.  | 
| − | }}<div id="template_doc_page_transcluded" class="dablink plainlinks">{{#ifeq:{{{transcluded|show}}}|show
  | + | -->{{documentation/core2  | 
| − |  |<!-- transcluded show -->{{#ifexist: {{{1|{{Documentation/docname}}}}}
  | + | | heading = {{{heading|¬}}}   <!--Empty but defined means no header-->  | 
| − |  |<!-- /doc exists -->This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{1|{{Documentation/docname}}}}}]]. <small style="font-style: normal">(<!--[[{{{1|{{Documentation/docname}}}}}|view]] | -->[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit] | [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} history])</small><br />
  | + | | heading-style = {{{heading-style|}}}  | 
| − |  |<!-- no /doc -->
  | + | | content = {{{content|}}}  | 
| − | }}
  | + | | link box = {{{link box|}}}   <!--So "link box=off" works-->  | 
| − |  |<!-- transcluded hide -->
  | + |    | 
| − | }}{{#switch:{{SUBPAGENAME}}
  | + | <!--Some namespaces must have the /doc in talk space-->  | 
| − |  |sandbox=<!-- sandbox -->
  | + | | docspace =  | 
| − |  |testcases=<!-- testcases -->
  | + |   {{#switch: {{SUBJECTSPACE}}  | 
| − |  |#default={{#switch:{{SUBJECTSPACE}}/{{{sandbox-testcases|show}}}
  | + |   | {{ns:0}}  | 
| − |  |{{ns:template}}/show|{{ns:user}}/show=<!-- show /sandbox /testcases -->{{#ifexist:{{#rel2abs:/sandbox}}
  | + |   | {{ns:File}}  | 
| − |  |<!-- /sandbox -->This template has a [[/sandbox|sandbox]] <small style="font-style:normal">([{{fullurl:{{#rel2abs:/sandbox}}|action=edit}} edit])</small> {{#ifexist:{{#rel2abs:/testcases}}
  | + |   | {{ns:MediaWiki}}  | 
| − |  |<!-- /sandbox AND /testcases -->and [[/testcases|testcases]] <small style="font-style:normal">([{{fullurl:{{#rel2abs:/testcases}}|action=edit}} edit])</small> for editors to experiment.
  | + |   | {{ns:Category}} = {{TALKSPACE}}  | 
| − |  |<!-- /sandbox AND no /testcases --> for editors to experiment.}}
  | + |   | #default = {{SUBJECTSPACE}}  | 
| − |  |<!-- no /sandbox -->{{#ifexist:{{ #rel2abs: /testcases }}
  | + |   }}  | 
| − |  |<!-- no /sandbox AND /testcases -->This template has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{#rel2abs: /testcases }}|action=edit}} edit])</small> for editors to experiment.
  | + |    | 
| − |  |<!-- no /sandbox AND  no /testcases -->}}}}
  | + | <!--For debug purposes-->  | 
| − |  |<!-- hide /sandbox /testcases -->}}
  | + | | not-docspace =  | 
| − | }}</div>
  | + |   {{#switch: {{SUBJECTSPACE}}  | 
| − | {{{content|{{ {{#ifexist:{{{1|{{Documentation/docname}}}}}|{{{1|{{Documentation/docname}}}}}|ns:0}} }}}}}
  | + |   | {{ns:0}}  | 
| − | </div>
  | + |   | {{ns:File}}  | 
|   | + |   | {{ns:MediaWiki}}  | 
|   | + |   | {{ns:Category}} = {{SUBJECTSPACE}}  | 
|   | + |   | #default = {{TALKSPACE}}  | 
|   | + |   }}  | 
|   | + |    | 
|   | + | | 1 = {{{1|}}}   <!--Other docname, if fed-->  | 
|   | + |    | 
|   | + | <!--The namespace is added in /core2-->  | 
|   | + | | template page =   | 
|   | + |   {{#switch: {{SUBPAGENAME}}  | 
|   | + |   | sandbox  | 
|   | + |   | testcases = {{BASEPAGENAME}}  | 
|   | + |   | #default = {{PAGENAME}}  | 
|   | + |   }}  | 
|   | + |    | 
|   | + | }}<!--End of green doc box--><noinclude>  | 
|   | + |    | 
|   | + | <!-- Add categories and interwikis to the /doc subpage, not here! -->  | 
|   | + | </noinclude>  |