Difference between revisions of "Template:Itemlink"
Jump to navigation
Jump to search
(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) |
m |
||
| Line 1: | Line 1: | ||
| − | <includeonly>https://static.divine-pride.net/images/items/item/{{{id}}}.png |
+ | <includeonly>https://static.divine-pride.net/images/items/item/{{{id}}}.png [https://www.divine-pride.net/database/item/{{{id}}} {{{item}}}]</includeonly><noinclude> |
Template for cleanly adding an icon to an item name, plus linking it to Divine Pride's database. |
Template for cleanly adding an icon to an item name, plus linking it to Divine Pride's database. |
||
Latest revision as of 11:39, 10 December 2025
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
Apple of Archer
Using {{Itemlink|id=2285|item=5 Apple of Archer}} will result into
5 Apple of Archer
Using {{Itemlink|id=2285|item=Apple of Archer [2]}} will result into
Apple of Archer [2]