Template:Item

From Project: Gorgon Wiki
Jump to: navigation, search
Error: Item not found
 
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Description

Use this template whenever you want the item icon and link (to the item's Wiki page) to display.
If you only want to display an item's icon, or use a larger image of the icon, use the Item icon template.
If you need the icon for an ability, use the template for Ability icon.

Syntax

Type {{|Item|Item name}} where you want the item icon and link to display.

Parameters

Icon
OPTIONAL name of icon to use if different than item name.
Item name
The correct capitalized name of the item.

Sample output

Basic usage
Code = Output
{{Item|Saltpeter}}
Complex example
Use alternate icon and link with alternate text. Note usage of {{pipe}} to distinguish from normal template arguments:
Code = Output
{{Item|Icon=Beginner's Arrow|Archery{{pipe}}Learn Archery}}

Notes

  • Uses the new Template:Item icon template.
  • WHY? To support enhancements in {{Vendor item row}} template.
The above text is transcluded from Template:Item/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror ) and testcases (create) pages.
Please add categories and interwikis to Template:Item/doc. (View all subpages of this page.)