Template:This is a/doc
< Template:This is a(Redirected from Template:Format/doc)
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.
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:
Note:Template will not add entity categories and change titles when using non-entity type (such as
console variable ). |
This is a incredible entity available in all Source games.
This is a brush entity available in all GoldSrc games.
| |
{{{shader}}} {{{shader1}}} ~{{{shader5}}}
|
The shader that a parameter is in (only works if {{{1}}} is equal to shader parameter ). Extra parameters allow you to specify multiple shaders.
|
$lightmap is a material shader parameter for the VertexLitGeneric shader available in Source 2013 Multiplayer and Garry's Mod. | |
{{{dx}}}
|
Add DirectX levels inline text.
Available versions:
|
$lightwarptexture (DX8) is a material shader parameter for the VertexLitGeneric shader available in all Source games since Source 2006. $lightwarptexture (DX9+) is a material shader parameter for the VertexLitGeneric shader available in all Source games since Source 2006. $lightwarptexture (DX9.0c+) is a material shader parameter for the VertexLitGeneric shader available in all Source games since Source 2006. | |
{{{engine}}} {{{engine1}}} {{{engine2}}}
|
Which engine the subject belongs to.
Important:To add multiple engines, please use parameter
{{{engine1}}} (secondary engine) and {{{engine2}}} (tertiary engine) with {{{engine}}} (primary engine) at the same time. |
||
{{{except}}}
|
This is available in all other games except this one. Note:Works without
{{{game}}} . |
||
{{{since}}}
|
This is available since this game. Note:Works without
{{{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. Note:Works without
{{{series}}} . |
This is a path entity available in Team Fortress 2.
| |
{{{notitlechange}}}
|
You can prevent title-changing from the template by using this parameter. Used in the /doc page.
|
||
{{{internal}}}
|
If enabled, "cut" will be displayed before "entity" and a category will be added to the page. | ||
{{{cut}}}
|
If enabled, "cut" will be displayed before "(internal) ... entity" and a category will be added to the page. | ||
{{{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. Note:Once you have used the {{{game1}}} , the style of the template will be changed. The {{{game}}} is necessary for displaying the first game.Note:Works without
{{{series}}} . |
This is a point entity available in Left 4 Dead, Left 4 Dead 2, Portal 2, Team Fortress 2, Portal 2, and Counter-Strike: Global Offensive.
| |
{{{nocat}}}
|
Don't place any categories. | N/A | |
{{{except-multi}}}
|
Similar to {{{except}}} , but can specify multiple games simultaneously. Note:Unsupport placing categories.
|