Template:Attribute/doc

From Project Gorgon
Revision as of 17:25, 7 August 2019 by BetaNotus (talk | contribs) (Adding documentation. Now to fix bugs.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Use this template whenever you want to display an Attribute from the Attributes JSON file (Treasure effect on an item)
If you only want to display an Attribute icon, or use a larger image of the icon, use the Attribute icon template.
If you only want to display an Attribute Label (what the attribute looks like in-game), use the Attribute label template.

Syntax

Type {{Attribute|name}} where you want the Attribute icon and label to display.

Parameters

name
The name of the Attribute as listed in the Attributes json.

Sample output

Basic usage
Code = Output
Template:Tlc

{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_3601.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Surge Cut Damage| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
Attribute bonus

Notes