Template:Mart: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (I sure hope this doesn't mess anything up...)
m (Trying this?)
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-topleft: 30px; -moz-border-radius-topleft: 30px;"{{!}}Item
!height="32px" style="text-align:center; background: #ccf; border-radius-topleft: 20px; -moz-border-radius-topleft: 20px;"{{!}}Item
!height="32px" style="text-align:center; background: #ccf; border-radius-topright: 30px; -moz-border-radius-topright: 30px;"{{!}}Price
!height="32px" style="text-align:center; background: #ccf; border-radius-topright: 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-topleft: 30px; -moz-border-radius-topleft: 30px;"{{!}}Item
!height="32px" colspan="2" style="text-align:center; background: #ccf; border-radius-topleft: 20px; -moz-border-radius-topleft: 20px;"{{!}}Item
!height="32px" style="text-align:center; background: #ccf; border-radius-topright: 30px; -moz-border-radius-topright: 30px;"{{!}}Price
!height="32px" style="text-align:center; background: #ccf; border-radius-topright: 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 20:25, 2 July 2009

How to use

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}}