Wikia

Pokémon Wiki

Changes: Template:ItemBox

Edit

Back to page

(couldn't figure out how to do it with the lowercase like everything eles)
m (Undid revision 583980 by Wrrasba (talk))
 
(21 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| cellpadding="1" cellspacing="1" class="toccolours" style="width:230px; border:solid 2px #{{#switch:{{{gen|I}}}|I=FCF75E|II=ADD8E6|III=90EE90|IV=C0C0C0|V=808080}}; {{roundy|20px}} float:right; text-align:left; {{Roundy|20px}}"
+
{| cellpadding="1" cellspacing="1" class="toccolours" style="width:230px; border:solid 2px #{{#switch:{{{gen|I}}}|I=FCF75E|II=ADD8E6|III=90EE90|IV=6495ED|V=A9A9A9|VI=DC143C}}; {{roundy|20px}} float:right; text-align:left; {{Roundy|22px}}"
 
|-
 
|-
! colspan="2" style="background:#{{#switch:{{{gen|I}}}|I=FCF75E|II=ADD8E6|III=90EE90|IV=C0C0C0|V=808080}}; color:{{{textcolor|#000000}}}; font-size:larger; text-align:center; {{roundy|20px}}" | '''{{{name|{{BASEPAGENAME}}}}}'''<br><span style="font-size: 11px">( {{{jname|Unknown}}} )</span>
+
! colspan="2" style="background:#{{#switch:{{{gen|I}}}|I=FCF75E|II=ADD8E6|III=90EE90|IV=6495ED|V=A9A9A9|VI=DC143C}}; color:{{{textcolor|#000000}}}; font-size:larger; text-align:center; {{roundy|20px}}" | <center>'''{{{name|{{BASEPAGENAME}}}}}'''</center><span style="font-size: 11px"><center>( {{{jname|Unknown}}} )</center></span>
 
|-
 
|-
 
| colspan="2" style="text-align:center;" | [[File:{{{image}}}]]<br><small>''{{{Caption|Artwork/sprite}}}''</small>
 
| colspan="2" style="text-align:center;" | [[File:{{{image}}}]]<br><small>''{{{Caption|Artwork/sprite}}}''</small>
 
|-
 
|-
! colspan="2" style="background:#{{#switch:{{{gen|I}}}|I=FCF75E|II=ADD8E6|III=90EE90|IV=C0C0C0|V=808080}}; color:{{{textcolor|#000000}}}; font-size:larger; text-align:center; {{Roundy|20px}}" | [[List of Items|<span class="explain" title="For more items follow this link." style="font-weight:bold; cursor:help;">General</span>]]
+
! colspan="2" style="background:#{{#switch:{{{gen|I}}}|I=FCF75E|II=ADD8E6|III=90EE90|IV=6495ED|V=A9A9A9|VI=DC143C}}; color:{{{textcolor|#000000}}}; font-size:larger; text-align:center; {{Roundy|20px}}" | <center>[[List of Items|<span class="explain" title="For more items follow this link." style="font-weight:bold; cursor:help;">General</span>]]</center>
 
{{!}}- style="font-size:2.5;"
 
{{!}}- style="font-size:2.5;"
{{!}} style="vertical-align:top;"{{!}} '''Buy For:'''
+
{{!}} style="vertical-align:top;"{{!}} <center>'''Buy For:'''</center>
 
{{!}} style="vertical-align:top; padding-right:1em;" {{!}} {{Poke}}{{{buy|Cannot be bought}}}
 
{{!}} style="vertical-align:top; padding-right:1em;" {{!}} {{Poke}}{{{buy|Cannot be bought}}}
 
{{!}}-
 
{{!}}-
 
{{!}}- style="font-size:2.5;"
 
{{!}}- style="font-size:2.5;"
{{!}} style="vertical-align:top;"{{!}} '''Sell For:'''
+
{{!}} style="vertical-align:top;"{{!}} <center>'''Sell For:'''</center>
 
{{!}} style="vertical-align:top; padding-right:1em;" {{!}} {{Poke}}{{{sell|Cannot be sold}}}
 
{{!}} style="vertical-align:top; padding-right:1em;" {{!}} {{Poke}}{{{sell|Cannot be sold}}}
 
{{!}}-
 
{{!}}-
 
{{!}}- style="font-size:2.5"
 
{{!}}- style="font-size:2.5"
{{!}} style="vertical-align:top;"{{!}} '''Type:'''
+
{{!}} style="vertical-align:top;"{{!}} <center>'''Type:'''</center>
{{!}} style="vertical-align:top; padding-right:1em;" {{!}} {{{Type|No Type}}}
+
{{!}} style="vertical-align:top; padding-right:1em;" {{!}} {{{type|No type}}}
 
{{!}}-
 
{{!}}-
 
{{!}}- style="font-size:2.5;"
 
{{!}}- style="font-size:2.5;"
{{!}} style="vertical-align:top;"{{!}} '''Generation:'''
+
{{!}} style="vertical-align:top;"{{!}} <center>'''Generation:'''</center>
 
{{!}} style="vertical-align:top; padding-right:1em;" {{!}} [[Generation {{{gen|I}}}|{{{gen|I}}}]]
 
{{!}} style="vertical-align:top; padding-right:1em;" {{!}} [[Generation {{{gen|I}}}|{{{gen|I}}}]]
 
{{!}}-}}
 
{{!}}-}}
Line 26: Line 26:
 
{| cellpadding="1" cellspacing="1" class="toccolours collapsible collapsed" style="width:225px; text-align:center;"
 
{| cellpadding="1" cellspacing="1" class="toccolours collapsible collapsed" style="width:225px; text-align:center;"
 
|-
 
|-
! style="background:#{{#switch:{{{gen|I}}}|I=FCF75E|II=ADD8E6|III=90EE90|IV=C0C0C0|V=808080}}; color:{{{textcolor|#000000}}}; font-size:10px; {{roundy|20px}}" | <div style="margin-left:65px;"><span style="font-size: 15px">Bag Image</span></div>
+
! style="background:#{{#switch:{{{gen|I}}}|I=FCF75E|II=ADD8E6|III=90EE90|IV=6495ED|V=A9A9A9|VI=DC143C}}; color:{{{textcolor|#000000}}}; font-size:10px; {{roundy|20px}}" | <div style="margin-left:65px;"><span style="font-size: 15px">Bag Image</span></div>
 
|-
 
|-
 
| colspan="2" |
 
| colspan="2" |
{| style="width:40px; height:40px; background:#{{#switch:{{{gen|I}}}|I=FCF75E|II=ADD8E6|III=90EE90|IV=C0C0C0|V=808080}}; color:{{{textcolor|#000000}}}; {{roundy|20px}} text-align:center;" align="center"
+
{| style="width:40px; height:40px; background:#{{#switch:{{{gen|I}}}|I=FCF75E|II=ADD8E6|III=90EE90|IV=C0C0C0|V=A9A9A9|VI=DC143C}}; color:{{{textcolor|#000000}}}; {{roundy|20px}} text-align:center;" align="center"
 
|-
 
|-
 
| style="background:white; text-align:center; {{roundy|20px}}" | [[File:{{{bagimage|No Image.png}}}|24px]]
 
| style="background:white; text-align:center; {{roundy|20px}}" | [[File:{{{bagimage|No Image.png}}}|24px]]
Line 39: Line 39:
 
{| cellpadding="1" cellspacing="1" class="toccolours collapsible collapsed" style="width:225px; text-align:center;"
 
{| cellpadding="1" cellspacing="1" class="toccolours collapsible collapsed" style="width:225px; text-align:center;"
 
|-
 
|-
! style="background:#{{#switch:{{{gen|I}}}|I=FCF75E|II=ADD8E6|III=90EE90|IV=C0C0C0|V=808080}}; color:{{{textcolor|#000000}}}; font-size:10px; {{roundy|20px}}" | <div style="margin-left:65px;"><span style="font-size: 15px">Description</span></div>
+
! style="background:#{{#switch:{{{gen|I}}}|I=FCF75E|II=ADD8E6|III=90EE90|IV=6495ED|V=A9A9A9|VI=DC143C}}; color:{{{textcolor|#000000}}}; font-size:10px; {{roundy|20px}}" | <div style="margin-left:65px;"><span style="font-size: 15px"><center>Description</center></span></div>
 
|-
 
|-
 
| colspan="2" |
 
| colspan="2" |
{| cellpadding="1" cellspacing="1" style="width:100%; background:#{{#switch:{{{gen|I}}}|I=FCF75E|II=ADD8E6|III=90EE90|IV=C0C0C0|V=808080}}; border:2px solid #{{#switch:{{{gen|I}}}|I=FCF75E|II=ADD8E6|III=90EE90|IV=C0C0C0|V=808080}}; color:{{{textcolor|#000000}}}; {{roundy|20px}} text-align:center;" align="center"
+
{| cellpadding="1" cellspacing="1" style="width:100%; background:#{{#switch:{{{gen|I}}}|I=FCF75E|II=ADD8E6|III=90EE90|IV=6495ED|V=A9A9A9}}; border:2px solid #{{#switch:{{{gen|I}}}|I=FCF75E|II=ADD8E6|III=90EE90|IV=C0C0C0|V=808080|VI=DC143C}}; color:{{{textcolor|#000000}}}; {{roundy|20px}} text-align:center;" align="center"
 
|-
 
|-
 
{{#if: {{{genIIdesc|}}} |
 
{{#if: {{{genIIdesc|}}} |
Line 62: Line 62:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
|-
+
{{#if: {{{genVdesc|}}} |
| style="background:white; text-align:center; {{roundy|20px}}" | <span style="color:#E56717">''{{{genVdesc|This item did not appear in any previous games.}}}</span>
+
{{!}}-
| <span style="color:#437C17"> V </span>
+
{{!}} style="background:white; text-align:center; {{roundy|20px}}" {{!}} <span style="color:#E56717">''{{{genVdesc}}}''</span>
  +
{{!}} <span style="color:#437C17">V</span>
  +
{{!}}-
  +
}}
  +
{{#if: {{{genVIdesc|}}} |
  +
{{!}}-
  +
{{!}} style="background:white; text-align:center; {{roundy|20px}}" {{!}} <span style="color:#E56717">''{{{genVIdesc}}}''</span>
  +
{{!}} <span style="color:#437C17">VI</span>
  +
{{!}}-
  +
}}
 
|}
 
|}
|-
 
 
|}
 
|}
 
|}
 
|}
Line 72: Line 71:
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
 
 
<pre>
 
<pre>
 
{{ItemBox
 
{{ItemBox
 
|name =
 
|name =
 
|jname =
 
|jname =
|backcolor=
+
|backcolor =
|image=
+
|image =
|buy=
+
|buy =
|sell=
+
|sell =
|Type=
+
|type =
|gen=
+
|gen =
|bagimage=
+
|bagimage =
|genIIdesc=
+
|genIIdesc = (Use the Crystal descriptions please)
|genIIIdesc=(Use the FRLG descriptions please)
+
|genIIIdesc = (Use the FRLG descriptions please)
|genIVdesc=(Use the HGSS descriptions please)
+
|genIVdesc = (Use the HGSS descriptions please)
|genVdesc=
+
|genVdesc = (Use the B2W2 descriptions please)
}}
+
|genVIdesc = (Use the ORAS descriptions please)}}
</pre>[[Category:Templates]]</noinclude>
+
</pre>[[Category:Infobox Templates]]</noinclude>

Latest revision as of 16:46, November 18, 2014

ItemBox
( Unknown )
[[File:{{{image}}}]]
Artwork/sprite
General
Buy For:
Poké DollarCannot be bought
Sell For:
Poké DollarCannot be sold
Type:
No type
Generation:
I


UsageEdit

{{ItemBox
|name =
|jname =
|backcolor =
|image =
|buy =
|sell =
|type =
|gen =
|bagimage =
|genIIdesc = (Use the Crystal descriptions please)
|genIIIdesc = (Use the FRLG descriptions please)
|genIVdesc = (Use the HGSS descriptions please)
|genVdesc = (Use the B2W2 descriptions please)
|genVIdesc = (Use the ORAS descriptions please)}}

Around Wikia's network

Random Wiki