Difference between revisions of "Template:Item"

From TRO Wiki
Jump to navigation Jump to search
(Errrmm ill make it really simple for now)
m
 
Line 3: Line 3:
 
Template for cleanly adding an icon to an item name. It's very rudimentary for now.
 
Template for cleanly adding an icon to an item name. It's very rudimentary for now.
 
If the item has slots, you can simply add it under the item name.
 
If the item has slots, you can simply add it under the item name.
  +
  +
If you want the text to link to Divine Pride database, use '''[[Template:Itemlink]]'''.
   
 
== Syntax ==
 
== Syntax ==

Latest revision as of 11:40, 10 December 2025


Template for cleanly adding an icon to an item name. It's very rudimentary for now. If the item has slots, you can simply add it under the item name.

If you want the text to link to Divine Pride database, use Template:Itemlink.

Syntax

{{Item|id=|item=}}

Parameters
id
The unique id of the item.
item
The name of the item. Include item numbers or slots if needed.

Example

Using {{Item|id=2285|item=Apple of Archer}} will result into 2285.png Apple of Archer

Using {{Item|id=2285|item=5 Apple of Archer}} will result into 2285.png 5 Apple of Archer

Using {{Item|id=2285|item=Apple of Archer [2]}} will result into 2285.png Apple of Archer [2]