Template:This is a/doc/eo: Difference between revisions
< Template:This is a | doc
Jump to navigation
Jump to search
Thunder4ik (talk | contribs) m (→See also: clean up, replaced: See Also → See also) |
mNo edit summary |
||
Line 13: | Line 13: | ||
! Antaŭrigardo | ! Antaŭrigardo | ||
|- | |- | ||
|align="center"|<strong style=color:rgb(255,255,0)><nowiki>*</nowiki></strong>{{Code| | |align="center"|<strong style=color:rgb(255,255,0)><nowiki>*</nowiki></strong>{{Code|preset=1|{{Param|type}}}} | ||
| La speco de la estaĵo. La sekvaj specoj elekteblaj: | | La speco de la estaĵo. La sekvaj specoj elekteblaj: | ||
:* {{Code|e0}} - [[Point entity|Punkta estaĵo]] | :* {{Code|e0}} - [[Point entity|Punkta estaĵo]] | ||
Line 19: | Line 19: | ||
:* {{Code|e2}} - [[Supera estaĵo]] | :* {{Code|e2}} - [[Supera estaĵo]] | ||
:* {{Code|e3}} - Interna supera estaĵo | :* {{Code|e3}} - Interna supera estaĵo | ||
:* {{Code|e4}} - [[Reta estaĵo]] ({{ | :* {{Code|e4}} - [[Reta estaĵo]] ({{Source 2}}) | ||
:* {{Code|e5}} - [[Path entity]] ({{ | :* {{Code|e5}} - [[Path entity]] ({{Source 2}}) | ||
:* {{Code|convar}} - [[Developer_Console#Submitting|Console Variable]] | :* {{Code|convar}} - [[Developer_Console#Submitting|Console Variable]] | ||
:* Vi povas specigi la estaĵan specon. (Vidu ekzemplojn) | :* Vi povas specigi la estaĵan specon. (Vidu ekzemplojn) | ||
Line 34: | Line 34: | ||
{{Capsule|style=2|margin=5px|{{entity|type=convar|sv_cheats|notitlechange=1}}}} | {{Capsule|style=2|margin=5px|{{entity|type=convar|sv_cheats|notitlechange=1}}}} | ||
|- | |- | ||
|align="center"|{{Code| | |align="center"|{{Code|preset=1|{{Param|engine}}}} | ||
| Which engine the entity belongs to. | | Which engine the entity belongs to. | ||
:* {{Code|1}} - {{ | :* {{Code|1}} - {{Goldsrc|4}} | ||
:* {{Code|2}} - {{ | :* {{Code|2}} - {{Source|4}} | ||
:* {{Code|3}} - {{ | :* {{Code|3}} - {{Source 2|4}} | ||
:* Default - {{ | :* Default - {{Source|4}} | ||
| | | | ||
{{CodeBlock|<nowiki>{{entity|type=e1|engine=3}}</nowiki>}} | {{CodeBlock|<nowiki>{{entity|type=e1|engine=3}}</nowiki>}} | ||
Line 47: | Line 47: | ||
{{Capsule|style=2|margin=5px|{{entity|type=e1}}}} | {{Capsule|style=2|margin=5px|{{entity|type=e1}}}} | ||
|- | |- | ||
|align="center"|{{Code| | |align="center"|{{Code|preset=1|{{Param|except}}}} | ||
| This entity is available in all other games except this one. {{Note|Should be the full name of the game, not a abbreviation (So templates can link to multilingual pages according to the language suffix).}}{{Note|Works without {{Code| | | This entity is available in all other games except this one. {{Note|Should be the full name of the game, not a abbreviation (So templates can link to multilingual pages according to the language suffix).}}{{Note|Works without {{Code|preset=1|{{Param|game}}}}.}} | ||
| {{CodeBlock|<nowiki>{{entity|func_monitor|type=e2|except=Left 4 Dead series}}</nowiki>}} | | {{CodeBlock|<nowiki>{{entity|func_monitor|type=e2|except=Left 4 Dead series}}</nowiki>}} | ||
| {{Capsule|style=2|margin=5px|{{entity|notitlechange=1|func_monitor|type=e2|except=Left 4 Dead series}}}} | | {{Capsule|style=2|margin=5px|{{entity|notitlechange=1|func_monitor|type=e2|except=Left 4 Dead series}}}} | ||
|- | |- | ||
|align="center"|{{Code| | |align="center"|{{Code|preset=1|{{Param|since}}}} | ||
| Ĉi estaĵo ebla post ĉi ludo. {{Note|Devus esti plenan nomon de ludo, ne mallongigo (Do ŝablonoj povas ligiĝi al plurlingvajn paĝojn per la lingva suffikso).}}{{Note|Funkcias sen {{Code| | | Ĉi estaĵo ebla post ĉi ludo. {{Note|Devus esti plenan nomon de ludo, ne mallongigo (Do ŝablonoj povas ligiĝi al plurlingvajn paĝojn per la lingva suffikso).}}{{Note|Funkcias sen {{Code|preset=1|{{Param|game}}}}.}} | ||
| {{CodeBlock|<nowiki>{{entity|type=e0|info_player_start|engine=1|since=Half-Life}}</nowiki>}} | | {{CodeBlock|<nowiki>{{entity|type=e0|info_player_start|engine=1|since=Half-Life}}</nowiki>}} | ||
| {{Capsule|style=2|margin=5px|{{entity|type=e0|notitlechange=1|info_player_start|engine=1|since=Half-Life}}}} | | {{Capsule|style=2|margin=5px|{{entity|type=e0|notitlechange=1|info_player_start|engine=1|since=Half-Life}}}} | ||
|- | |- | ||
|align="center"|{{Code| | |align="center"|{{Code|preset=1|{{Param|1}}}} | ||
| The name of the entity. It will change the title of a page. The default value is "This". You can specify it to {{Code|0}} to remove the entity name. | | The name of the entity. It will change the title of a page. The default value is "This". You can specify it to {{Code|0}} to remove the entity name. | ||
| {{CodeBlock|<nowiki>{{entity|type=e0|info_player_start}}</nowiki>}} | | {{CodeBlock|<nowiki>{{entity|type=e0|info_player_start}}</nowiki>}} | ||
| {{Capsule|style=2|margin=5px|{{entity|type=e0|notitlechange=1|info_player_start}}}} | | {{Capsule|style=2|margin=5px|{{entity|type=e0|notitlechange=1|info_player_start}}}} | ||
|- | |- | ||
|align="center"|{{Code| | |align="center"|{{Code|preset=1|{{Param|series}}}} | ||
| The series that the entity is available in. | | The series that the entity is available in. | ||
| {{CodeBlock|<nowiki>{{entity|type=e2|series=Counter-Strike}}</nowiki>}} | | {{CodeBlock|<nowiki>{{entity|type=e2|series=Counter-Strike}}</nowiki>}} | ||
| {{Capsule|style=2|margin=5px|{{entity|type=e2|series=Counter-Strike}}}} | | {{Capsule|style=2|margin=5px|{{entity|type=e2|series=Counter-Strike}}}} | ||
|- | |- | ||
|align="center"|{{Code| | |align="center"|{{Code|preset=1|{{Param|seriescs}}}} | ||
| The series of Counter-Strike that the entity is available in. | | The series of Counter-Strike that the entity is available in. | ||
| {{CodeBlock|<nowiki>{{entity|type=e3|seriescs=Counter-Strike|game=Counter-Strike: Source}}</nowiki>}} | | {{CodeBlock|<nowiki>{{entity|type=e3|seriescs=Counter-Strike|game=Counter-Strike: Source}}</nowiki>}} | ||
| {{Capsule|style=2|margin=5px|{{entity|type=e3|seriescs=Counter-Strike|game=Counter-Strike: Source}}}} | | {{Capsule|style=2|margin=5px|{{entity|type=e3|seriescs=Counter-Strike|game=Counter-Strike: Source}}}} | ||
|- | |- | ||
|align="center"|{{Code| | |align="center"|{{Code|preset=1|{{Param|game}}}} | ||
| The game that the entity is available in. {{Note|Should be the full name of the game, not a abbreviation (So templates can link to multilingual pages according to the language suffix).}}{{Note|Works without {{Code|style=1|{{ | | The game that the entity is available in. {{Note|Should be the full name of the game, not a abbreviation (So templates can link to multilingual pages according to the language suffix).}}{{Note|Works without {{Code|style=1|{{Param|series}}}}.}} | ||
| {{CodeBlock|<nowiki>{{entity|type=e5|game=Team Fortress 2}}</nowiki>}} | | {{CodeBlock|<nowiki>{{entity|type=e5|game=Team Fortress 2}}</nowiki>}} | ||
| {{Capsule|style=2|margin=5px|{{entity|type=e5|game=Team Fortress 2}}}} | | {{Capsule|style=2|margin=5px|{{entity|type=e5|game=Team Fortress 2}}}} | ||
|- | |- | ||
|align="center"|{{Code| | |align="center"|{{Code|preset=1|{{Param|notitlechange}}}} | ||
| You can prevent title-changing from the template by using this parameter. Used in the {{Code|/doc}} page. | | You can prevent title-changing from the template by using this parameter. Used in the {{Code|/doc}} page. | ||
| {{CodeBlock|<nowiki>{{entity|type=e0|notitlechange=1|info_player_start|engine=1|since=Half-Life}}</nowiki>}} | | {{CodeBlock|<nowiki>{{entity|type=e0|notitlechange=1|info_player_start|engine=1|since=Half-Life}}</nowiki>}} | ||
| {{Capsule|style=2|margin=5px|{{entity|type=e0|notitlechange=1|info_player_start|engine=1|since=Half-Life}}}} | | {{Capsule|style=2|margin=5px|{{entity|type=e0|notitlechange=1|info_player_start|engine=1|since=Half-Life}}}} | ||
|- | |- | ||
|align="center"|<strong style=color:rgb(255,255,0)><nowiki>*</nowiki></strong>{{Code| | |align="center"|<strong style=color:rgb(255,255,0)><nowiki>*</nowiki></strong>{{Code|preset=1|{{Param|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: | | Specify the language suffix. The template supports multi-language and you can add more languages that the template supports. The following languages are available: | ||
* {{en}} English: Default ({{Tooltip|line=solid|<nowiki>|suf=</nowiki>|Specify the value to none}} to force the template be in English) | * {{Flag|en}} English: Default ({{Tooltip|line=solid|<nowiki>|suf=</nowiki>|Specify the value to none}} to force the template be in English) | ||
* {{eo}} Esperanto: {{Code|:eo}} (ne finita) | * {{Flag|eo}} Esperanto: {{Code|:eo}} (ne finita) | ||
* {{ru}} Russian: {{Code|:ru}} (need update) | * {{Flag|ru}} Russian: {{Code|:ru}} (need update) | ||
* {{zh | * {{Flag|zh}} Simplified Chinese: {{Code|:zh-cn}} | ||
{{Note|Some of the translations may be not fully complete.}} | {{Note|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.''' | '''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.''' | ||
Line 99: | Line 99: | ||
{{Capsule|style=2|margin=5px|{{entity|suf=:ru|type=e0|notitlechange=1|info_player_start|engine=1|since=Half-Life}}}} | {{Capsule|style=2|margin=5px|{{entity|suf=:ru|type=e0|notitlechange=1|info_player_start|engine=1|since=Half-Life}}}} | ||
|- | |- | ||
|align="center"|{{Code| | |align="center"|{{Code|preset=1|{{param|internal}}}} | ||
|If enabled (value is {{Code|1}} or {{Code|true}}), the page will be added to [[:Category:Internal entities]] and "internal" will be displayed before "... entity". | |If enabled (value is {{Code|1}} or {{Code|true}}), the page will be added to [[:Category:Internal entities]] and "internal" will be displayed before "... entity". | ||
{{Note|If {{Code| | {{Note|If {{Code|preset=1|{{param|type|tag=kbd}}}} is a defined value (e.g. {{Code|e0}}), the parameter is invalid.}} | ||
|{{CodeBlock|<nowiki>{{entity|internal=1|type=entity}}</nowiki>}} | |{{CodeBlock|<nowiki>{{entity|internal=1|type=entity}}</nowiki>}} | ||
|{{Capsule|style=2|margin=5px|{{entity|internal=1|type=entity}}}} | |{{Capsule|style=2|margin=5px|{{entity|internal=1|type=entity}}}} | ||
|- | |- | ||
|align="center"|{{Code| | |align="center"|{{Code|preset=1|{{Param|cut}}}} | ||
|If enabled, "cut" will be displayed before "(internal) ... entity"and the page will add to [[:Category:Cut Entities]]. | |If enabled, "cut" will be displayed before "(internal) ... entity"and the page will add to [[:Category:Cut Entities]]. | ||
|{{CodeBlock|<nowiki>{{entity|internal=1|type=entity|cut=1}}</nowiki>}} | |{{CodeBlock|<nowiki>{{entity|internal=1|type=entity|cut=1}}</nowiki>}} | ||
|{{Capsule|style=2|margin=5px|{{entity|internal=1|type=entity|cut=1}}}} | |{{Capsule|style=2|margin=5px|{{entity|internal=1|type=entity|cut=1}}}} | ||
|- | |- | ||
|align="center"|{{Code| | |align="center"|{{Code|preset=1|{{Param|sprite}}}} | ||
|The icon of the entity: | |The icon of the entity: | ||
*If {{Code|1}} is specified, the template will find the entity icon file based on the entity name (parameter {{Code| | *If {{Code|1}} is specified, the template will find the entity icon file based on the entity name (parameter {{Code|preset=1|{{param|1}}}}). (Follow the format of {{Code|<nowiki>[[File:<entity name>.png]]</nowiki>}} to find) | ||
*If it is a custom value, the template will find the entity icon file according to the specified value. {{Note|File suffix name is required!}} | *If it is a custom value, the template will find the entity icon file according to the specified value. {{Note|File suffix name is required!}} | ||
|{{CodeBlock|<nowiki>{{entity|logic_script|sprite=1|type=e0}}</nowiki>}} | |{{CodeBlock|<nowiki>{{entity|logic_script|sprite=1|type=e0}}</nowiki>}} | ||
|{{Capsule|style=2|margin=5px|{{entity|logic_script|sprite=1|type=e0|notitlechange=1}}}} | |{{Capsule|style=2|margin=5px|{{entity|logic_script|sprite=1|type=e0|notitlechange=1}}}} | ||
|- | |- | ||
|align="center"|{{Code| | |align="center"|{{Code|preset=1|{{param|icon}}}} | ||
|Make the game icon appear left-aligned. | |Make the game icon appear left-aligned. | ||
*If {{Code|1}} is specified, the template will use {{Code| | *If {{Code|1}} is specified, the template will use {{Code|preset=1|{{param|tag=kbd|game}}}} instead. | ||
*If it is a custom value, you need to enter the full name of the game. (Case sensitive) | *If it is a custom value, you need to enter the full name of the game. (Case sensitive) | ||
*If {{Code|0}} is specified or the parameter is unused, the icon will appears in the text. (See the examples above.) | *If {{Code|0}} is specified or the parameter is unused, the icon will appears in the text. (See the examples above.) | ||
Line 125: | Line 125: | ||
|{{Capsule|style=2|margin=5px|{{entity|info_survivor_position|type=e0|notitlechange=1|series=Left 4 Dead|icon=Left 4 Dead series}}}} | |{{Capsule|style=2|margin=5px|{{entity|info_survivor_position|type=e0|notitlechange=1|series=Left 4 Dead|icon=Left 4 Dead series}}}} | ||
|- | |- | ||
|align="center"|{{Code| | |align="center"|{{Code|preset=1|{{param|game1}}}} ~ {{Code|preset=1|{{param|game5}}}} | ||
|If this entity is available in multiple games, use these parameters to describe. {{Note|Once you have used the {{Code| | |If this entity is available in multiple games, use these parameters to describe. {{Note|Once you have used the {{Code|preset=1|{{param|game1}}}}, the style of the template will be changed. '''The {{Code|preset=1|{{param|game}}}} is necessary for displaying the first game.'''}}{{Note|Works without {{Code|preset=1|{{Param|series}}}}.}} | ||
|{{CodeBlock|<nowiki>{{entity|type=e0|game=Left 4 Dead|game1=Left 4 Dead 2|game2=Portal 2 | |{{CodeBlock|<nowiki>{{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}}</nowiki>}} | |game3=Team Fortress 2|game4=Portal 2|game5=Counter-Strike: Global Offensive}}</nowiki>}} | ||
Line 136: | Line 136: | ||
== See also == | == See also == | ||
* {{ | * {{T|Point ent}} | ||
* {{ | * {{T|Base point multi}} | ||
* {{ | * {{T|Brush ent}} | ||
* {{ | * {{T|Base brush multi}} | ||
* {{ | * {{T|Game name}} | ||
{{Doc/Sandbox other| | {{Doc/Sandbox other| | ||
[[Category:Templates]][[Category:Formatting templates]][[Category:Entity Templates]][[Category:FGD Templates]] | [[Category:Templates]][[Category:Formatting templates]][[Category:Entity Templates]][[Category:FGD Templates]] | ||
}} | }} |
Latest revision as of 03:21, 9 October 2025

This is a documentation subpage for Template:This is a.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
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:
|
|
|
{{{engine}}} | Which engine the entity belongs to. | ||
{{{except}}} | This entity is available in all other games except this one. ![]() ![]() |
||
{{{since}}} | Ĉi estaĵo ebla post ĉi ludo. ![]() ![]() |
||
{{{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. | ||
{{{series}}} | The series that the entity is available in. | ||
{{{seriescs}}} | The series of Counter-Strike that the entity is available in. | ||
{{{game}}} | The game that the entity is available in. ![]() ![]() |
||
{{{notitlechange}}} | You can prevent title-changing from the template by using this parameter. Used in the /doc page. | ||
*{{{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:
![]() 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. |
||
{{{internal}}} | If enabled (value is 1 or true), the page will be added to Category:Internal entities and "internal" will be displayed before "... entity".
![]() |
||
{{{cut}}} | If enabled, "cut" will be displayed before "(internal) ... entity"and the page will add to Category:Cut Entities. | ||
{{{sprite}}} | The icon of the entity:
|
||
{{{icon}}} | Make the game icon appear left-aligned.
|
||
{{{game1}}} ~ {{{game5}}} | If this entity is available in multiple games, use these parameters to describe. ![]() ![]() |
See also
- {{Point ent}}
- {{Base point multi}}
- {{Brush ent}}
- {{Base brush multi}}
- {{Game name}}