Difference between revisions of "Template:Deprecated template/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Davidgothberg
(Removed the newline added by the sandbox notice.)
imported>Debresser
(blanked)
Line 1: Line 1:
<noinclude>{{Template sandbox notice}}
 
</noinclude>{{mbox
 
| demospace = {{{demospace|}}}
 
| type = style
 
| image = [[Image:Symbol opinion vote.svg|40px]]
 
| text =
 
  {{#if:{{{new|{{{2|}}} }}}
 
  | <!-- New usage (with or without date)
 
    -->The template {{[[Template:{{{1}}}|{{{1}}}]]}} is deprecated. Please use {{{new|{{[[Template:{{{2}}}|{{{2}}}]]{{#if:{{{3|}}}
 
    | <nowiki>|</nowiki>{{{3}}}
 
    }}}} }}} instead.
 
  | <!-- Old usage (deprecated, being switched)
 
    -->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>
 
  }}
 
}}<includeonly>{{{category|{{#ifeq:{{ARTICLESPACE}}|Template
 
| {{#if:{{{date|}}}
 
  | [[Category:Templates deprecated since {{{date}}}|{{PAGENAME}}]]
 
  | [[Category:Deprecated templates|{{PAGENAME}}]]
 
  }}
 
| [[Category:Pages using deprecated templates]]
 
}} }}}</includeonly><noinclude>
 
  
 
== Testing ==
 
 
Testing this box here. You need to {{purge|purge this page}} to see any changes you have done.
 
 
<pre>
 
{{tdeprecated/sandbox}}
 
</pre>
 
{{tdeprecated/sandbox}}
 
 
<pre>
 
{{tdeprecated/sandbox|new}}
 
</pre>
 
{{tdeprecated/sandbox|new}}
 
 
<pre>
 
{{tdeprecated/sandbox|old|new}}
 
{{tdeprecated/sandbox|old|new|parameter}}
 
{{tdeprecated/sandbox|old|new|&lt;nowiki&gt;parameter|fuu&lt;/nowiki&gt;}}
 
</pre>
 
{{tdeprecated/sandbox|old|new}}
 
{{tdeprecated/sandbox|old|new|parameter}}
 
{{tdeprecated/sandbox|old|new|<nowiki>parameter|fuu</nowiki>}}
 
 
<pre>
 
{{tdeprecated/sandbox|old|new|date=August 2008}}
 
</pre>
 
{{tdeprecated/sandbox|old|new|date=August 2008}}
 
 
 
</noinclude>
 

Revision as of 01:15, 25 May 2009