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)
Curly brackets white.png模板文档 [查看] [编辑] [创建 中文 (zh)]
Icon-translate.png Available doc translations
Info.png
文档页面 Template:Def/doc/zh 不存在。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
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 (被移除Counter-Strike: Global Offensive 以来) (存在于 Half-Life)
This is test.
Name <string> (存在于自 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 (被移除军团要塞 经典 以来)
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) (存在于 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.