|
|
Line 1: |
Line 1: |
| <noinclude>{{Template sandbox notice}}
| | {{#switch: |
| </noinclude>{{mbox
| | <!--If no or empty "demospace" parameter then detect namespace--> |
| | demospace = {{{demospace|}}}
| | {{#if:{{{demospace|}}} |
| | type = style
| | | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> |
| | image = [[Image:Symbol opinion vote.svg|40px]]
| | | {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}} |
| | text =
| | | talk |
| {{#if:{{{new|{{{2|}}} }}}
| | | other |
| | <!-- 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
| | | talk = {{{1|}}} |
| | {{#if:{{{date|}}}
| | | other |
| | [[Category:Templates deprecated since {{{date}}}|{{PAGENAME}}]]
| | | #default = {{{2|}}} |
| | [[Category:Deprecated templates|{{PAGENAME}}]]
| | }}<!--End switch--><noinclude> |
| }}
| |
| | [[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|<nowiki>parameter|fuu</nowiki>}}
| |
| </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}}
| |
| | |
|
| |
|
| | {{pp-template|small=yes}} |
| | {{Documentation}} |
| | <!-- Add categories and interwikis to the /doc subpage, not here! --> |
| </noinclude> | | </noinclude> |