Diferencia entre revisiones de «Plantilla:Deprecated template»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
m (allow to disable cat in template lists)
m (133 revisiones importadas)
 
(No se muestran 102 ediciones intermedias de 38 usuarios)
Línea 1: Línea 1:
{| class="messagebox" id="tdeprecated"
+
{{Ombox
| rowspan="2" | [[Image:Red-x.gif|deprecated template]]
+
| demospace = {{{demospace|}}}
! Template&#160;<includeonly>{{{category|[[Category:Deprecated templates|{{PAGENAME}}]]}}}{{PAGENAME}}</includeonly><noinclude>{&#123;PAGENAME&#125;}</noinclude> has been deprecated.
+
| type      = style
|-
+
| image    = [[File:Imbox content.png|40px|alt=|link=]]
| align="center" | Please use {{{use|'''{{Tlx|{{{1|x1}}}}}'''}}} instead.
+
| text      = [[{{{old|Template:{{{1|{{PAGENAME}}}}}}}}]] is [[deprecation|deprecated]]{{#if:{{{by|}}}|&#32;by {{{by}}}}}.{{#if:{{{new|{{{2<includeonly>|</includeonly>}}}}}}
|}<noinclude>
+
  | &#32;Please use [[{{{new|Template:{{{2}}}}}}{{#if:{{{3|}}}
----
+
    |<nowiki>|</nowiki>{{{3}}}
;'''Usage&#58;'''
+
    }}]] instead.
:<code>&lt;noinclude&gt;</code> {{Tlx|{{PAGENAME}}|{{{1|x1}}}}} <code>&lt;/noinclude&gt;</code>
+
}} {{{note|}}}
:<code>&lt;noinclude&gt;</code> {{Tlx|{{PAGENAME}}|use&#61;unlinked message}} <code>&lt;/noinclude&gt;</code>
+
}}{{#ifeq:{{{nocat|}}}|true
{{PAGENAME}} adds a template to [[:Category:Deprecated templates]] showing a warning.
+
  ||{{#ifeq:{{ARTICLESPACE}}|Template
<div align="right">{{Lts/|{{PAGENAME}}}}</div>
+
      |{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}<!--Don't categorise subpages, like /doc, /sandbox or /testcasespages -->
 
+
        |{{#ifeq:{{PAGENAME}}|{{ucfirst:{{{1}}}}}<!-- only for the deprecated template itself -->
[[Category:Template templates|{{PAGENAME}}]]
+
            |{{Dated maintenance category|Deprecated templates|from|{{{date|}}}}}
[[Category:Redirect templates|{{PAGENAME}}]]
+
          }}
 +
        }}
 +
      |{{#ifeq:{{{old|}}}|{{FULLPAGENAME}}||[[Category:Pages using deprecated templates]]}}
 +
    }}
 +
  }}<noinclude>
 +
{{Documentation}}
 +
<!-- Add categories to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revisión actual del 15:06 31 may 2016

50px Template documentation[create]