Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.

Template:Altnames

From Valve Developer Community
Jump to: navigation, search
English (en)中文 (zh)
Curly brackets white.pngTemplate Documentation
Icon-translate.png
View
Edit
Page history
Inline note templates
Template Pages using it
2023-08-29
{{Note}} 5,964
{{Warning}} 2,331
{{Bug}} 1,550
{{Tip}} 1,485
{{Todo}} 1,551
{{Inline note}} 955
{{Confirm}}
{{ClassicConfirm}}
691 + 324
{{Question}} 4
{{ModernConfirm}} 97
{{Fix}}
{{ClassicFix}}
174 + 33
{{ModernFix}} 489
{{Important}} 240 + 106
{{ModernImportant}} 308
{{Clarify}}
{{ClassicClarify}}
154 + 105
{{Elaborate}}
{{ClassicElaborate}}
10
{{Main}} 121
{{Distinguish}} 75
{{Workaround}} 96
{{Seealso}} 62
{{Which}}
{{ClassicWhich}}
1
{{Why}}
{{ClassicWhy}}
21
{{Idea}}
{{ClassicIdea}}
11
{{Placement Tip}}
{{ClassicPlacementTip}}
6 + 2
{{Codenote}}
{{Codenote}}
10
{{ModernCodenote}} N/A
{{Altnames}} 13
{{Deprecated}}
{{ClassicDeprecated}}
34 + 25
{{How}}
{{ClassicHow}}
18 + 15
{{Notice}} 15 + 10
{{Example}} 3
{{Confusion}} 3 + 1
{{Special thanks}} 1
{{Thanks}} (Modern) N/A
{{Code Fix}} N/A
{{Errornote}} N/A
{{Vote}} N/A

This template is intended to be used when an entity is tied to multiple classnames, especially those that do not appear to serve any purpose other than deprecation.

Usage

Parameters

  • {{{name1}}} to {{{name8}}} - The alternate classnames.
  • {{{misc}}} - Optional: Use to display additional text in the same note.
  • {{{suf}}} - Optional: This is a suffix that will be added to all elements of the template to display the content in the desired language (if it is translated into it).
    Note.pngNote:There should be a colon before the language code, for example ":es".

Example

{{altnames|name1=x|name2=y|name3=z}} would return as:

AltNames.pngAltNames: This entity is also tied to xy and z.

{{altnames|name1=x|game={{game link|portal}}}} would return as:

AltNames.pngAltNames: In Portal Portal , this entity is also tied to x.