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
+TemplateBox
Line 1: Line 1:
{{documentation subpage}}
{{TemplateBox
 
  |1                  =
{{incat|Deprecated templates}}
  |1d                =
=={{int:usage}}==
  |1d-td              =  
{{LangSwitch
  |1type              =  
|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/>
  |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=Zum Markieren von veralteten Vorlagen. Der Vorlage-Code sollte am oberen Rand des veralteten Vorlage-Codes innerhalb des <nowiki><noinclude></nowiki> -Tag stehen.<br/>
  |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, gib einfach die Vorlagennamen als Parameter ohne den Template: -Präfix ein.
    |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
|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=廃止されるテンプレートに印をつけ、誤用を防ぐためのテンプレートです。このテンプレート・コードの書き位置は、廃止されるテンプレート・コードの<nowiki><noinclude></nowiki>タグ内部の一番上に記述するべきです。<br/>
  |usergroup          = all
印をつけると同時に、利用を推奨するテンプレート名をお知らせすることができます。推奨するテンプレート名を第一パラメーターに入力します(第二パラメーターは2つめのテンプレートがある場合に利用します)。このときテンプレート名には接頭語「Template: 」を含めずに入力してください。
  |placement          = top
 
  |usage-notes        = {{LangSwitch
<nowiki><noinclude></nowiki>
|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>


==Examples==
{{Tlf|deprecated|template|2nd template}}
 
{{deprecated|template|2nd template|category=}}
<nowiki>{{</nowiki>deprecated|template}} → {{deprecated|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|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=}}
{{Tlf|deprecated|template|p&#61;parameter}}
{{deprecated|template|p=parameter|category=}}


==See also==
{{Tlf|deprecated|note&#61;Customized note.}}
*{{tl|Empty category}}
{{deprecated|note=Customized note.|category=}}
*{{tl|Update}}


<includeonly>
{{Tlf|deprecated|template|p&#61;&lt;nowiki&gt;a&#61;b|c&#61;d&lt;/nowiki&gt;|2nd template|2p&#61;e|note&#61;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

ParameterDescriptionDefaultStatus
1emptyoptional

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

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