Template:Half-Life 2/doc/zh: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (clean up, replaced: {{Documentation subpage → {{Doc/subpage)
Line 1: Line 1:
{{Documentation subpage}}
{{Doc/subpage}}


== 用法 ==
== 用法 ==
Line 16: Line 16:
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}}}
| → {{ {{ROOTPAGENAME}} }}
| {{ {{ROOTPAGENAME}} }}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|1}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|1}}
| → {{{{ROOTPAGENAME}}|1}}
| {{{{ROOTPAGENAME}}|1}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|2}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|2}}
| → {{{{ROOTPAGENAME}}|2}}
| {{{{ROOTPAGENAME}}|2}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|3}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|3}}
| → {{{{ROOTPAGENAME}}|3}}
| {{{{ROOTPAGENAME}}|3}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|3.1}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|3.1}}
| → {{{{ROOTPAGENAME}}|3.1}}
| {{{{ROOTPAGENAME}}|3.1}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4}}
| → {{{{ROOTPAGENAME}}|4}}
| {{{{ROOTPAGENAME}}|4}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4.1}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4.1}}
| → {{{{ROOTPAGENAME}}|4.1}}
| {{{{ROOTPAGENAME}}|4.1}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}0}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}0}}
| → {{{{ROOTPAGENAME}}|4|nt=0}}
| {{{{ROOTPAGENAME}}|4|nt=0}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}1}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}1}}
| → {{{{ROOTPAGENAME}}|4|nt=1}}
| {{{{ROOTPAGENAME}}|4|nt=1}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|ico}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|ico}}
| → {{{{ROOTPAGENAME}}|ico}}
| {{{{ROOTPAGENAME}}|ico}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|col}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|col}}
| → {{{{ROOTPAGENAME}}|col}}
| {{{{ROOTPAGENAME}}|col}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|name}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|name}}
| → {{{{ROOTPAGENAME}}|name}}
| {{{{ROOTPAGENAME}}|name}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|in}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|in}}
| → {{{{ROOTPAGENAME}}|in}}
| {{{{ROOTPAGENAME}}|in}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|only}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|only}}
| → {{{{ROOTPAGENAME}}|only}}
| {{{{ROOTPAGENAME}}|only}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|since}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|since}}
| → {{{{ROOTPAGENAME}}|since}}
| {{{{ROOTPAGENAME}}|since}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|not}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|not}}
| → {{{{ROOTPAGENAME}}|not}}
| {{{{ROOTPAGENAME}}|not}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|removed}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|removed}}
| → {{{{ROOTPAGENAME}}|removed}}
| {{{{ROOTPAGENAME}}|removed}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|also|addtext{{=}}{{tlf|csgo}} {{tlf|l4d2}}}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|also|addtext{{=}}{{tlf|csgo}} {{tlf|l4d2}}}}
| → {{{{ROOTPAGENAME}}|also|addtext={{csgo}} {{l4d2}}}}
| {{{{ROOTPAGENAME}}|also|addtext={{csgo}} {{l4d2}}}}
|}
|}



Revision as of 02:23, 12 January 2024

Edit-copy.png
This is a documentation subpage for Template:Half-Life 2.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

用法

提供具有此缩写的游戏的图标和/或链接。还可以获得游戏颜色。

本模板基于 {{Software}}

参数

  • {{{1}}} - 可选:表示形式,请参见以下示例。可以设置为:1234colinalsoonlysinceremovednot
  • {{{nt}}} - 可选:此选项允许您选择自定义游戏名称(如果在模板中指定)。0 通常是游戏缩写。
  • {{{addtext}}} - 可选:当 {{{1}}} 设置为 inalsoonlysinceremovednot,此参数的值将直接插入到游戏图标之后。

示例

Note.png注意:给出的一些示例可能会导致页面不存在。
{{half-Life 2}} 半衰期2
{{half-Life 2|1}} 半衰期2
{{half-Life 2|2}} 半衰期2 半衰期2
{{half-Life 2|3}} 半衰期2
{{half-Life 2|3.1}} 半衰期2
{{half-Life 2|4}} 半衰期2 半衰期2
{{half-Life 2|4.1}} 半衰期2 半衰期2
{{half-Life 2|4|nt=0}} 半衰期2 HL2
{{half-Life 2|4|nt=1}} 半衰期2 半衰期2
{{half-Life 2|ico}} → Hl2 icon.png
{{half-Life 2|col}} → #E6AC39
{{half-Life 2|name}} → 半衰期2
{{half-Life 2|in}} (存在于 半衰期2 之中)
{{half-Life 2|only}} (存在于 半衰期2 之中)
{{half-Life 2|since}} (存在于自 半衰期2 以来)
{{half-Life 2|not}} (存在于 半衰期2)
{{half-Life 2|removed}} (被移除半衰期2 以来)
{{half-Life 2|also|addtext={{csgo}} {{l4d2}}}} (也存在于 半衰期2Counter-Strike: Global Offensive 求生之路2 之中)