Difference between revisions of "Template:PokeBox"

From The Official Project Miato Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div id="Container" style="float:right; width:300px;" align="right">
+
<includeonly>{| class="numberinfobox"
<div class="DexTop">
+
| rowspan="2" style="vertical-align:middle;" width="14.2857%" | ←
  <div align="center" style="width:220px; height:220px; margin-left:auto; margin-right:auto; margin-top:20px; ">[[File: {{{Name}}}.png|frameless|220x220px]]</div>
+
{{#ifexpr:{{{no}}} < 3|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}#{{padleft:{{#expr:{{{no}}}-2}}|3|0}} [[{{switch-T1|{{padleft:{{#expr:{{{no}}}-2}}|3|0}}}}]]}}
</div>
+
{{#ifexpr:{{{no}}} < 2|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}#{{padleft:{{#expr:{{{no}}}-1}}|3|0}} [[{{switch-T1|{{padleft:{{#expr:{{{no}}}-1}}|3|0}}}}]]}}
<div class="DexMid"><div style="margin-left:10px; margin-right:10px; margin-bottom:10px;">
+
| width="14.2857%" | '''{{{name|{{PAGENAME}}}}}'''
 +
{{#ifexpr:{{{no}}} > 173|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}#{{padleft:{{#expr:{{{no}}}+1}}|3|0}} [[{{switch-T1|{{padleft:{{#expr:{{{no}}}+1}}|3|0}}}}]]}}
 +
{{#ifexpr:{{{no}}} > 172|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}#{{padleft:{{#expr:{{{no}}}+2}}|3|0}} [[{{switch-T1|{{padleft:{{#expr:{{{no}}}+2}}|3|0}}}}]]}}
 +
| rowspan="2" style="vertical-align:middle;" width="14.2857%" | →
 +
|-
 +
{{#ifexpr:{{{no}}} < 3|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}[[Image:T1-{{padleft:{{#expr:{{{no}}}-2}}|3|0}}-I.gif]]}}
 +
{{#ifexpr:{{{no}}} < 2|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}[[Image:T1-{{padleft:{{#expr:{{{no}}}-1}}|3|0}}-I.gif]]}}
 +
| width="14.2857%" | [[Image:T1-{{{no}}}-I.gif]]
 +
{{#ifexpr:{{{no}}} > 173|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}[[Image:T1-{{padleft:{{#expr:{{{no}}}+1}}|3|0}}-I.gif]]}}
 +
{{#ifexpr:{{{no}}} > 172|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}[[Image:T1-{{padleft:{{#expr:{{{no}}}+2}}|3|0}}-I.gif]]}}
 +
|}</includeonly>
 +
{| align="right" cellpadding="2" style="background: #B18B64; width: 250px; border-spacing: 0px; color: #000000;  margin-bottom:0.5em; margin-left:1em;" class="t1_infobox"
 +
|- style="text-align:center; background: #FFFFFF;"
 +
! colspan="2" | [[File:Telefang 1 icon.gif]] '''Denjuu'''
 +
|- style="text-align:center;"
 +
| colspan="2" style="border-style: solid; border-color: #000000; border-width: 1px 1px 0 1px;" | [[Image:T1-{{{no}}}-IS.gif]]&nbsp;<big>'''{{{name}}}'''</big> <br /> {{{japname}}} / {{{romaji}}}
 +
|- style="background: #FDFDAB; text-align:center;"
 +
| style="border: 1px solid #000000; width: 80px;" | No. {{{no}}}
 +
| style="border: 1px solid #000000; border-left-width: 0;" | Bootleg: {{{bootlegname}}}
 +
|- style="height: 1px; background: #8F684B"
 +
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |
 +
|- style="background: #FFFFFF; text-align: center;"
 +
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" | [[File:T1-{{{no}}}.gif]]
 +
|- style="background: #FFFFFF; text-align: center;"
 +
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |
 +
{| class="collapsible collapsed" style="border: none; background: #FFFFFF; width:100%;"
 +
! Official artwork
 +
|-
 +
| [[File:T1-{{{no}}}-O.gif]]
 +
|}
 +
|- style="height: 1px; background: #8F684B"
 +
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |
 +
|-
 +
| style="text-align: center; border: 1px solid #000000; border-top-width: 0;" | Stage
 +
| style="background: #FDFDAB; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | [[{{{stage}}} Denjuu]]
 +
|-
 +
| style="text-align: center; border: 1px solid #000000; border-top-width: 0;" | Type
 +
| style="background: #FDFDAB; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | {{mt|{{{type}}}}}
 +
|-
 +
| style="text-align: center; border: 1px solid #000000; border-top-width: 0;" | Exp. Item
 +
| style="background: #FDFDAB; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | {{#switch: {{{exp-item|???}}} | {{item|{{{exp-item<noinclude>|Flamethrower</noinclude>}}}}}}}
 +
{{#switch: {{{dna-item|<includeonly>None</includeonly>}}} | none | None = |
 +
{{!}}-
 +
{{!}} style{{=}}"text-align: center; border: 1px solid #000000; border-top-width: 0;" {{!}} DNA Item
 +
{{!}} style{{=}}"background: #FDFDAB; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" {{!}} {{item|{{{dna-item<noinclude>|Biolent 3</noinclude>}}}}}}}
 +
|-
 +
| style="text-align: center; border: 1px solid #000000; border-top-width: 0;" | Ringtone
 +
| style="background: #FDFDAB; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | [[File:T1-R-{{{ringtone}}}.ogg|noicon]]
 +
|- style="height: 1px; background: #8F684B"
 +
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |
 +
|-
 +
| style="text-align: center; border: 1px solid #000000; border-top-width: 0;" | Version
 +
| style="background: #FDFDAB; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | [[File:{{{found-in}}}_icon.gif]] {{#if:{{{found-in2|}}}|[[File:{{{found-in2}}}_icon.gif]]|}}
 +
|- style="height: 1px; background: #8F684B;"
 +
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |
 +
|}<includeonly><!--
 +
//-->[[Category:Denjuu in Telefang 1]]<!--
 +
//-->{{#if:{{{stage|}}}|[[Category:{{{stage}}} Denjuu]]}}<!--
 +
//-->{{#if:{{{type|}}}|[[Category:{{{type}}}-type Denjuu]]}}<!--
 +
//--></includeonly>
 +
<noinclude>
 +
== Description ==
  
<div class="TextboxTop"></div>
+
This is the infobox for Miato Pokemon
<div class="TextboxMid"><div style="margin-left:4px; margin-right:4px; margin-top:0px; margin-bottom:0px;" align="center">'''#{{{NatDex}}} {{{name}}}'''
 
<br/> [[File:Type_{{{type}}}.png]]  {{#if: {{{type2|}}}|/  [[File:Type_{{{type2}}}.png]] | }}</div></div>
 
<div class="TextboxBottom"></div>
 
  
<div class="TextboxTop"></div>
+
To use this template, copy the text below into the top of an article and fill in each section:
<div class="TextboxMid"><div style="margin-left:4px; margin-right:4px; margin-top:0px; margin-bottom:0px;" align="center">'''Classification:''' {{{classification}}}</div></div>
 
<div class="TextboxBottom"></div>
 
  
<div class="TextboxTop"></div>
+
<pre><nowiki>
<div class="TextboxMid"><div style="margin-left:4px; margin-right:4px; margin-top:0px; margin-bottom:0px;" align="center">'''Height:''' {{{height}}} | '''Weight:''' {{{weight}}}</div></div>
+
{{PokeBox
<div class="TextboxBottom"></div>
+
| name        =
 +
| japname      =
 +
| romaji      =
 +
| bootlegname  =
 +
| no          =
 +
| stage        =  
 +
| type        =  
 +
| dna-item    =
 +
| ringtone    =
 +
| found-in    = Power
 +
| found-in2    = Speed
 +
}}
 +
</nowiki></pre>
  
<div class="TextboxTop"></div>
+
For stage, only enter the stage name on its own (i.e. Natural), and the template will add "Denjuu" after it automatically.
<div class="TextboxMid"><div style="margin-left:4px; margin-right:4px; margin-top:0px; margin-bottom:0px;" align="center">'''Male:''' {{{male}}} | '''Female:''' {{{female}}}</div></div>
 
<div class="TextboxBottom"></div>
 
  
<div class="TextboxTop"></div>
+
If the Denjuu is only found in Power, simply remove found-in2. If the Denjuu is only found in Speed, change found-in to Speed and remove found-in2.
<div class="TextboxMid"><div style="margin-left:4px; margin-right:4px; margin-top:0px; margin-bottom:0px;" align="center">'''Egg Groups:''' {{{Egg_Groups}}}</div></div>
 
<div class="TextboxBottom"></div>
 
  
<div class="TextboxTop"></div>
+
</noinclude>
<div class="TextboxMid"><div style="margin-left:4px; margin-right:4px; margin-top:0px; margin-bottom:0px;" align="center">'''Ability:'''<div class="smalltext">{{{abilitydescrip}}}</div></div></div>
 
<div class="TextboxBottom"></div>
 
 
 
</div></div>
 
<div class="DexBottom">
 
<div class="TextboxTop"></div>
 
<div class="TextboxMid"><div style="margin-left:4px; margin-right:4px; margin-top:0px; margin-bottom:0px;" align="center">'''Dream World Ability:''' <div class="smalltext">{{{DW_Ability}}}</div></div></div>
 
<div class="TextboxBottom"></div>
 
 
 
</div>
 
</div>
 

Revision as of 03:51, 10 August 2012

File:Telefang 1 icon.gif Denjuu
[[Image:T1-{{{no}}}-IS.gif]] {{{name}}}
{{{japname}}} / {{{romaji}}}
No. {{{no}}} Bootleg: {{{bootlegname}}}
[[File:T1-{{{no}}}.gif]]
Stage [[{{{stage}}} Denjuu]]
Type Template:Mt
Exp. Item Template:Item
styleTemplate:="text-align: center; border: 1px solid #000000; border-top-width: 0;" | DNA Item styleTemplate:="background: #FDFDAB; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | Template:Item
Ringtone [[File:T1-R-{{{ringtone}}}.ogg|noicon]]
Version [[File:{{{found-in}}}_icon.gif]]

Description

This is the infobox for Miato Pokemon

To use this template, copy the text below into the top of an article and fill in each section:

{{PokeBox
| name         = 
| japname      = 
| romaji       = 
| bootlegname  = 
| no           = 
| stage        = 
| type         = 
| dna-item     = 
| ringtone     = 
| found-in     = Power
| found-in2    = Speed
}}

For stage, only enter the stage name on its own (i.e. Natural), and the template will add "Denjuu" after it automatically.

If the Denjuu is only found in Power, simply remove found-in2. If the Denjuu is only found in Speed, change found-in to Speed and remove found-in2.