Template:ItemAvailability: Difference between revisions
From The Pokemon Insurgence Wiki
(Creating template for Item Locations page) |
m (syntax fix) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly> | ||
|- style="background:#FFFFFF; vertical-align:top;" | |- style="background:#FFFFFF; vertical-align:top; padding:4px;" id="{{{1|Potion}}}" | ||
| style="background:#FFFFFF; white-space:nowrap; font-weight:normal; | | style="background:#FFFFFF; white-space:nowrap; font-weight:normal;" align=left | [[File:{{{1|Potion}}}.png|24px|link=]] {{{display|[[{{IItem|{{{1|Potion}}}}}|{{{1|Potion}}}]]}}} | ||
| {{{2|—}}} | | {{{2|—}}} | ||
| {{{3|—}}}<noinclude> | | {{{3|—}}}</includeonly><noinclude> | ||
|} [[Category:Table templates]]</noinclude> | The following is documentation for using the [[Template:ItemAvailability/head]], [[Template:ItemAvailability]], and [[Template:ItemAvailability/foot]] templates to display all methods for obtaining items throughout the game.<br><br> | ||
[[Template:ItemAvailability/head]] is used to start the table. It has two parameters: | |||
* 1: Color scheme corresponding to bag pocket color; can be Item, Medicine, Poké Ball, TMs and HMs, Berries, Mega Stones, Clothes, or Key Items | |||
* width: percentage width of overall table, if this parameter is not specified, the table will autosize, if specified with no value, default value is 100% | |||
<br> | |||
[[Template:ItemAvailability]] is used to add entries to the table. It has four parameters: | |||
* 1: Item name | |||
* 2: List of finite methods for obtaining the item | |||
* 3: List of repeatable methods for obtaining the item | |||
* display: Used if display/item name is different from sprite file name | |||
<br> | |||
[[Template:ItemAvailability/foot]] is used to end the table. It has one parameter: | |||
* 1: Color scheme corresponding to bag pocket color; should be the same as the value in ItemAvailability/head | |||
<br> | |||
Example usage: | |||
{{ItemAvailability/head|Items}} | |||
{{ItemAvailability|Potion|[[Telnor Town]]|[[Helios Department Store]]}} | |||
{{ItemAvailability|IV Stone||[[Battle Frontier]]}} | |||
{{ItemAvailability|BlackBelt||[[Battle Frontier]]|display=[[bulbapedia:Black Belt|Black Belt]]}} | |||
{{ItemAvailability/foot|Items}} | |||
[[Category:Table templates]] | |||
</noinclude> |
Latest revision as of 16:54, 21 December 2022
The following is documentation for using the Template:ItemAvailability/head, Template:ItemAvailability, and Template:ItemAvailability/foot templates to display all methods for obtaining items throughout the game.
Template:ItemAvailability/head is used to start the table. It has two parameters:
- 1: Color scheme corresponding to bag pocket color; can be Item, Medicine, Poké Ball, TMs and HMs, Berries, Mega Stones, Clothes, or Key Items
- width: percentage width of overall table, if this parameter is not specified, the table will autosize, if specified with no value, default value is 100%
Template:ItemAvailability is used to add entries to the table. It has four parameters:
- 1: Item name
- 2: List of finite methods for obtaining the item
- 3: List of repeatable methods for obtaining the item
- display: Used if display/item name is different from sprite file name
Template:ItemAvailability/foot is used to end the table. It has one parameter:
- 1: Color scheme corresponding to bag pocket color; should be the same as the value in ItemAvailability/head
Example usage:
Item | Finite methods | Repeatable methods | |
---|---|---|---|
Potion | Telnor Town | Helios Department Store | |
IV Stone | Battle Frontier | ||
Black Belt | Battle Frontier | ||