Template:Loot: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Donni Iris (talk | contribs)
add includeonly so doc page does not show error ; category now only applies to pages in main ; comment formatting
Donni Iris (talk | contribs)
mNo edit summary
Line 10: Line 10:




--><!-- additional stuff --><!--
-->{{#switch:{{NAMESPACE}}<!--  
-->{{#switch:{{NAMESPACE}}<!--  
     -->|<!--main-->=<!--
     -->|<!--main-->=<!--
            --><!-- Automatically categorize pages which use this template --><!--
                --><!-- automatically categorize pages which use this template --><!--
            -->{{ #if: {{{Icon}}} | [[Category:Loot/{{{1|Item name}}}]] }}<!--
                -->{{ #if: {{{Icon|}}} | [[Category:Loot/{{{1|Item name}}}]] }}<!--
     -->|Category=<!--  
     -->|Category=<!--  
     -->|Template=<!--  
     -->|Template=<!--  

Revision as of 20:48, 24 March 2026

Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

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}}
The above text is transcluded from Template:Loot/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:Loot/doc. (View all subpages of this page.)