Difference between revisions of "Template:ITEM infobox/doc"
From Project: Gorgon Wiki
m (Added optional quality field.) |
m (slightly reworded the quality section regarding defaults (no functional change)) |
||
Line 19: | Line 19: | ||
: REQUIRED. This should match the name of the item. | : REQUIRED. This should match the name of the item. | ||
; quality | ; quality | ||
− | : OPTIONAL. This field is used to change the color of the name of the item | + | : OPTIONAL. This field is used to change the color of the name of the item. Options are common, uncommon, rare, exceptional, epic, legendary. Defaults to common (white). |
; skillreqs | ; 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. | : 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. |
Latest revision as of 10:14, 5 December 2020
Description
- Use this template to illustrate in infobox of an item as it appears in-game.
Syntax
{{ITEM infobox |name = |skillreqs= |description= |basemods= |value= |extra= }}
Parameters
- name
- REQUIRED. This should match the name of the item.
- quality
- OPTIONAL. This field is used to change the color of the name of the item. Options are common, uncommon, rare, exceptional, epic, legendary. Defaults to common (white).
- 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
{{ITEM infobox |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}} }}}} }}
Fire Dust | |||||
This bright red powder always feels warm to the touch.
| |||||
Value: 90
| |||||
---|---|---|---|---|---|
|
Sample gear output
{{ITEM infobox |name = Windstep Shoes |quality= legendary |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}} }}}} }}
Windstep Shoes | |||||||||
Endurance 40
| |||||||||
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.
| |||||||||
Max Armor
+25
Sprint Speed Boost
+2
Health from Combat Refresh Abilities
+30
Power from Combat Refresh Abilities
+27 | |||||||||
---|---|---|---|---|---|---|---|---|---|
Value: 150
| |||||||||
|