Difference between revisions of "Template:Item List"

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


[[Category:Templates|Item List]]
[[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