Template:This is a/doc: Difference between revisions
Jump to navigation
Jump to search
Note:All the entity templates listed below are deprecated.
No edit summary |
(all of these parameters are no longer used and should not be supported any longer, so that updating to the rewrite has no issues) |
||
Line 30: | Line 30: | ||
Miscellaneous: | Miscellaneous: | ||
* Custom (You can specify the type yourself. See examples) | * Custom (You can specify the type yourself. See examples) | ||
{{Note|Template will not add entity categories and change titles when using non-entity type (such as {{Code| | {{Note|Template will not add entity categories and change titles when using non-entity type (such as {{Code|console variable}}).}} | ||
| | | | ||
{{CodeBlock|<nowiki>{{this is a|''incredible entity''|engine=''Mosaic''}}</nowiki>}} | {{CodeBlock|<nowiki>{{this is a|''incredible entity''|engine=''Mosaic''}}</nowiki>}} | ||
{{CodeBlock|<nowiki>{{this is a|brush entity|engine=GoldSrc}}</nowiki>}} | {{CodeBlock|<nowiki>{{this is a|brush entity|engine=GoldSrc}}</nowiki>}} | ||
{{CodeBlock|<nowiki>{{this is a| | {{CodeBlock|<nowiki>{{this is a|console variable|name=sv_cheats}}</nowiki>}} | ||
{{CodeBlock|<nowiki>{{this is a|pixel shader|name=LightmappedGeneric}}</nowiki>}} | {{CodeBlock|<nowiki>{{this is a|pixel shader|name=LightmappedGeneric}}</nowiki>}} | ||
| | | | ||
{{Capsule|style=2|margin=5px|{{this is a|''incredible entity''|engine=''Mosaic''}}}} | {{Capsule|style=2|margin=5px|{{this is a|''incredible entity''|engine=''Mosaic''}}}} | ||
{{Capsule|style=2|margin=5px|{{this is a|brush entity|engine=GoldSrc}}}} | {{Capsule|style=2|margin=5px|{{this is a|brush entity|engine=GoldSrc}}}} | ||
{{Capsule|style=2|margin=5px|{{this is a| | {{Capsule|style=2|margin=5px|{{this is a|console variable|name=sv_cheats|notitlechange=1}}}} | ||
{{Capsule|style=2|margin=5px|{{this is a|pixel shader|name=LightmappedGeneric|notitlechange=1}}}} | {{Capsule|style=2|margin=5px|{{this is a|pixel shader|name=LightmappedGeneric|notitlechange=1}}}} | ||
|- | |- | ||
Line 45: | Line 45: | ||
| Which engine the subject belongs to. | | Which engine the subject belongs to. | ||
:* Default - {{source|4}} (same as {{Code|2}}) | :* Default - {{source|4}} (same as {{Code|2}}) | ||
:* | :* {{code|GoldSrc}} - {{gldsrc|4}} | ||
:* {{Code| | :* {{Code|Source}} - {{source|4}} | ||
:* {{Code| | :* {{Code|Source 2}} - {{source2|4}} | ||
:* Custom - You can specify any other engine. | :* Custom - You can specify any other engine. | ||
{{Important|'''To add multiple engines''', please use parameter {{Code|preset=2|{{param|engine1}}}} (secondary engine) and {{Code|preset=2|{{param|engine2}}}} (tertiary engine) with {{Code|preset=2|{{param|engine}}}} (primary engine) at the same time.}} | {{Important|'''To add multiple engines''', please use parameter {{Code|preset=2|{{param|engine1}}}} (secondary engine) and {{Code|preset=2|{{param|engine2}}}} (tertiary engine) with {{Code|preset=2|{{param|engine}}}} (primary engine) at the same time.}} | ||
Line 77: | Line 77: | ||
| {{Capsule|style=2|margin=5px|{{this is a|brush entity|series=Counter-Strike}}}} | | {{Capsule|style=2|margin=5px|{{this is a|brush entity|series=Counter-Strike}}}} | ||
|- | |- | ||
|align="center"|{{Code|preset=2|{{param|game}}}} | |align="center"|{{Code|preset=2|{{param|game}}}} | ||
| The game that the subject is available in. {{Note|Works without {{Code|preset=2|{{param|series}}}}.}} | | The game that the subject is available in. {{Note|Works without {{Code|preset=2|{{param|series}}}}.}} | ||
| {{CodeBlock|<nowiki>{{this is a| | | {{CodeBlock|<nowiki>{{this is a|path entity|game=Team Fortress 2}}</nowiki>}} | ||
| {{Capsule|style=2|margin=5px|{{this is a| | | {{Capsule|style=2|margin=5px|{{this is a|path entity|game=Team Fortress 2}}}} | ||
|- | |- | ||
|align="center"|{{Code|preset=2|{{param|notitlechange}}}} | |align="center"|{{Code|preset=2|{{param|notitlechange}}}} |
Revision as of 11:01, 18 May 2024

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.
This template is the master format page for all Entity, Console command/variable, and Shader pages. Each page should have this at the beginning to describe the basic info about each one, such as what they are and their availability. It should be placed on the base pages of articles using {{MultiPage}}.
Parameters and Examples
*: Necessary parameters.
Parameter | Description | Example | Preview |
---|---|---|---|
*{{{1}}} | The type of the object need to describe. The following types are available: Entities:
Console Variables, Commands, QC Commands:
Miscellaneous:
![]() |
This is a incredible entity available in all Template:''Mosaic'' games.Template:''Mosaic'' topicon
![]()
| |
{{{engine}}} {{{engine1}}} {{{engine2}}} |
Which engine the subject belongs to.
![]() |
||
{{{except}}} | This is available in all other games except this one. ![]() |
||
{{{since}}} | This is available since this game. ![]() |
||
{{{name}}} | The name of the subject. 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 subject is available in. | ||
{{{game}}} | The game that the subject is available in. ![]() |
This is a path entity available in
![]() | |
{{{notitlechange}}} | You can prevent title-changing from the template by using this parameter. Used in the /doc page. | ||
{{{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 is available in multiple games, use these parameters to describe. ![]() ![]() |
This is a point entity available in
![]() ![]() ![]() ![]() ![]() ![]() | |
{{{nocat}}} | Don't place any categories. | N/A | |
{{{except-multi}}} | Similar to {{{except}}}, but can specify multiple games simultaneously. ![]() |
See also

- {{Entity}}
- {{Format}}
- {{Point ent}}
- {{Base point multi}}
- {{Brush ent}}
- {{Base brush multi}}
- {{Game name}}
Categories:
- Template documentation pages
- This is a template errors
- Brush entities
- GoldSrc base entities
- GoldSrc base brush entities
- Source base console variables
- Source base pixel shaders
- Shaders
- Point entities
- Non-internal GoldSrc base entities
- GoldSrc base point entities
- Source base entities
- Non-internal Source 2 base entities
- Source 2 base entities
- Source 2 base point entities
- Counter-Strike series entities
- Counter-Strike series brush entities
- Path entities
- Team Fortress 2 entities
- Team Fortress 2 path entities
- Internal Source base entities
- Cut Source base entities
- Non-internal Left 4 Dead series entities
- Left 4 Dead series entities
- Left 4 Dead series point entities
- Non-internal Left 4 Dead entities
- Left 4 Dead entities
- Left 4 Dead point entities
- Non-internal Left 4 Dead 2 entities
- Left 4 Dead 2 entities
- Left 4 Dead 2 point entities
- Non-internal Portal 2 entities
- Portal 2 entities
- Portal 2 point entities
- Team Fortress 2 point entities
- Non-internal Counter-Strike: Global Offensive entities
- Counter-Strike: Global Offensive entities
- Counter-Strike: Global Offensive point entities