Template:Mart: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (wording)
mNo edit summary
Line 183: Line 183:
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{mart|class| </nowiki>{{color|FF0000|<b>b</b>}}<nowiki> }}</nowiki>}}
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{mart|class| </nowiki>{{color|FF0000|<b>b</b>}}<nowiki> }}</nowiki>}}
Items:<br>
Items:<br>
<i>(to manually link the item's name, put <b>itemtext</b> instead of item)</i>
<i>(for non-linked items, or to manually link the item's name, put <b>itemtext</b> instead of item)</i>
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{mart|item| </nowiki>{{color|FF0000|<b>name</b> <small>(as shown in shop)</small>}}<nowiki> | </nowiki>{{color|FF0000|<b>price</b> <small>(just number, no commas)</small>}}<nowiki> | </nowiki>{{color|00CC00|<b>note</b> <small>(optional)</small>}}<nowiki> }}</nowiki>}}
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{mart|item| </nowiki>{{color|FF0000|<b>name</b> <small>(as shown in shop)</small>}}<nowiki> | </nowiki>{{color|FF0000|<b>price</b> <small>(just number, no commas)</small>}}<nowiki> | </nowiki>{{color|00CC00|<b>note</b> <small>(optional)</small>}}<nowiki> }}</nowiki>}}
OR for custom currencies (such as "coins" in Game Corners):<br>
OR for custom currencies (such as "coins" in Game Corners):<br>
<i>(to manually link the item's name, put <b>itemtextc</b> instead of itemc)</i>
<i>(for non-linked items, or to manually link the item's name, put <b>itemtextc</b> instead of itemc)</i>
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{mart|itemc| </nowiki>{{color|FF0000|<b>name</b> <small>(as shown in shop)</small>}}<nowiki> | </nowiki>{{color|FF0000|<b>price</b> <small>(just number, no commas)</small>}}<nowiki> | </nowiki>{{color|0000FF|<b>currency</b> <small>(will show as is, eg. type <i>coins</i> for "coins")</small>}}<nowiki> | </nowiki>{{color|00CC00|<b>note</b> <small>(optional)</small>}}<nowiki> }}</nowiki>}}
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{mart|itemc| </nowiki>{{color|FF0000|<b>name</b> <small>(as shown in shop)</small>}}<nowiki> | </nowiki>{{color|FF0000|<b>price</b> <small>(just number, no commas)</small>}}<nowiki> | </nowiki>{{color|0000FF|<b>currency</b> <small>(will show as is, eg. type <i>coins</i> for "coins")</small>}}<nowiki> | </nowiki>{{color|00CC00|<b>note</b> <small>(optional)</small>}}<nowiki> }}</nowiki>}}
To add a title row:<br>
To add a title row:<br>

Revision as of 12:30, 10 January 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}}