Template:Altnames/doc/zh

From Valve Developer Community
Jump to navigation Jump to search
注释模板
Template Pages using it
2024 年 8 月 28 日
{{note}} 6,436
{{warning}} 1,253
{{bug}} 1,192
{{tip}} 1,516
{{todo}} 1,628
{{inline note}} 2,188
{{confirm}} 672
{{question}} 11
{{fix}} 170
{{important}} 459
{{clarify}} 169
{{elaborate}} 18
{{main}} 143
{{distinguish}} 85
{{workaround}} 122
{{seealso}} 145
{{when}} 1
{{where}} 0
{{which}} 2
{{why}} 38
{{idea}} 21
{{placementTip}} 13
{{codenote}} 21
{{altnames}} 35
{{deprecated}} 109
{{how}} 23
{{example}} 16
{{confusion}} 53
{{thanks}} 7
{{code Fix}} 9 + 7 (16)
{{vote}} 4

此模板旨在当实体绑定到多个 Classname 时使用,尤其是那些除了弃用之外似乎没有任何用途的类名。

用法

参数

  • {{{name1}}} {{{name8}}} - 备用 Classname。
  • {{{misc}}} - 可选:用于在同一注意中显示其他文本。
  • {{{suf}}} - 可选:这是一个后缀,将添加到模板的所有元素中,以所需的语言显示内容(如果已翻译成该语言)。
    Note.png注意:语言代码前应该有一个冒号,例如“:es”。

示例

{{altnames|suf=:zh-cn|name1=x|name2=y|name3=z}} 会返回:

AltNames.pngAltNames: 此实体也绑定到 xy 和 z

{{altnames|suf=:zh-cn|name1=x|game={{game link|portal}}}} 会返回:

AltNames.pngAltNames:Portal Portal 中,此实体也绑定到 x