Template:Def

出自Valve Developer Community
跳至導覽 跳至搜尋
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Icon-translate.png Available doc translations
Info.png
The Template:Def/doc/zh-tw documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.
Note.png注意:def - definition
{{def
|suf = :<lang code> (See template:lang)
|code = 1 (will use the <kbd> tag for the names)
|state = dep / nofgd / dx8 / dx9
|num = <Number> (Used for Flags)
|<name>
|intn = <internal name>
|<name2>
|intn2 = <internal name 2>
|type = <type>
|add = <additional text> (For example {{csgo|only}})
|shaders = <list of shaders>
|s = 1 (if 1 is specified, "Shaders" will be written instead of "Shader")
}}
Note.png注意:In this template, the description text is written after the template, and not in it.

Some Examples

Name (removed since Counter-Strike: Global Offensive) (not in Half-Life)
This is test.
Name <string> (in all games since Portal 2)
This is test.
Name (Code_Name)
This is test.
Name (Code_Name)<string>
This is test.
Name (Code_Name) – Name_4 <path>
This is test.
Name (Code_Name) – Name_4 (Code_Name_4)
This is test.
Name (Code_Name) – Name_4 (Code_Name_4)<bool>
This is test.
Name (Code_Name) – Name_4 (Code_Name_4)<boolean>Obsolete Obsolete
Perfect text crossing out.
Name – Name_4 (Code_Name_4)<string>
This is test.
Name – Name_4 <string>
This is test.
[ 2 ] : Name
This is FLAG.
Name (Code_Name)Obsolete Obsolete
This is deprecated.
Name (Code_Name)!FGD
This is not in FGD.
Name (Code_Name) – Name_4 !FGD (removed since Team Fortress Classic)
This is not in FGD.
Name (Code_Name)(DX8)
Text Text Text.
Name (DX9 SM2)
Text Text Text.
Name1
Name2
text for two params.
Name (test) (not in Alien Swarm)
This is test.
[ 8 ] : Test Flag
This is FLAG.
Spoon (round_thing) – Fork (sharp_thing)<matrix>
Shaders: LightmappedGeneric, WorldVertexTransition
Shaders
islocked <Page>
Sombreador: one_shader
Text.
Note.png注意:Text
Warning.pngWarning:Text
Text.
New line.