Template:ItemLocation/doc: Difference between revisions

m 5 revisions: importing Template namespace from Wikia
No edit summary
 
Line 1: Line 1:
The ItemLocation template is used to display the location of items in Dragon Quest games.  It is specifically used to display the locations of a '''single item''' in a '''single game'''.
The ItemLocation template is used to display the location of items in {{Main Series}} games.  It is specifically used to display the locations of a '''single item''' in a '''single game'''.


==Usage==
==Usage==
Line 5: Line 5:
===Header===
===Header===
A header call to this template should be the first usage of this template on any page.
A header call to this template should be the first usage of this template on any page.
<pre>{{ItemLocation|header|name=medicinal herb|console=GBC}}</pre>
<pre>{{ItemLocation|header|name=Medicinal herb|console={{GBC}}}}</pre>
*'''header''': A required parameter which marks this as the start of an item location table.
*'''header''': A required parameter which marks this as the start of an item location table.
*'''name''': The name of the item.  Should be the localization name of the game in which it appears.
*'''name''': The name of the item.  Should be the localization name of the game in which it appears.
Line 21: Line 21:
==Example==
==Example==
===Sample===
===Sample===
{{ItemLocation|header|name=iron shield|console=GBC}}
{{ItemLocation|header|name=iron shield|console={{GBC}}}}
{{ItemLocation|entry|location=Various locations|info=Werewolf item drop}}
{{ItemLocation|entry|location=Various locations|info=Werewolf item drop}}
{{ItemLocation|entry|location=[[Garinham]]|info=Treasure chest on 2F of inn}}
{{ItemLocation|entry|location=[[Galenholm|Garinham]]|info=Treasure chest on 2F of inn}}
{{ItemLocation|entry|location=[[Kol]]|info=Given by townsperson}}
{{ItemLocation|entry|location=[[Kol]]|info=Given by townsperson}}
{{ItemLocation|entry|location=[[Mercado]]|info=Sold at weapon shop (1000g)}}
{{ItemLocation|entry|location=[[Cantlin|Mercado]]|info=Sold at weapon shop (1000g)}}
{{ItemLocation|footer}}
{{ItemLocation|footer}}
===Code===
===Code===
Line 31: Line 31:
{{ItemLocation|header|name=iron shield|console=GBC}}
{{ItemLocation|header|name=iron shield|console=GBC}}
{{ItemLocation|entry|location=Various locations|info=Werewolf item drop}}
{{ItemLocation|entry|location=Various locations|info=Werewolf item drop}}
{{ItemLocation|entry|location=[[Garinham]]|info=Treasure chest on 2F of inn}}
{{ItemLocation|entry|location=[[Garinham]]|info=[[Treasure chest]] on 2F of inn}}
{{ItemLocation|entry|location=[[Kol]]|info=Given by townsperson}}
{{ItemLocation|entry|location=[[Kol]]|info=Given by townsperson}}
{{ItemLocation|entry|location=[[Mercado]]|info=Sold at weapon shop (1000g)}}
{{ItemLocation|entry|location=[[Cantlin|Mercado]]|info=Sold at weapon shop (1000g)}}
{{ItemLocation|footer}}
{{ItemLocation|footer}}
</pre>
</pre>