Difference between revisions of "Template:Item List"

From TitanRO Wiki
Jump to navigation Jump to search
(Add usage)
Line 1: Line 1:
<includeonly>https://www.divine-pride.net/img/items/item/iRO/{{{id}}}?.png {{Item |id={{{id}}} {{{item}}}}}</includeonly><noinclude>
<includeonly>https://www.divine-pride.net/img/items/item/iRO/{{{id}}}?.png {{Item | id={{{id}}} | text={{{item}}}}}</includeonly>
{{Item List |id=501 |item=Potion}}
 
<noinclude>
== Usage ==
This template outputs an item's icon and text. The text links to the item in the TitanRO Control Panel.
 
{| 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>

Revision as of 03:10, 7 May 2018


Usage

This template outputs an item's icon and text. The text links to the item in the TitanRO Control Panel.

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