Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 00:55, 27 May 2024 by imported>Simsarmy
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Template loop detected: Template:SC/Feature/doc
The above text is transcluded from Template:SC/Feature/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:SC/Feature/doc. (View all subpages of this page.)

Usage

<syntaxhighlight lang="html"> Template:Feature </syntaxhighlight>

The in-game description can also be left empty, in which case the lore description will be emphasised.

<syntaxhighlight lang="html"> Template:Feature </syntaxhighlight>

Parameters

<templatedata>

   {
       "description": "Include this template on pages with features, such as vehicles. This template separates in-lore and in-game descriptions and provides a way to mark features with versions.",
       "params": {
           "name": {
               "label": "Name of the feature",
               "description": "A brief description of the feature",
               "type": "string",
               "required": true,
               "example": "Medical bed"
           },
           "inlore": {
               "label": "In-lore description of the feature",
               "description": "The description as provided by CIG which is typically in the voice of the game's universe",
               "type": "string",
               "required": true,
               "example": "The Ursa Medivac's T3 med-bed on board efficiently treats severely wounded infantry, allowing them to quickly return to combat."
           },
           "ingame": {
               "label": "In-game description of the feature",
               "description": "A description of the feature in-game or how it functions, ignore this if the feature only exists in lore",
               "type": "string",
               "required": false,
               "example": "The medical bed can be interacted with in-game to heal the player and allow respawns"
           },
           "version": {
               "label": "Version of the game",
               "description": "The version of the game in which the feature was added or last updated, if applicable",
               "type": "string",
               "required": false,
               "example": "Alpha 3.23.1"
           }
       }
   }

</templatedata>

Preview

With in-game description

Template:Feature

With lore description only

Template:Feature