Template:Cvar

From AddOn Studio
Jump to navigation Jump to search

Use this at the top of all WoW client cvar information pages. Any pages with this template will be added to Category:Console variables. Uses {{Removedcvar}}.

Usage
  • 1 [api|notoc|removed] - Default is 'api'.
    • notoc - don't include wiki TOC
    • removed - marks the cvar as removed
    • api - not removed, still in the api
  • 2 - game version, like 2.2.0. used for 'removed' option
{{cvar}}
{{cvar|notoc}}
{{cvar|<state>|<version>}}
Examples
{{cvar}} - use on any CVar information page, even category pages, that are related to CVars
{{cvar|notoc}} - for pages that have a TOC, that are having issues with the TOC
{{cvar|removed|2.2.2}} - for individual CVar item pages, to change the active state of the CVar item



Template

Console variables