Template:Shop/doc: Difference between revisions
Pale Prism (talk | contribs) m (→Examples) |
Thespeon196 (talk | contribs) m (relink after list of decorations page moves) |
||
Line 238: | Line 238: | ||
===Shop that sells decorations=== | ===Shop that sells decorations=== | ||
{{shop|Secret Power Club shop}} | {{shop|Secret Power Club shop}} | ||
{{shoprow|{{shopdec|Red Brick|RedBrickSprite|500|6=List of decorations | {{shoprow|{{shopdec|Red Brick|RedBrickSprite|500|6=List of decorations in Generation III#Red Brick}}|{{shopdec|Blue Brick|BlueBrickSprite|500|6=List of decorations in Generation III#Blue Brick}}}} | ||
{{shoprow|{{shopdec|Yellow Brick|YellowBrickSprite|500|6=List of decorations | {{shoprow|{{shopdec|Yellow Brick|YellowBrickSprite|500|6=List of decorations in Generation III#Yellow Brick}}|{{shopdec|Red Balloon|RedBalloonSprite|500|6=List of decorations in Generation III#Red Balloon}}}} | ||
{{shoprow|{{shopdec|Blue Balloon|BlueBalloonSprite|500|6=List of decorations | {{shoprow|{{shopdec|Blue Balloon|BlueBalloonSprite|500|6=List of decorations in Generation III#Blue Balloon}}|{{shopdec|Yellow Balloon|YellowBalloonSprite|500|6=List of decorations in Generation III#Yellow Balloon}}}} | ||
{{shoprow|{{shopdec|C Low Note Mat|NoteMatSprite|500|6=List of decorations | {{shoprow|{{shopdec|C Low Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#C Low Note Mat}}|{{shopdec|D Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#D Note Mat}}}} | ||
{{shoprow|{{shopdec|E Note Mat|NoteMatSprite|500|6=List of decorations | {{shoprow|{{shopdec|E Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#E Note Mat}}|{{shopdec|F Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#F Note Mat}}}} | ||
{{shoprow|{{shopdec|G Note Mat|NoteMatSprite|500|6=List of decorations | {{shoprow|{{shopdec|G Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#G Note Mat}}|{{shopdec|A Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#A Note Mat}}}} | ||
{{shoprow|{{shopdec|B Note Mat|NoteMatSprite|500|6=List of decorations | {{shoprow|{{shopdec|B Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#B Note Mat}}|{{shopdec|C High Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#C High Note Mat}}}} | ||
{{shopfooter}} | {{shopfooter}} | ||
Line 250: | Line 250: | ||
<pre> | <pre> | ||
{{shop|Secret Power Club shop}} | {{shop|Secret Power Club shop}} | ||
{{shoprow|{{shopdec|Red Brick|RedBrickSprite|500|6=List of decorations | {{shoprow|{{shopdec|Red Brick|RedBrickSprite|500|6=List of decorations in Generation III#Red Brick}}|{{shopdec|Blue Brick|BlueBrickSprite|500|6=List of decorations in Generation III#Blue Brick}}}} | ||
{{shoprow|{{shopdec|Yellow Brick|YellowBrickSprite|500|6=List of decorations | {{shoprow|{{shopdec|Yellow Brick|YellowBrickSprite|500|6=List of decorations in Generation III#Yellow Brick}}|{{shopdec|Red Balloon|RedBalloonSprite|500|6=List of decorations in Generation III#Red Balloon}}}} | ||
{{shoprow|{{shopdec|Blue Balloon|BlueBalloonSprite|500|6=List of decorations | {{shoprow|{{shopdec|Blue Balloon|BlueBalloonSprite|500|6=List of decorations in Generation III#Blue Balloon}}|{{shopdec|Yellow Balloon|YellowBalloonSprite|500|6=List of decorations in Generation III#Yellow Balloon}}}} | ||
{{shoprow|{{shopdec|C Low Note Mat|NoteMatSprite|500|6=List of decorations | {{shoprow|{{shopdec|C Low Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#C Low Note Mat}}|{{shopdec|D Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#D Note Mat}}}} | ||
{{shoprow|{{shopdec|E Note Mat|NoteMatSprite|500|6=List of decorations | {{shoprow|{{shopdec|E Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#E Note Mat}}|{{shopdec|F Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#F Note Mat}}}} | ||
{{shoprow|{{shopdec|G Note Mat|NoteMatSprite|500|6=List of decorations | {{shoprow|{{shopdec|G Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#G Note Mat}}|{{shopdec|A Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#A Note Mat}}}} | ||
{{shoprow|{{shopdec|B Note Mat|NoteMatSprite|500|6=List of decorations | {{shoprow|{{shopdec|B Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#B Note Mat}}|{{shopdec|C High Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#C High Note Mat}}}} | ||
{{shopfooter}} | {{shopfooter}} | ||
</pre> | </pre> | ||
Line 264: | Line 264: | ||
{{shoprow|{{shopitem|Blue Flute|250|Steps}}|{{shopitem|Red Flute|500|Steps}}}} | {{shoprow|{{shopitem|Blue Flute|250|Steps}}|{{shopitem|Red Flute|500|Steps}}}} | ||
{{shoprow|{{shopitem|Yellow Flute|500|Steps}}|{{shopitem|Black Flute|1000|Steps}}}} | {{shoprow|{{shopitem|Yellow Flute|500|Steps}}|{{shopitem|Black Flute|1000|Steps}}}} | ||
{{shoprow|{{shopitem|White Flute|1000|Steps}}|{{shopdec|Pretty Desk|PrettyDeskSprite|8000|steps|6=List of decorations | {{shoprow|{{shopitem|White Flute|1000|Steps}}|{{shopdec|Pretty Desk|PrettyDeskSprite|8000|steps|6=List of decorations in Generation III#Pretty Desk}}}} | ||
{{shoprow|{{shopdec|Pretty Chair|PrettyChairSprite|6000|steps|6=List of decorations | {{shoprow|{{shopdec|Pretty Chair|PrettyChairSprite|6000|steps|6=List of decorations in Generation III#Pretty Chair}}}} | ||
{{shopfooter}} | {{shopfooter}} | ||
Line 273: | Line 273: | ||
{{shoprow|{{shopitem|Blue Flute|250|Steps}}|{{shopitem|Red Flute|500|Steps}}}} | {{shoprow|{{shopitem|Blue Flute|250|Steps}}|{{shopitem|Red Flute|500|Steps}}}} | ||
{{shoprow|{{shopitem|Yellow Flute|500|Steps}}|{{shopitem|Black Flute|1000|Steps}}}} | {{shoprow|{{shopitem|Yellow Flute|500|Steps}}|{{shopitem|Black Flute|1000|Steps}}}} | ||
{{shoprow|{{shopitem|White Flute|1000|Steps}}|{{shopdec|Pretty Desk|PrettyDeskSprite|8000|steps|6=List of decorations | {{shoprow|{{shopitem|White Flute|1000|Steps}}|{{shopdec|Pretty Desk|PrettyDeskSprite|8000|steps|6=List of decorations in Generation III#Pretty Desk}}}} | ||
{{shoprow|{{shopdec|Pretty Chair|PrettyChairSprite|6000|steps|6=List of decorations | {{shoprow|{{shopdec|Pretty Chair|PrettyChairSprite|6000|steps|6=List of decorations in Generation III#Pretty Chair}}}} | ||
{{shopfooter}} | {{shopfooter}} | ||
</pre> | </pre> | ||
<noinclude>[[Category:Documentation templates]]</noinclude> | <noinclude>[[Category:Documentation templates]]</noinclude> |
Latest revision as of 20:04, 14 August 2024
The following is a documentation guide for using the {{Shop}}
, {{Shoprow}}
, {{Shopitem}}
, {{Shopmon}}
, {{Shopdec}}
and {{Shopfooter}}
templates.
Shop
The shop template begins a new shop table for displaying a list of items and Pokémon for sale. The shop template should be followed by the appropriate number of shoprow and shopitem, shopmon or shopdec templates, and terminated by the shopfooter template.
Usage
The shop template takes a single parameter used for identification. This applies when 2 shop counters are located in the same building or on multiple floors, or shops which appear in multiple generations of games. It should be left blank except in cases of ambiguity.
Parameters:
- 1: unique shop identifier, normally shop's location
- Examples would include: Generation II, Left Counter, or 2nd Floor.
Shoprow
The shoprow template designates a single row in a table. Each shop row consists of 2 columns displaying items or Pokémon being sold.
Usage
The shoprow template takes 2 parameters, both of which are shopitem, shopmon or shopdec templates.
Parameters:
- 1: first column shop item (instance of {{shopitem}}, {{shopmon}} or {{shopdec}})
- 2: second column shop item (instance of {{shopitem}}, {{shopmon}} or {{shopdec}})
Shopitem
The shopitem template is used to display a single item for sale in a shop table.
Template fields
The shopitem template takes the following fields:
- 1: item name. The template will link to a page with this exact name.
- display - Override the name displayed for the item.
- For example: the Leek was called "Stick" in Generations I - VII. Therefore, field 1 must be "Leek" to link to the correct page, but the display field should be "Stick" on pages written in the context of Generations I - VII.
- display - Override the name displayed for the item.
- 6: move name, used specifically for TM, HM, or TR items which teach a move.
Currency
- 2: item price.
- 3: currency. Only certain values are accepted:
- Dollars or PD (also default if no value is given) - $ Pokémon Dollars
- Coupons or PC - Poké Coupons
- Coins or C - Game Corner Coins
- Battle or BP - Battle Points
- Blueberry or BBP - Blueberry Points
- Points or Pts - Pokéathlon Athlete Points
- Steps - Volcanic ash step
- Grams - Volcanic ash grams
- Units - Berry Powder units
- Miles or PM - Poké Miles
- Watts or W- Watts
- Dynite or DO - Dynite Ore
- Shard S or MSS - Mysterious Shard S
- Shard L or MSL - Mysterious Shard L
- MP - Merit Points
- Poké - Poké (Mystery Dungeon)
- Gold - Gold Bars (Mystery Dungeon)
- G - Gold (Conquest)
Notes
- 4: additional notes for items with special availability/conditions. This will display as a hover-over tooltip on an asterisk (*).
- Examples would be "only in Generation I" or "After defeating elite four".
- notes - This displays notes as text instead of a tooltip. If this field is used, then the value in field 4 is ignored.
Image
- 5: name of alternate sprite.
- Defaults to field 1 if left blank. Specifying a non-empty name will override the default.
- Can be useful in cases where an item sprite is known not to exist, in which case '???' or another value can be specified.
- 7: Game/Gen abbreviation.
- image - Override the entire image name with a custom name.
- size - Desired size of the image.
Shopmon
The shopmon template displays a single Pokémon for sale in the shop table. The currency used is always Coins.
Usage
The shopmon template takes up to 5 parameters.
Parameters:
- 1: Pokémon's name
- 2: Pokémon's National Pokédex number
- 3: price
- 4: level
- 5: additional notes for Pokémon with special availability/conditions.
- Examples would be "only in Generation I" or "After defeating elite four".
Shopdec
The shopdec template displays a single item for sale in the shop table.
Usage
The shopdec template takes up to 6 parameters. It is to be used for images of nonstandard filenames, such as decorations or villa decorations.
Parameters:
- 1: item's name
- 2: sprite name (omit .png extension*)
- 3: item price
- 4: currency
- 5: additional notes for Pokémon with special availability/conditions.
- Examples would be "only in Generation I" or "After defeating elite four".
- 6: alternate link location; for changing link location from defaulting to item's name.
The shopfooter template is used at the end of a shop table.
Usage
The shopfooter template terminates the shop template. It takes a single parameter.
Parameters:
- multiple: designates whether there are multiple shop tables to display. Set to "yes" to allow multiple tables.
Examples
Shop with 2 counters selling TM/HMs for Battle Points
Left Cashier | |||||||
---|---|---|---|---|---|---|---|
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
|
Right Cashier | |||||||
---|---|---|---|---|---|---|---|
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
Code:
{{shop|Left Cashier}} {{shoprow|{{shopitem|HP Up|1|BP}}|{{shopitem|Protein|1|BP}}}} {{shoprow|{{shopitem|Iron|1|BP}}|{{shopitem|Calcium|1|BP}}}} {{shoprow|{{shopitem|Zinc|1|BP}}|{{shopitem|Carbos|1|BP}}}} {{shoprow|{{shopitem|Rare Candy|48|BP}}|{{shopitem|Power Bracer|16|BP}}}} {{shoprow|{{shopitem|Power Belt|16|BP}}|{{shopitem|Power Lens|16|BP}}}} {{shoprow|{{shopitem|Power Band|16|BP}}|{{shopitem|Power Anklet|16|BP}}}} {{shoprow|{{shopitem|Power Weight|16|BP}}|{{shopitem|Flame Orb|16|BP}}}} {{shoprow|{{shopitem|Toxic Orb|16|BP}}|{{shopitem|White Herb|32|BP}}}} {{shoprow|{{shopitem|Power Herb|32|BP}}|{{shopitem|BrightPowder|48|BP}}}} {{shoprow|{{shopitem|Choice Band|48|BP}}|{{shopitem|Focus Band|48|BP}}}} {{shoprow|{{shopitem|Scope Lens|48|BP}}|{{shopitem|Muscle Band|48|BP}}}} {{shoprow|{{shopitem|Focus Sash|48|BP}}|{{shopitem|Choice Scarf|48|BP}}}} {{shoprow|{{shopitem|Razor Claw|48|BP}}|{{shopitem|Razor Fang|48|BP}}}} {{shopfooter|multiple=yes}} {{shop|Right Cashier}} {{shoprow|{{shopitem|TM06|32|BP||TM Poison|Toxic}}|{{shopitem|TM45|32|BP||TM Normal|Attract}}}} {{shoprow|{{shopitem|TM61|32|BP||TM Fire|Will-O-Wisp}}|{{shopitem|TM73|32|BP||TM Electric|Thunder Wave}}}} {{shoprow|{{shopitem|TM31|40|BP||TM Fighting|Brick Break}}|{{shopitem|TM40|40|BP||TM Flying|Aerial Ace}}}} {{shoprow|{{shopitem|TM04|48|BP||TM Psychic|Calm Mind}}|{{shopitem|TM08|48|BP||TM Fighting|Bulk Up}}}} {{shoprow|{{shopitem|TM30|64|BP||TM Ghost|Shadow Ball}}|{{shopitem|TM53|64|BP||TM Grass|Energy Ball}}}} {{shoprow|{{shopitem|TM81|64|BP||TM Bug|X-Scissor}}|{{shopitem|TM26|80|BP||TM Ground|Earthquake}}}} {{shoprow|{{shopitem|TM36|80|BP||TM Poison|Sludge Bomb}}|{{shopitem|TM59|80|BP||TM Dragon|Dragon Pulse}}}} {{shoprow|{{shopitem|TM71|80|BP||TM Rock|Stone Edge}}}} {{shopfooter}}
Shop with multiple item availability notes
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
Code:
{{shop|}} {{shoprow|{{shopitem|Great Ball|600|PD|Removed after Timer Balls, Repeat Balls, and Lava Cookies become available}}|{{shopitem|Fresh Water|200}}}} {{shoprow|{{shopitem|Ultra Ball|1200|PD|After saving Lostelle}}|{{shopitem|Soda Pop|300|PD|After saving Lostelle}}}} {{shoprow|{{shopitem|Lemonade|350|PD|After defeating the Elite Four}}|{{shopitem|Moomoo Milk|500|PD|After defeating the Elite Four}}}} {{shoprow|{{shopitem|Timer Ball|1000|PD|After completing the Ruby and Sapphire Mission}}|{{shopitem|Repeat Ball|1000|PD|After completing the Ruby and Sapphire mission}}}} {{shoprow|{{shopitem|Lava Cookie|200|PD|After completing the Ruby and Sapphire Mission}}|}} {{shopfooter}}
Shop with multiple generations, using "multiple" parameter
Generation I and III | |||||||
---|---|---|---|---|---|---|---|
|
| ||||||
|
| ||||||
|
| ||||||
|
Generation II | |||||||
---|---|---|---|---|---|---|---|
|
| ||||||
|
| ||||||
|
| ||||||
|
|
Code:
{{shop|Generation I and III}} {{shoprow|{{shopitem|Poké Ball|200}}|{{shopitem|Super Potion|700}}}} {{shoprow|{{shopitem|Antidote|100|PD|only in Generation III}}|{{shopitem|Paralyze Heal|200|display=Parlyz Heal}}}} {{shoprow|{{shopitem|Awakening|{{tt|250|200 in Generation I}}}}|{{shopitem|Ice Heal|250}}}} {{shoprow|{{shopitem|Repel|350}}|}} {{shopfooter|multiple=yes}} {{shop|Generation II}} {{shoprow|{{shopitem|Ultra Ball|1200}}|{{shopitem|Super Potion|700}}}} {{shoprow|{{shopitem|Hyper Potion|1200}}|{{shopitem|Revive|1500}}}} {{shoprow|{{shopitem|Paralyze Heal|200|display=Parlyz Heal}}|{{shopitem|Awakening|250}}}} {{shoprow|{{shopitem|Burn Heal|250}}|{{shopitem|Liteblue Mail|50|5=unknown}}}} {{shopfooter}}
Shop that sells Pokémon
Pokémon | |||||||
---|---|---|---|---|---|---|---|
|
| ||||||
|
|
Code:
{{shop|Pokémon}} {{shoprow|{{shopmon|Abra|063|200|lv=15}}|{{shopmon|Ekans|023|700|lv=15|HeartGold only}}}} {{shoprow|{{shopmon|Sandshrew|027|700|lv=15|SoulSilver only}}|{{shopmon|Dratini|147|2100|lv=15}}}} {{shopfooter}}
Shop that sells decorations
Secret Power Club shop | |||||||
---|---|---|---|---|---|---|---|
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
| ||||||
|
|
Code:
{{shop|Secret Power Club shop}} {{shoprow|{{shopdec|Red Brick|RedBrickSprite|500|6=List of decorations in Generation III#Red Brick}}|{{shopdec|Blue Brick|BlueBrickSprite|500|6=List of decorations in Generation III#Blue Brick}}}} {{shoprow|{{shopdec|Yellow Brick|YellowBrickSprite|500|6=List of decorations in Generation III#Yellow Brick}}|{{shopdec|Red Balloon|RedBalloonSprite|500|6=List of decorations in Generation III#Red Balloon}}}} {{shoprow|{{shopdec|Blue Balloon|BlueBalloonSprite|500|6=List of decorations in Generation III#Blue Balloon}}|{{shopdec|Yellow Balloon|YellowBalloonSprite|500|6=List of decorations in Generation III#Yellow Balloon}}}} {{shoprow|{{shopdec|C Low Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#C Low Note Mat}}|{{shopdec|D Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#D Note Mat}}}} {{shoprow|{{shopdec|E Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#E Note Mat}}|{{shopdec|F Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#F Note Mat}}}} {{shoprow|{{shopdec|G Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#G Note Mat}}|{{shopdec|A Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#A Note Mat}}}} {{shoprow|{{shopdec|B Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#B Note Mat}}|{{shopdec|C High Note Mat|NoteMatSprite|500|6=List of decorations in Generation III#C High Note Mat}}}} {{shopfooter}}
Shop that sells decorations and items
|
| ||||||
|
| ||||||
|
| ||||||
|
Code:
{{shop|}} {{shoprow|{{shopitem|Blue Flute|250|Steps}}|{{shopitem|Red Flute|500|Steps}}}} {{shoprow|{{shopitem|Yellow Flute|500|Steps}}|{{shopitem|Black Flute|1000|Steps}}}} {{shoprow|{{shopitem|White Flute|1000|Steps}}|{{shopdec|Pretty Desk|PrettyDeskSprite|8000|steps|6=List of decorations in Generation III#Pretty Desk}}}} {{shoprow|{{shopdec|Pretty Chair|PrettyChairSprite|6000|steps|6=List of decorations in Generation III#Pretty Chair}}}} {{shopfooter}}