Template:Itemlink

From TRO Wiki
Revision as of 11:37, 10 December 2025 by DualDisc (talk | contribs) (Since "if" statements doesn't seem to work, I'll make an alt template for items that link to DP database... Lets see if this works)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Template for cleanly adding an icon to an item name, plus linking it to Divine Pride's database.

WARNING: Since TRO is a highly customized server, please check if the DP version is accurate to the in-game item. If it's different, use Template:Item instead to add icon without the DP link.

Syntax

{{Itemlink|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 {{Itemlink|id=2285|item=Apple of Archer}} will result into 2285.png [of Archer]

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

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