Bureaucrats, editor, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
47,390
edits
No edit summary |
No edit summary |
||
Line 1:
{{
{{invokes|Infobox Item}}
{{ToC|left}}
{{clear}}
{{Standard infobox parameters}}
==
===
The
===
The index of the Var, which should always be a number.
==
The name of the Varbit or Varplayer. There are no official names, but names should generally reflect the usage of the Var. This param is optional, and if it is not included, the name defaults to "Varbit X" or "Varplayer X". If used on pages other than <nowiki>RS:Varbit/X</nowiki> or <nowiki>RS:Varplayer/X</nowiki>, note that this param should be set in order to avoid strange default names being generated from the title of the page.
===content===
The content that the Var is used for, as a link. If the Var is used in multiple pieces of content, this should be explained in prose with this param set to "Multiple". If the Var is used in a way that would not be considered content, this param should be set to "Other".
===class===
The class of the Var, which describes how the Var's value is interpreted. The following classes are supported with categories.
* '''Enum''' - Denotes a Var where each value is interpreted as a different state.
* '''Switch''' - Denotes a Var with two values, typically 0 and 1, where one state is interpreted as ON and the other OFF.
* '''Bitmap''' - Denotes a Var where the value of the Var is not interpreted as a single unit. Instead, each bit or groups of bits in the Var are interpreted separately.
* '''Counter''' - Denotes a Var where the value is interpreted as a counter, usually counting up or down incrementally.
* '''Other''' - Denotes a Var which does not fall into any of the above categories.
|