Difference between revisions of "Template:Item List"

From TitanRO Wiki
Jump to navigation Jump to search
(→‎Usage: Add instructions about ID location)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>https://www.divine-pride.net/img/items/item/iRO/{{{id}}}?.png {{Item |id={{{id}}} |name={{{name}}}}}</includeonly>
<includeonly><span>https://www.divine-pride.net/img/items/item/iRO/{{{id}}}?.png {{Item |id={{{id}}} |text={{{item}}}}}</span></includeonly><noinclude>
<noinclude>
== Usage ==
{{Item List |item=501 |name=Potion}}
This template outputs an item's icon and text. The text links to the item in the TitanRO Control Panel. The id comes from [https://www.divine-pride.net/ Divine Pride].
 
{| class="wikitable"
! style="background-color:#9aff99;" | Usage
! style="background-color:#9aff99;" | Output
|-
| <nowiki>{{Item List |id=501 |item=Potion}}</nowiki>
| {{Item List |id=501 |item=Potion}}
|}
 
[[Category:Templates|Item List]]
</noinclude>
</noinclude>

Latest revision as of 13:56, 20 May 2018

Usage

This template outputs an item's icon and text. The text links to the item in the TitanRO Control Panel. The id comes from Divine Pride.

Usage Output
{{Item List |id=501 |item=Potion}} 501?.png Potion