This article's documentation is for anything that uses the Source engine. Click here for more information.

Template:This is a/doc/eo

From Valve Developer Community
Jump to: navigation, search
Edit-copy.png
Ĉi tio estas priigan paĝido por Template:This is a.  

La ŝablono estas la unuan frazon en ĉiu estaĵa paĝo ke priskribas elementan sciaron de estaĵo.
Aldone, ĝi povas krei elementan scion ke priskribi iojn simile al konsolaj variabloj.

Parametroj kaj Ekzemploj

*: Devigaj parametroj.

Parametro Prio Ekzemplo Antaŭrigardo
*{{{type}}} La speco de la estaĵo. La sekvaj specoj elekteblaj:
{{entity|type=''incredible entity''|engine=''Mosaic''}}
{{entity|type=e1|engine=3}}

{{entity|type=e2|engine=1}}
{{entity|type=convar|sv_cheats}}
This is a incredible entity available in all Source Source games.
This is a e1 available in all Source Source games.
This is a e2 available in all Source Source games.
sv_cheats is a convar available in all Source Source games.
{{{engine}}} Which engine the entity belongs to.
{{entity|type=e1|engine=3}}
{{entity|type=e1}}
This is a e1 available in all Source Source games.
This is a e1 available in all Source Source games.
{{{except}}} This entity is available in all other games except this one.
Note.pngNoto:Should be the full name of the game, not a abbreviation (So templates can link to multilingual pages according to the language suffix).
Note.pngNoto:Works without {{{game}}}.
{{entity|func_monitor|type=e2|except=Left 4 Dead series}}
func_monitor is a e2 available in all Source Source games except Left 4 Dead series Left 4 Dead series.
{{{since}}} Ĉi estaĵo ebla post ĉi ludo.
Note.pngNoto:Devus esti plenan nomon de ludo, ne mallongigo (Do ŝablonoj povas ligiĝi al plurlingvajn paĝojn per la lingva suffikso).
Note.pngNoto:Funkcias sen {{{game}}}.
{{entity|type=e0|info_player_start|engine=1|since=Half-Life}}
info_player_start is a e0 available in all Source Source games since Duonvivo Duonvivo.
{{{1}}} The name of the entity. It will change the title of a page. The default value is "This". You can specify it to 0 to remove the entity name.
{{entity|type=e0|info_player_start}}
info_player_start is a e0 available in all Source Source games.
{{{series}}} The series that the entity is available in.
{{entity|type=e2|series=Counter-Strike}}
This is a e2 available in Counter-Strike: SourceCounter-Strike: Global Offensive.
{{{seriescs}}} The series of Counter-Strike that the entity is available in.
{{entity|type=e3|seriescs=Counter-Strike|game=Counter-Strike: Source}}
This is a e3 available in Counter-Strike: Source Counter-Strike: Source.
{{{game}}} The game that the entity is available in.
Note.pngNoto:Should be the full name of the game, not a abbreviation (So templates can link to multilingual pages according to the language suffix).
Note.pngNoto:Works without {{{series}}}.
{{entity|type=e5|game=Team Fortress 2}}
This is a e5 available in Teama Fortreso 2 Teama Fortreso 2.
{{{notitlechange}}} You can prevent title-changing from the template by using this parameter. Used in the /doc page.
{{entity|type=e0|notitlechange=1|info_player_start|engine=1|since=Half-Life}}
info_player_start is a e0 available in all Source Source games since Duonvivo Duonvivo.
*{{{suf}}} Specify the language suffix. The template supports multi-language and you can add more languages that the template supports. The following languages are available:
  • English English: Default (Specify the value to none to force the template be in English)
  • Esperanto Esperanto:
eo (ne finita)
  • Русский Russian:
ru (need update)
  • 简体中文 Simplified Chinese:
zh-cn
Note.pngNoto:Some of the translations may be not fully complete.

If not specified, the template automatically selects the language. This parameter is necessary if you need to add a page to the corresponding language category.

{{entity|suf=:eo|type=e0|info_player_start|engine=1|since=Half-Life}}
{{entity|suf=:zh-cn|type=e0|info_player_start|engine=1|since=Half-Life}}
{{entity|suf=:ru|type=e0|info_player_start|engine=1|since=Half-Life}}
info_player_start is a e0 available in all Source Source games since Duonvivo Duonvivo.
info_player_start is a e0 available in all Source Source games since Duonvivo Duonvivo.
info_player_start is a e0 available in all Source Source games since Duonvivo Duonvivo.
{{{internal}}} If enabled (value is 1 or true), the page will be added to Category:Internal entities and "internal" will be displayed before "... entity".
Note.pngNoto:If {{{type}}} is a defined value (e.g. e0), the parameter is invalid.
{{entity|internal=1|type=entity}}
This is a internal entity available in all Source Source games.
{{{cut}}} If enabled, "cut" will be displayed before "(internal) ... entity"and the page will add to Category:Cut Entities.
{{entity|internal=1|type=entity|cut=1}}
This is a cut internal entity available in all Source Source games.
{{{sprite}}} The icon of the entity:
  • If 1 is specified, the template will find the entity icon file based on the entity name (parameter {{{1}}}). (Follow the format of [[File:<entity name>.png]] to find)
  • If it is a custom value, the template will find the entity icon file according to the specified value.
    Note.pngNoto:File suffix name is required!
{{entity|logic_script|sprite=1|type=e0}}
Logic script.png
logic_script is a e0 available in all Source Source games.
{{{icon}}} Make the game icon appear left-aligned.
  • If 1 is specified, the template will use {{{game}}} instead.
  • If it is a custom value, you need to enter the full name of the game. (Case sensitive)
  • If 0 is specified or the parameter is unused, the icon will appears in the text. (See the examples above.)
{{entity|info_survivor_position|icon=Left 4 Dead series|type=e0|series=Left 4 Dead}}
Left 4 Dead series info_survivor_position is a e0 available in Left 4 Dead series Left 4 Dead series.
{{{game1}}} ~ {{{game5}}} If this entity is available in multiple games, use these parameters to describe.
Note.pngNoto:Once you have used the {{{game1}}}, the style of the template will be changed. The {{{game}}} is necessary for displaying the first game.
Note.pngNoto:Works without {{{series}}}.
{{entity|type=e0|game=Left 4 Dead|game1=Left 4 Dead 2|game2=Portal 2 |game3=Team Fortress 2|game4=Portal 2|game5=Counter-Strike: Global Offensive}}
{{entity|type=e0|info_survivor_position|game=Left 4 Dead|game1=Left 4 Dead 2}}
info_survivor_position is a e0 available in Left 4 Dead Left 4 Dead and Left 4 Dead 2 Left 4 Dead 2.

See also

  • {{Point ent}}
  • {{Base point multi}}
  • {{Brush ent}}
  • {{Base brush multi}}
  • {{Game name}}