Difference between revisions of "Template:ITEM infobox"
From Project: Gorgon Wiki
m |
|||
Line 12: | Line 12: | ||
}};">{{{name|name}}}</div></div> | }};">{{{name|name}}}</div></div> | ||
|- | |- | ||
− | {{ #if:{{{skillreqs|}}}|{{pipe}}- valign="top" | + | {{ #if:{{{skillreqs|}}}|{{pipe}}- valign="top" ! style= "width:400px;" colspan="2" align="left" |
− | ! style= "width:400px;" colspan="2" align="left" | ||
{{pipe}} <div class="block2" style="color:#95263B" width:"400px;">{{{skillreqs}}}</div> | {{pipe}} <div class="block2" style="color:#95263B" width:"400px;">{{{skillreqs}}}</div> | ||
}} | }} |
Revision as of 08:53, 22 January 2020
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
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
| |||||||||
|
The above text is transcluded from Template:ITEM infobox/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:ITEM infobox/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:ITEM infobox/doc. (View all subpages of this page.)
Error: Item not found | name |
-
| |
-
| |
---|---|
Value: -
| |
- |