Diferencia entre revisiones de «Plantilla:Deprecated template»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
(Update to {{mbox}}, thus now adapts its looks depending on page type. Changed from the CSS hack "display:none;" to using proper "#if:" logic instead. And fixed a lot more. Tested in the /sandbox.)
m (133 revisiones importadas)
 
(No se muestran 66 ediciones intermedias de 19 usuarios)
Línea 1: Línea 1:
{{mbox
+
{{Ombox
| type = style
+
| demospace = {{{demospace|}}}
| image = [[Image:Symbol opinion vote.svg|40px]]
+
| type     = style
| text =
+
| image     = [[File:Imbox content.png|40px|alt=|link=]]
  {{#if:{{{new|{{{2|}}} }}}
+
| text     = [[{{{old|Template:{{{1|{{PAGENAME}}}}}}}}]] is [[deprecation|deprecated]]{{#if:{{{by|}}}|&#32;by {{{by}}}}}.{{#if:{{{new|{{{2<includeonly>|</includeonly>}}}}}}
  | <!-- New usage (with or without date)
+
  | &#32;Please use [[{{{new|Template:{{{2}}}}}}{{#if:{{{3|}}}
    -->The template {{[[Template:{{{1}}}|{{{1}}}]]}} is deprecated. Please use {{{new|{{[[Template:{{{2}}}|{{{2}}}]]{{#if:{{{3|}}}
+
     |<nowiki>|</nowiki>{{{3}}}
     | <nowiki>|</nowiki>{{{3}}}
+
     }}]] instead.
     }}}} }}} instead.
+
}} {{{note|}}}
  | <!-- Old usage (deprecated, being switched)
+
}}{{#ifeq:{{{nocat|}}}|true
    -->The template {{[[Template:{{PAGENAME}}|{{PAGENAME}}]]}} is [[:Category:Deprecated templates|deprecated]]. Please use {{{use|{{[[Template:{{{1}}}|{{{1}}}]]}}}}} instead. <br> <small>This usage is deprecated. Please replace it with <nowiki>{{tdeprecated|</nowiki>{{PAGENAME}}<nowiki>|</nowiki>{{{1}}}<nowiki>}}</nowiki>.</small> <includeonly>{{{category|[[Category:Deprecated use of tdeprecated]]}}}</includeonly>
+
  ||{{#ifeq:{{ARTICLESPACE}}|Template
  }}
+
      |{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}<!--Don't categorise subpages, like /doc, /sandbox or /testcasespages -->
}}<includeonly>{{{category|{{#ifeq:{{ARTICLESPACE}}|Template
+
        |{{#ifeq:{{PAGENAME}}|{{ucfirst:{{{1}}}}}<!-- only for the deprecated template itself -->
| {{#if:{{{date|}}}
+
            |{{Dated maintenance category|Deprecated templates|from|{{{date|}}}}}
  | [[Category:Templates deprecated since {{{date}}}|{{PAGENAME}}]]
+
          }}
  | [[Category:Deprecated templates|{{PAGENAME}}]]
+
        }}
  }}
+
      |{{#ifeq:{{{old|}}}|{{FULLPAGENAME}}||[[Category:Pages using deprecated templates]]}}
| [[Category:Pages using deprecated templates]]
+
    }}
}} }}}</includeonly><noinclude>
+
  }}<noinclude>
 
+
{{Documentation}}
{{documentation}}
+
<!-- Add categories to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>

Revisión actual del 15:06 31 may 2016

50px Template documentation[create]