Template:Loot/doc: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Donni Iris (talk | contribs)
thanks to includeonly on the template you can now put examples here
Donni Iris (talk | contribs)
reference other templates with the template template.... template
 
Line 1: Line 1:
== Description ==
== Description ==
:This template is a modified version of [[Template:Item]] which displays the item icon, a link to the item, '''AND''' adds a Loot category to the page. (See [[:Category:Loot|Loot categories]]
:This template is a modified version of {{T|Item}} which displays the item icon, a link to the item, '''AND''' adds a Loot category to the page. (See [[:Category:Loot|Loot categories]])
:If you only want to display an item's icon and name, use [[Template:Item]].
:If you only want to display an item's icon and name, use {{T|Item}}.
:If you only want to display an item's icon, or use a larger image of the icon, use the [[Template:Item_icon|Item icon]] template.
:If you only want to display an item's icon, or use a larger image of the icon, use {{T|Item_icon}}.
:If you need the icon for an ability, use the template for [[Template:Ability_icon|Ability icon]].
:If you need the icon for an ability, use {{T|Ability icon}}.


== Syntax ==
== Syntax ==

Latest revision as of 20:50, 24 March 2026

Description

This template is a modified version of {{Item}} which displays the item icon, a link to the item, AND adds a Loot category to the page. (See Loot categories)
If you only want to display an item's icon and name, use {{Item}}.
If you only want to display an item's icon, or use a larger image of the icon, use {{Item_icon}}.
If you need the icon for an ability, use {{Ability icon}}.

Syntax

Type {{Loot|Item name}} or {{Loot|Icon|Item name}} where you want the item icon and link to display.

Parameters

Icon
OPTIONAL name of icon to use if different than item name.
Item name
The correct capitalized name of the item.

Samples

{{Loot|Potato}}
{{Loot|Alchemy: Weak Poison For Knives}}