Template:Deprecated/doc: Difference between revisions
Template page
More actions
→See also: +1 |
+TemplateBox |
||
| Line 1: | Line 1: | ||
{{ | {{TemplateBox | ||
|1 = | |||
|1d = | |||
== | |1d-td = | ||
|1type = | |||
| | |1def = | ||
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). | |1stat = optional | ||
|name = Deprecated | |||
|de= | |desc = 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. | ||
Wenn eine Vorlage durch eine andere (oder zwei) ersetzt wurde, | |desc-de = Mit dieser Vorlage können veraltete Vorlagen markiert warden. Es sollte mit am Anfang des Vorlagen-Codes stehen und mit <nowiki><noinclude></nowiki> markiert warden. | ||
|desc-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 | |||
|desc-ja = 廃止されるテンプレートに印をつけ、誤用を防ぐためのテンプレートです。このテンプレート・コードの書き位置は、廃止されるテンプレート・コードの<nowiki><noinclude></nowiki>タグ内部の一番上に記述するべきです。 | |||
|namespace = Template | |||
|ja= | |usergroup = all | ||
印をつけると同時に、利用を推奨するテンプレート名をお知らせすることができます。推奨するテンプレート名を第一パラメーターに入力します(第二パラメーターは2つめのテンプレートがある場合に利用します)。このときテンプレート名には接頭語「Template: 」を含めずに入力してください。 | |placement = top | ||
|usage-notes = {{LangSwitch | |||
|en=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=Wenn eine Vorlage durch eine andere (oder zwei) ersetzt wurde, kann der Vorlagennamen als Parameter ohne den Template eingegeben werden: -Präfix ein. (Der zweite Parameter kann für eine zweite Vorlage verwendet warden.) | |||
|ja=印をつけると同時に、利用を推奨するテンプレート名をお知らせすることができます。推奨するテンプレート名を第一パラメーターに入力します(第二パラメーターは2つめのテンプレートがある場合に利用します)。このときテンプレート名には接頭語「Template: 」を含めずに入力してください。 | |||
}} | }} | ||
|type = | |||
|example = template | |||
|example-value = {{Deprecated|template}}</div> | |||
{{Tlf|deprecated|template|2nd template}} | |||
{{deprecated|template|2nd template|category=}} | |||
{{Tlf|deprecated|template|p=parameter}} | |||
{{deprecated|template|p=parameter|category=}} | |||
{{Tlf|deprecated|note=Customized note.}} | |||
{{deprecated|note=Customized note.|category=}} | |||
<includeonly> | {{Tlf|deprecated|template|p=<nowiki>a=b|c=d</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=}} | |||
<div> | |||
|i18n-method = | |||
|i18n-desc = | |||
|i18n-mediawiki-msg = | |||
|i18n-subpage = | |||
|seealso = | |||
* {{tl|Empty category}} | |||
* {{tl|Update}} | |||
|setscats = | |||
|print = | |||
|shorthand = | |||
|relieson = | |||
}}<includeonly> | |||
[[Category:Internationalised marker templates]] | [[Category:Internationalised marker templates]] | ||
[[Category:Template namespace templates]] | [[Category:Template namespace templates]] | ||
</includeonly> | </includeonly> | ||
Revision as of 11:05, 15 May 2018
To mark templates that are deprecated. It should go at the very beginning of the deprecated template's code inside of <noinclude> tags.
Usage
{{Deprecated |1= }}
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).
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | empty | optional | ||
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: all users
Placement: At the top of the page
Example
{{Deprecated|template}}
renders as:
{{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.}}
See also