Difference between revisions of "Template:ITEM infobox/doc"
From Project: Gorgon Wiki
(Moved onto correct page.) |
(No difference)
|
Revision as of 20:30, 21 October 2019
Description
- Use this template to illustrate in infobox of an item as it appears in-game.
Syntax
{{ItemT |name = |skillreqs= |description= |basemods= |value= |extra= }}
Parameters
- name
- REQUIRED. This should match the name of the item.
- skillreqs
- OPTIONAL. This field is used for items like the Windstep Shoes that have a skill-based requirement. Animal form requirements are also listed here. This text will appear red.
- description
- REQUIRED. Matches the in-game description of the item.
- basemods
- OPTIONAL. Used on gear or items that grant attributes when consumed. See examples below for details on use.
- value
- REQUIRED. The in-game value of the item.
- extra
- OPTIONAL. See next section for details.
ITEM EXTRA infobox Parameters
- craftpoints
Optional. The number of Crafting Points the item has.
- equipslot
Optional. The Equip Slot the item fits into.
- stack
Optional. The Maximum stack size for the item.
- keywords
Required. Uses KW template to add keywords to the page (and will eventually display them).
Sample item output
{{ItemT |name = Fire Dust |description = This bright red powder always feels warm to the touch. |basemods = |value = 90 |extra = {{Spoiler| |{{ITEM EXTRA infobox | stack = 99 | keywords = {{KW|AlchemyIngredient}}{{KW|FireDust}}{{KW|MagicDust}} }}}} }}
Sample gear output
{{ItemT |name = Windstep Shoes |skillreqs= Endurance 40 |description = Popular with elven messengers, these elegant cloth footwraps make your feet move much faster! But they don't protect your feet very well, so you'll need significant endurance to tolerate the numerous stubbed toes and sprained ankles. |basemods ={{Attribute|MAX_ARMOR|+25}}<br>{{Attribute|SPRINT_BOOST|+2}}<br>{{Attribute|COMBAT_REFRESH_HEALTH_DELTA|+30}}<br>{{Attribute|COMBAT_REFRESH_POWER_DELTA|+27}} |value = 150 |extra = {{Spoiler| |{{ITEM EXTRA infobox | craftpoints = 100 | equipslot = Feet | stack = 1 | keywords = {{KW|Armor}}{{KW|ArmorOrShield}}{{KW|Equipment}}{{KW|Feet}} {{KW|ClothArmor}}{{KW|ClothBoots}}{{KW|ClothDyableArmor}}{{KW|Fashionable}}{{KW|Loot}} }}}} }}