Template:ItemLocation/doc: Difference between revisions

mNo edit summary
mNo edit summary
Line 11: Line 11:
<pre>{{ItemLocation|entry|location=[[Tantegel Castle]]|info=Treasure chest on B2 left corner|console=NES,GBC}}</pre>
<pre>{{ItemLocation|entry|location=[[Tantegel Castle]]|info=Treasure chest on B2 left corner|console=NES,GBC}}</pre>
*entry: A required parameter which marks this as a single location table entry.
*entry: A required parameter which marks this as a single location table entry.
*location: Location of the item.  Should be an interwiki link to a specific place if applicable.  Otherwise, should be an appropriate description (i.e. Overworld near Rimuldar).  For things like enemy item drops, this should just be something generic like 'Various Locations', however '''this only applies to random occurences'''.
*location: Location of the item.  Should be an interwiki link to a specific place if applicable.  Otherwise, should be an appropriate description (i.e. Overworld near Rimuldar).  For things like enemy item drops, this should just be something generic like 'Various Locations', however '''this only applies to random occurences'''.  Also, if the current game has more than one console version and the item does not appear in this location in all versions, it should noted which versions it does appear in using parentheses (i.e. (NES, GBC)).
*info: Additional information textCan be a description of where the item is located within the location or other additional info.
*info: This should be informative text about the item in the location parameter.  If the item is sold in a shop, the price should be listed here.
*console: The console version of the game. '''Note:''' This parameter should contain multiple console values separated by commas if the location and notes parameters are the same.
===Footer===
===Footer===
The footer call marks the end of the location table.
The footer call marks the end of the location table.
Line 21: Line 20:
===Sample===
===Sample===
{{ItemLocation|header}}
{{ItemLocation|header}}
{{ItemLocation|entry|location=Various locations|info=Werewolf item drop|console=GBC}}
{{ItemLocation|entry|location=Various locations (GBC)|info=Werewolf item drop}}
{{ItemLocation|entry|location=[[Garinham]]|info=Treasure chest on 2F of inn|console=NES,GBC}}
{{ItemLocation|entry|location=[[Garinham]] (NES, GBC)|info=Treasure chest on 2F of inn}}
{{ItemLocation|entry|location=[[Kol]]|info=Given by townsperson|console=SNES}}
{{ItemLocation|entry|location=[[Kol]] (SNES)|info=Given by townsperson}}
{{ItemLocation|entry|location=[[Mercado]] (NES)|info=Sold at weapon shop (1000g)}}
{{ItemLocation|footer}}
{{ItemLocation|footer}}
===Code===
===Code===
<pre>
<pre>
{{ItemLocation|header}}
{{ItemLocation|header}}
{{ItemLocation|entry|location=Various locations|info=Werewolf item drop|console=GBC}}
{{ItemLocation|entry|location=Various locations (GBC)|info=Werewolf item drop}}
{{ItemLocation|entry|location=[[Garinham]]|info=Treasure chest on 2F of inn|console=NES,GBC}}
{{ItemLocation|entry|location=[[Garinham]] (NES, GBC)|info=Treasure chest on 2F of inn}}
{{ItemLocation|entry|location=[[Kol]]|info=Given by townsperson|console=SNES}}
{{ItemLocation|entry|location=[[Kol]] (SNES)|info=Given by townsperson}}
{{ItemLocation|footer}}
{{ItemLocation|entry|location=[[Mercado]] (NES)|info=Sold at weapon shop (1000g)}}
{{ItemLocation|footer}
</pre>
</pre>