Difference between revisions of "Template:ShopItem"

From elanthipedia
Jump to: navigation, search
(Warnings)
 
Line 22: Line 22:
 
==Warnings==
 
==Warnings==
 
The final column will display a number of error codes:
 
The final column will display a number of error codes:
:<font color="red">!!</font> links to a that is incomplete.
+
:<font color="red">!!</font> links to a page that is incomplete.
 +
:<font color="red">No</font> indicates a redlink (used for successful population of the ''Fest'' template).
 
:!! links to a page that is outdated.
 
:!! links to a page that is outdated.
 
:<font color="red">DG</font> links to a disambiguation page.
 
:<font color="red">DG</font> links to a disambiguation page.
 
{{cat|Shop templates,Templates}}</noinclude>
 
{{cat|Shop templates,Templates}}</noinclude>

Latest revision as of 15:31, 13 August 2019

Usage Documentation:

{{ShopItem|t=type|item|note=notes|price}}

OR

{{ShopItem|t=type|item page name|name=name displayed|note=notes|price}}

The case of the text used will not matter. All entries not included in the notes section will be reduced to lower case and the first letter capitalized.
The notes will display in italics to the right of the main entry.
Use the second one if you wish the display name to be different from the page it links to.
Use the type field to declare the namespace, (n=none,i=item,w=weapon,s=shield,a=armor)

If the link needs to be disabled, add "t=nl".

NOTE: You do not need to input the coin type. Also, do not include the article (a, an, some) in the item; it will cause issues with linking.

Warnings

The final column will display a number of error codes:

!! links to a page that is incomplete.
No indicates a redlink (used for successful population of the Fest template).
!! links to a page that is outdated.
DG links to a disambiguation page.