Template:Mart: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
S1tHSL4y3r (talk | contribs) (extra light/dark parameter didn't work, removing pipe) |
S1tHSL4y3r (talk | contribs) (title options - parameter for height in pixels of spacing above) |
||
Line 37: | Line 37: | ||
|title= | |title= | ||
{{!}}- | {{!}}- | ||
!height=" | !height="{{{3|8}}}px" colspan="2"{{!}} | ||
{{!}}- | {{!}}- | ||
!height="28px" colspan="2" style="text-align:center; background: #ccf"{{!}}{{{2|Title}}} | !height="28px" colspan="2" style="text-align:center; background: #ccf"{{!}}{{{2|Title}}} | ||
Line 43: | Line 43: | ||
|titlelight= | |titlelight= | ||
{{!}}- | {{!}}- | ||
!height=" | !height="{{{3|8}}}px" colspan="2"{{!}} | ||
{{!}}- | {{!}}- | ||
!height="28px" colspan="2" style="text-align:center; background: #e6e6ff"{{!}}{{{2|Title}}} | !height="28px" colspan="2" style="text-align:center; background: #e6e6ff"{{!}}{{{2|Title}}} | ||
Line 49: | Line 49: | ||
|titledark= | |titledark= | ||
{{!}}- | {{!}}- | ||
!height=" | !height="{{{3|8}}}px" colspan="2"{{!}} | ||
{{!}}- | {{!}}- | ||
!height="28px" colspan="2" style="text-align:center; background: #bbf"{{!}}{{{2|Title}}} | !height="28px" colspan="2" style="text-align:center; background: #bbf"{{!}}{{{2|Title}}} | ||
Line 128: | Line 128: | ||
{{!}}style="text-align:right;padding-right:10px"{{!}}{{pdollar}}50 | {{!}}style="text-align:right;padding-right:10px"{{!}}{{pdollar}}50 | ||
{{!}}- | {{!}}- | ||
!height=" | !height="40px" colspan="3"{{!}} | ||
{{!}}- | {{!}}- | ||
!height="28px" colspan="3" style="text-align:center; background: #e6e6ff"{{!}}Light | !height="28px" colspan="3" style="text-align:center; background: #e6e6ff"{{!}}Light | ||
{{!}}- | {{!}}- | ||
!height="28px" colspan="3" style="text-align:center; background: #aaf"{{!}}Dark | !height="28px" colspan="3" style="text-align:center; background: #aaf"{{!}}Dark | ||
{{!}}- | {{!}}- | ||
!height="28px" colspan="3" style="text-align:center; background: #ccf"{{!}}Game Corner | !height="28px" colspan="3" style="text-align:center; background: #ccf"{{!}}Game Corner | ||
Line 183: | Line 179: | ||
Items:<br> | Items:<br> | ||
<i>(for non-linked items, put <b>itemtext</b> instead of item)</i> | <i>(for non-linked items, put <b>itemtext</b> instead of item)</i> | ||
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{mart|item| </nowiki>{{color|FF0000|<b>name</b> (as shown in shop)}}<nowiki> | </nowiki>{{color|FF0000|<b>price</b> (just number, no commas)}}<nowiki> | </nowiki>{{color|00CC00| | {{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): | OR for custom currencies (such as "coins" in Game Corners): | ||
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{mart|itemc| </nowiki>{{color|FF0000|<b>name</b> (as shown in shop)}}<nowiki> | </nowiki>{{color|FF0000|<b>price</b> (just number, no commas)}}<nowiki> | </nowiki>{{color|0000FF|<b>currency</b> (will show as is, eg. type <i>coins</i> for "coins")}}<nowiki> | </nowiki>{{color|00CC00| | {{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> | ||
<i>(to change the background color lighter or darker, put <b>titlelight</b> or <b>titledark</b> instead)</i> | <i>(to change the background color lighter or darker, put <b>titlelight</b> or <b>titledark</b> instead of title)</i> | ||
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{mart|title| </nowiki>{{color|FF0000|<b>text</b>}}<nowiki> | {{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{mart|title| </nowiki>{{color|FF0000|<b>text</b>}}<nowiki> | </nowiki>{{color|00CC00|<b>height in pixels of spacing above</b> <small>(optional, just number, default 8 pixels)</small>}}<nowiki> }}</nowiki>}} | ||
{{ | |||
To insert a blank row for spacing: | To insert a blank row for spacing: | ||
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{mart|space| </nowiki>{{color| | {{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{mart|space| </nowiki>{{color|00CC00|<b>height in pixels</b> <small>(optional, just number, default 8 pixels)</small>}}<nowiki> }}</nowiki>}} | ||
After everything close with footer: | After everything close with footer: | ||
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{mart|footer}}</nowiki>}} | {{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{mart|footer}}</nowiki>}} | ||
[[Category:Table templates]]</noinclude> | [[Category:Table templates]]</noinclude> |
Revision as of 13:12, 9 January 2009
How to use
Item | Price | |
---|---|---|
Balls
| ||
PokéBallSprite.png | Poké Ball | $200 |
GreatBallSprite.png | Great Ball | $600 |
UltraBallSprite.png | Ultra Ball | $1,200 |
Medicine
| ||
PotionSprite.png | Potion | $300 |
AntidoteSprite.png | 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, 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):
{{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}}