Template:Mart: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary |
Pandamonia (talk | contribs) (Fixed CSS3 compatibility) |
||
Line 13: | Line 13: | ||
{{{!}}width="{{{2|275px}}}" cellspacing="0" cellpadding="0" style="background: #f8f8ff; border: 3px solid #88a; border-radius:20px; -moz-border-radius:20px; padding-bottom: 5px;" | {{{!}}width="{{{2|275px}}}" cellspacing="0" cellpadding="0" style="background: #f8f8ff; border: 3px solid #88a; border-radius:20px; -moz-border-radius:20px; padding-bottom: 5px;" | ||
{{!}}- | {{!}}- | ||
!height="32px" style="text-align:center; background: #ccf; border-radius | !height="32px" style="text-align:center; background: #ccf; border-top-left-radius: 20px; -moz-border-radius-topleft: 20px;"{{!}}Item | ||
!height="32px" style="text-align:center; background: #ccf; border-radius | !height="32px" style="text-align:center; background: #ccf; border-top-right-radius: 20px; -moz-border-radius-topright: 20px;"{{!}}Price | ||
|class= | |class= | ||
Line 68: | Line 68: | ||
{{{!}}width="275px" cellspacing="0" cellpadding="0" style="background: #f8f8ff; border: 3px solid #88a; border-radius:20px; -moz-border-radius:20px; padding-bottom: 5px;" | {{{!}}width="275px" cellspacing="0" cellpadding="0" style="background: #f8f8ff; border: 3px solid #88a; border-radius:20px; -moz-border-radius:20px; padding-bottom: 5px;" | ||
{{!}}- | {{!}}- | ||
!height="32px" colspan="2" style="text-align:center; background: #ccf; border-radius | !height="32px" colspan="2" style="text-align:center; background: #ccf; border-top-left-radius: 20px; -moz-border-radius-topleft: 20px;"{{!}}Item | ||
!height="32px" style="text-align:center; background: #ccf; border-radius | !height="32px" style="text-align:center; background: #ccf; border-top-right-radius: 20px; -moz-border-radius-topright: 20px;"{{!}}Price | ||
{{!}}- | {{!}}- | ||
!colspan="3" style="text-align:center; padding-top: 8px;"{{!}}<div style="width: 70%; background: #ddf; border-radius: 20px; -moz-border-radius: 20px; margin: auto;">{{martclass|b}}</div> | !colspan="3" style="text-align:center; padding-top: 8px;"{{!}}<div style="width: 70%; background: #ddf; border-radius: 20px; -moz-border-radius: 20px; margin: auto;">{{martclass|b}}</div> |
Revision as of 22:13, 12 March 2010
How to use
Item | Price | |
---|---|---|
Balls
| ||
PokéBallSprite.png | Poké Ball | $200 |
GreatBallSprite.png | Great Ball | $600 |
UltraBallSprite.png | Ultra Ball | $1,200 |
Medicine
| ||
Potion | $300 | |
Antidote | $100 | |
Battle items
| ||
XAttackSpriteDP.png | X Attack | $500 |
XAccuracySpriteDP.png | X Accuracy | $950 |
GuardSpecSpriteDP.png | Guard Spec. | $700 |
Vitamins
| ||
HPUpSprite.png | HP Up | $9,800 |
CalciumSprite.png | Calcium | $9,800 |
Other items
| ||
Escape_Rope_sprite.png | Escape Rope | $550 |
RepelSprite.png | Repel | $350 |
Wave_Mail_III.png | Wave Mail | $50 |
Light | ||
Dark | ||
Game Corner | ||
Pokémon
| ||
Scyther | 5,500 coins | |
Porygon | 9,999 coins | |
TMs
| ||
TM23 (Iron Tail) | 3,500 coins | |
TM35 (Flamethrower) | 4,000 coins | |
Other items
| ||
MysticWaterSprite.png | Mystic Water | 1,000 coins |
Header (contains Item and Price headings):
{{mart|header}}
Class:
- b = Balls
- m = Medicine
- x = Battle items
- v = Vitamins
- o = Other items
- tms = TMs
- pkmn = Pokémon
- (for other classes, just write it)
{{mart|class| b }}
Items:
(for non-linked items, or to manually link the item's name, put itemtext instead of item)
{{mart|item| name (as shown in shop) | price (just number, no commas) | note (optional) }}
OR for custom currencies (such as "coins" in Game Corners):
(for non-linked items, or to manually link the item's name, put itemtextc instead of itemc)
{{mart|itemc| name (as shown in shop) | price (just number, no commas) | currency (will show as is, eg. type coins for "coins") | note (optional) }}
To add a title row:
(to change the background color lighter or darker, put titlelight or titledark instead of title)
{{mart|title| text | height in pixels of spacing above (optional, just number, default 8 pixels) }}
To insert a blank row for spacing:
{{mart|space| height in pixels (optional, just number, default 8 pixels) }}
After everything close with footer:
{{mart|footer}}