Difference between revisions 2000762 and 2891689 on mediawikiwiki

<languages/>
<onlyinclude>{{#switch:<translate></translate>
| =
<!--
  Start of green doc box
--><div id="template-documentation" class="template-documentation iezoomfix" style="padding:1em;"><!--
  Add the heading at the top of the doc box:
-->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty-->
| <!--"heading=", do nothing-->
| <div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;"><span style="{{#if: {{{heading-style|}}}
  | {{{heading-style|}}}
  | {{#ifeq: {{SUBJECTSPACE}} | {{ns:Template}}
    | font-weight: bold; font-size: 125%
    | font-size: 150%
    }}
  }}">{{#switch: {{{heading|¬}}}
  | ¬ =   
    <!--"heading" not defined in this or previous level-->
    {{#switch: {{SUBJECTSPACE}} 
    | {{ns:Template}} = [[File:Template-info.png|50px|link=|alt=<translate>Documentation icon]] </translate>]] <translate>Template documentation</translate>
    | {{ns:Module}} = [[File:Template-info.png|50px|link=|alt=<translate>Documentation icon</translate>]] Module documentation
    | {{ns:File}} = Summary<translate>Summary</translate>
    | #default = <translate>Documentation</translate>
    }}
  | #default = 
    <!--"heading" has data or is empty but defined-->
    {{{heading|}}}
  }}</span>{{
  #if: {{{content|}}}
  | 
  | <!--Add the [view][edit][history][purge] or [create] links-->
    <span class="mw-editsection-like plainlinks" id="doc_editlinks">{{
    #if: {{{doc exist|yes}}}
    | &#91;[[{{{docpage|{{FULLPAGENAME}}/doc}}}|view<translate>view</translate>]]&#93; [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit<translate>edit</translate>]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history]] [{{ {{TNTN|purge}} |purge<translate>history</translate>]] [{{ {{TNTN|purge}} |<translate>purge</translate>}}] 
    | <!--/doc doesn't exist-->
      [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload={{
        #if: {{{preload|}}} 
        | {{urlencode:{{{preload}}}}}
        | {{#ifeq: {{SUBJECTSPACE}} | {{ns:File}}
          | {{TNTN|Template:Documentation/preload-filespace}}
          | {{TNTN|Template:Documentation/preload}}
          }} }} }} create<translate>create</translate>]]
    }}</span>
  }}</div>
}}<noinclude><!-- close the div --></div>
{{languages|| #default=
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Documentation/start_  box}}|noshift=1}}
}}</onlyinclude><!-- close the div --></div>
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>