Template:Deprecated/doc: Difference between revisions
Template page
More actions
m cats and iws |
update |
||
| Line 1: | Line 1: | ||
{{ | {{documentation subpage}} | ||
When a template is replaced by a different one (or two), simply enter the template's name the parameter | {{incat|Deprecated templates}} | ||
=={{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> | ||
}} | }} | ||
==Examples== | |||
== 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
⧼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.}} →