6,366
editsAd placeholder
Template:Item icon/doc: Difference between revisions
Jump to navigation
Jump to search
Show example of UID
m (→Icon does not show up: fmt) |
(Show example of UID) |
||
Line 7: | Line 7: | ||
Usage: <pre>{{ItemIcon | Usage: <pre>{{ItemIcon | ||
|name=the name of the icon page | |name=the name of the icon page | ||
|uid=(optional) If specified, will search for this UID instead of the page name. | |||
|size=(optional) the size of the icon | |size=(optional) the size of the icon | ||
|show_name=(optional) Whether to show the name. Any value will show the name of the item as a link. Omit to hide it. | |show_name=(optional) Whether to show the name. Any value will show the name of the item as a link. Omit to hide it. | ||
Line 66: | Line 67: | ||
=== Wrap override === | === Wrap override === | ||
{{ItemIcon|name=A is for Azuth, and other Gods II|nowrap=true|show_name=true}}{{ItemIcon|name=A is for Azuth, and other Gods II|nowrap=true|show_name=true}}{{ItemIcon|name=A is for Azuth, and other Gods II|nowrap=true|show_name=true}}{{ItemIcon|name=A is for Azuth, and other Gods II|nowrap=true|show_name=true}}{{ItemIcon|name=A is for Azuth, and other Gods II|nowrap=true|show_name=true}}{{ItemIcon|name=A is for Azuth, and other Gods II|nowrap=true|show_name=true}}{{ItemIcon|name=A is for Azuth, and other Gods II|nowrap=true|show_name=true}} | {{ItemIcon|name=A is for Azuth, and other Gods II|nowrap=true|show_name=true}}{{ItemIcon|name=A is for Azuth, and other Gods II|nowrap=true|show_name=true}}{{ItemIcon|name=A is for Azuth, and other Gods II|nowrap=true|show_name=true}}{{ItemIcon|name=A is for Azuth, and other Gods II|nowrap=true|show_name=true}}{{ItemIcon|name=A is for Azuth, and other Gods II|nowrap=true|show_name=true}}{{ItemIcon|name=A is for Azuth, and other Gods II|nowrap=true|show_name=true}}{{ItemIcon|name=A is for Azuth, and other Gods II|nowrap=true|show_name=true}} | ||
=== UID search === | |||
Specifying the {{C|uid}} parameter allows for picking a specific item among a number of different items with the same name. Note that you {{strong|must}} provide the name of the item for it to display properly. | |||
<pre>* {{ItemIcon|name=Leather Armour|show_name=true}} | |||
* {{ItemIcon|name=Leather Armour|uid=ARM_Leather_Rogue|show_name=true}} | |||
* {{ItemIcon|name=Leather Armour|uid=UNI_Leather_Jaheira|show_name=true}}</pre> | |||
* {{ItemIcon|name=Leather Armour|show_name=true}} | |||
* {{ItemIcon|name=Leather Armour|uid=ARM_Leather_Rogue|show_name=true}} | |||
* {{ItemIcon|name=Leather Armour|uid=UNI_Leather_Jaheira|show_name=true}} | |||
== Related templates == | == Related templates == |