Logo Patagonia.png

Diferencia entre revisiones de «Plantilla:Documentation/start box»

De Wikiexplora
Saltar a: navegación, buscar
m (Texto reemplazado: «Image:» por «File:»)
m (Texto reemplazado: « » por « »)
Línea 1: Línea 1:
 
<!--
 
<!--
  Start of green doc box
+
Start of green doc box
 
--><div id="template-documentation" class="template-documentation iezoomfix"><!--
 
--><div id="template-documentation" class="template-documentation iezoomfix"><!--
  Add the heading at the top of the doc box:
+
Add the heading at the top of the doc box:
 
-->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty-->
 
-->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty-->
 
| <!--"heading=", do nothing-->
 
| <!--"heading=", do nothing-->
 
| <div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;">{{
 
| <div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;">{{
  #if: {{{content|}}}
+
#if: {{{content|}}}
  |  
+
|  
  | <!--Add the [edit][purge] or [create] links-->
+
| <!--Add the [edit][purge] or [create] links-->
    <span class="editsection plainlinks" id="doc_editlinks">{{
+
  <span class="editsection plainlinks" id="doc_editlinks">{{
    #if: {{{doc exist|yes}}}
+
  #if: {{{doc exist|yes}}}
    | [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [{{purge|purge}}]  
+
  | [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [{{purge|purge}}]  
    | <!--/doc doesn't exist-->
+
  | <!--/doc doesn't exist-->
      [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload={{
+
  [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload={{
        #if: {{{preload|}}}  
+
    #if: {{{preload|}}}  
        | {{urlencode:{{{preload}}}}}
+
    | {{urlencode:{{{preload}}}}}
        | {{#ifeq: {{SUBJECTSPACE}} | {{ns:File}}
+
    | {{#ifeq: {{SUBJECTSPACE}} | {{ns:File}}
          | Template:Documentation/preload-filespace
+
    | Template:Documentation/preload-filespace
          | Template:Documentation/preload
+
    | Template:Documentation/preload
          }} }} }} create]]
+
    }} }} }} create]]
    }}</span>
+
  }}</span>
  }} <span style="{{#if: {{{heading-style|}}}
+
}} <span style="{{#if: {{{heading-style|}}}
  | {{{heading-style|}}}
+
| {{{heading-style|}}}
  | {{#ifeq: {{SUBJECTSPACE}} | {{ns:Template}}
+
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:Template}}
    | font-weight: bold; font-size: 125%
+
  | font-weight: bold; font-size: 125%
    | font-size: 150%
+
  | font-size: 150%
    }}
+
  }}
  }}">{{#switch: {{{heading|¬}}}
+
}}">{{#switch: {{{heading|¬}}}
  | ¬ =   
+
| ¬ =
    <!--"heading" not defined in this or previous level-->
+
   <!--"heading" not defined in this or previous level-->
    {{#switch: {{SUBJECTSPACE}}  
+
  {{#switch: {{SUBJECTSPACE}}  
    | {{ns:Template}} = [[File:Template-info.svg|50px|alt=]] Template documentation
+
  | {{ns:Template}} = [[File:Template-info.svg|50px|alt=]] Template documentation
    | {{ns:File}} = Summary
+
  | {{ns:File}} = Summary
    | #default = Documentation
+
  | #default = Documentation
    }}
+
  }}
  | #default =  
+
| #default =  
    <!--"heading" has data or is empty but defined-->
+
  <!--"heading" has data or is empty but defined-->
    {{{heading|}}}
+
  {{{heading|}}}
  }}</span></div>
+
}}</span></div>
 
}}<noinclude><!-- close the div --></div>
 
}}<noinclude><!-- close the div --></div>
  

Revisión del 12:55 11 nov 2016

[edit] [purge] 50px Template documentation