Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
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 cats and iws
update
Line 1: Line 1:
{{TemplateBox
{{documentation subpage}}
|1=1
|1d=replacement template
|1def=
|1stat=
|2=2
|2d=other replacement template
|2def=
|2stat=
|3=note
|3d=textual note
|3def=
|3stat=
|4=category
|4d=category to set
|4def=
|4stat=
|name=Deprecated
|desc={{LangSwitch
|en=To mark templates that are deprecated. It should go at the very beginning of the deprecated template's code inside of <nowiki><noinclude></nowiki> tags.


When a template is replaced by a different one (or two), simply enter the template's name the parameter(s) without the Template: prefix.
{{incat|Deprecated templates}}
|de=Zum Markieren von veralteten Vorlagen. Der Vorlage-Code sollte am oberen Rand des veralteten Vorlage-Codes innerhalb des <nowiki><noinclude></nowiki> -Tag stehen.
=={{int:usage}}==
{{LangSwitch
|en=To mark templates that are deprecated. It should go at the very beginning of the deprecated template's code inside of <nowiki><noinclude></nowiki> tags.<br/>
When a template is replaced by a different one (or two), simply enter the template's name as the 1st parameter without the Template: prefix (the 2nd parameter can be used for a second template).


|de=Zum Markieren von veralteten Vorlagen. Der Vorlage-Code sollte am oberen Rand des veralteten Vorlage-Codes innerhalb des <nowiki><noinclude></nowiki> -Tag stehen.<br/>
Wenn eine Vorlage durch eine andere (oder zwei) ersetzt wurde, gebe einfach die Vorlagennamen als Parameter ohne den Template: -Präfix ein.
Wenn eine Vorlage durch eine andere (oder zwei) ersetzt wurde, gebe einfach die Vorlagennamen als Parameter ohne den Template: -Präfix ein.


|fr=Pour marquer les modèles dépéréciés. It doit aller au tout début du code du modèle, entre des balises <nowiki><noinclude></nowiki>
|fr=Pour marquer les modèles dépéréciés. It doit aller au tout début du code du modèle, entre des balises <nowiki><noinclude></nowiki>
}}
}}
|namespace=template
 
|usergroup=all
==Examples==
|placement=
|usage-notes=
|type=maintenance
|example=
|i18n-method=autotranslate
|i18n-desc=
|seealso=
|setscats=*[[:Category:Deprecated templates]]
|lines=one
|shorthand=
|relieson=
}}
== Examples ==


<nowiki>{{</nowiki>deprecated|template}} → {{deprecated|template|category=}}
<nowiki>{{</nowiki>deprecated|template}} → {{deprecated|template|category=}}


<nowiki>{{</nowiki>deprecated|template|2nd template}} → {{deprecated|template|2nd template|category=}}
<nowiki>{{</nowiki>deprecated|template|2nd template}} → {{deprecated|template|2nd template|category=}}
<nowiki>{{</nowiki>deprecated|template|p=parameter}} → {{deprecated|template|p=parameter|category=}}


<nowiki>{{</nowiki>deprecated|note=Customized note.}} → {{deprecated|note=Customized note.|category=}}
<nowiki>{{</nowiki>deprecated|note=Customized note.}} → {{deprecated|note=Customized note.|category=}}


<nowiki>{{</nowiki>deprecated|template|note=Customized note.}} → {{deprecated|template|note=Customized note.|category=}}
<nowiki>{{</nowiki>deprecated|template|p=<nowiki><nowiki>a=b|c=d</nowiki></nowiki>|2nd template|2p=e|note=Customized note.}} → {{deprecated|template|p=<nowiki>a=b|c=d</nowiki>|2nd template|2p=e|note=Customized note.|category=}}
 
 
<includeonly>
<includeonly>
[[Category:Marker templates|{{PAGENAME}}]]
[[Category:Marker templates|{{PAGENAME}}]]
Line 64: Line 40:
[[sl:Predloga:Todsvetovana]]
[[sl:Predloga:Todsvetovana]]
[[tr:Şablon:Geçersizş]]
[[tr:Şablon:Geçersizş]]
</includeonly>
</includeonly>

Revision as of 00:42, 1 August 2010

Template:Incat

⧼usage⧽

To mark templates that are deprecated. It should go at the very beginning of the deprecated template's code inside of <noinclude> tags.
When a template is replaced by a different one (or two), simply enter the template's name as the 1st parameter without the Template: prefix (the 2nd parameter can be used for a second template).

Examples

{{deprecated|template}} →

{{deprecated|template|2nd template}} →

{{deprecated|template|p=parameter}} →

{{deprecated|note=Customized note.}} →

{{deprecated|template|p=<nowiki>a=b|c=d</nowiki>|2nd template|2p=e|note=Customized note.}} →


Cookies help us deliver our services. By using our services, you agree to our use of cookies.