Template:Item

From Median-XL
Revision as of 10:30, 27 April 2024 by Nugwa (talk | contribs) (Created page with "<noinclude> ==Usage== This template is for easily adding items. It styles the various parts of the text and uses other templates to format the item text. Parameters: <nowiki>{{Item|img|name|color|desc|base|stats}}</nowiki> *img - the image link (only internal wiki link) *name - the item name *color - the color of the item name *desc - description of the item, under the name, but before the stats *base - the base stats of the item (white) *stats - the magic stats of the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

This template is for easily adding items. It styles the various parts of the text and uses other templates to format the item text.

Parameters: {{Item|img|name|color|desc|base|stats}}

  • img - the image link (only internal wiki link)
  • name - the item name
  • color - the color of the item name
  • desc - description of the item, under the name, but before the stats
  • base - the base stats of the item (white)
  • stats - the magic stats of the item (blue)

Example (uses Template:Color and Template:Lines):

{{Item
|img=LC0_c.png
|name=Some Charm
|color=Unique
|desc={{Color|Purple|Keep in Inventory to Gain Bonus}}
|base=Defense: 1000
|stats={{Lines|Indestructible|Socketed (6)}}
}}

This produces:

File:LC0 c.png
Some Charm
Keep in Inventory to Gain Bonus
Defense: 1000
Indestructible
Socketed (6)