Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Deprecated/doc: Difference between revisions

Template page
m Change Dependencies from {{Color box}} to {{Banner}}. Use {{Banner}} for sample
m Update Syntax, part of parameter was missing.
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
: In order to ensure correct records are kept, please copy the following format to sign and date the template to verify yourself. While doing so, please replace the parameter <code>'''<newinfo>'''</code> with a link to current information, if applicable, or otherwise leave it blank:<br>
: In order to ensure correct records are kept, please copy the following format to sign and date the template to verify yourself. While doing so, please replace the parameter <code>'''<newinfo>'''</code> with a link to current information, if applicable, or otherwise leave it blank:<br>


<code><nowiki>{{Deprecated|user=~~~~|<newinfo>}}</nowiki></code>
{{Code|<nowiki>{{Deprecated|user= ~~~~|<newinfo>}}</nowiki>}}


: Adding this template will also add it to the category [[:Category:Deprecated pages|Deprecated pages]] or, for templates, add it to the category [[:Category:Deprecated templates|Deprecated templates]].
: Adding this template will also add it to the category [[:Category:Deprecated pages|Deprecated pages]] or, for templates, add it to the category [[:Category:Deprecated templates|Deprecated templates]].
Line 26: Line 26:


; Syntax
; Syntax
: {{T|Deprecated|2=user=|3=newinfo=|4=link to new information}}
: {{T|Deprecated|2=user= name|3=link to new information}}
:: user=
:: user=
::: to indicate who placed the template. Preferably use the 4 tildes <nowiki>(~~~~)</nowiki> which will automatically be replaced by user name and date and time.
::: to indicate who placed the template. Preferably use the 4 tildes <nowiki>(~~~~)</nowiki> which will automatically be replaced by user name, date and time.
:: newinfo= (deprecated)
::: for a link to the new information (left in to make sure that older instances of the template call keep working)
:: link to new information
:: link to new information
::: for a link to the new information
::: for a link to the new information


; Sample
; Sample
: {{Code|<nowiki>{{Deprecated|user=~~~~|[[Main Page]]}}</nowiki>}} gives...
: {{Code|<nowiki>{{Deprecated|user= ~~~~|[[Main Page]]}}</nowiki>}} gives...
<!-- Use code instead of  actual template because that would put the template and doc page in the deprecated category -->
<!-- Use code instead of  actual template because that would put the template and doc page in the deprecated category -->
{{Banner
{{Banner
Line 50: Line 48:


<includeonly>[[Category:Maintenance templates]]</includeonly>
<includeonly>[[Category:Maintenance templates]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude