Difference between revisions of "Template:PokeBoxTop"

From The Official Project Miato Wiki
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
! colspan="2" | [[File:PokeBoxTop.png]]
 
! colspan="2" | [[File:PokeBoxTop.png]]
 
|- style="text-align:center;"
 
|- style="text-align:center;"
| colspan="2" style="border-style: solid; border-color: #000000; border-width: 1px 1px 0 1px; border-bottom:none;" | <big>'''#{{{no}}} - {{{name}}}'''</big> <br> ''{{{species}}} Pokémon''
+
| colspan="2" style="border-style: solid; border-color: #000000; border-width: 1px 1px 0 1px;" | <big>'''#{{{no}}} - {{{name}}}'''</big> <br> ''{{{species}}} Pokémon''
 
|- style="text-align:center;"
 
|- style="text-align:center;"
| colspan="2" style="{{#ifeq: {{{form|N/A}}}|N/A|display:none;}} border-style: solid; border-color: #000000; border-width: 1px 1px 0 1px;" | '''''{{{form}}}'''''
+
| colspan="2" style="{{#ifeq: {{{form|}}}||display:none;}} border-style: solid; border-color: #000000; border-width: 0px 1px 0 1px;" | '''''{{{form}}}''''' {{#if:{{{condition|}}}| <br> <small> {{{condition}}} </small>|}}
 
|- style="background: #92d3e9; text-align:center;"
 
|- style="background: #92d3e9; text-align:center;"
 
|- style="height: 1px; background: #0f4373"
 
|- style="height: 1px; background: #0f4373"
 
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |
 
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |
 
|- style="background: #c6f2ff; text-align: center;"  
 
|- style="background: #c6f2ff; text-align: center;"  
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" | [[File:{{{name}}}_AV.png|250px|center|{{{name}}}]]
+
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |  {{#if:{{{form|}}}|[[File:{{{name}}}_{{{form}}}.png|250px|center|{{{name}}} ({{{form}}})]]|[[File:{{{name}}}.png|250px|center|{{{name}}}]]}}
 
|- style="height: 1px; background: #0f4373"
 
|- style="height: 1px; background: #0f4373"
 
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |
 
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |
Line 39: Line 39:
 
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" | {{AbilityDesc|{{{ability}}}}}
 
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" | {{AbilityDesc|{{{ability}}}}}
 
|-
 
|-
| style="{{#ifeq: {{{ability2|N/A}}}|N/A|display:none;}} text-align: center; border: 1px solid #000000; border-top-width: 0;" | Ability
+
| style="{{#ifeq: {{{ability2|}}}||display:none;}} text-align: center; border: 1px solid #000000; border-top-width: 0;" | Ability
| style="{{#ifeq: {{{ability2|N/A}}}|N/A|display:none;}} background: #92d3e9; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | {{AbilityLink|{{{ability2}}}}}
+
| style="{{#ifeq: {{{ability2|}}}||display:none;}} background: #92d3e9; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | {{AbilityLink|{{{ability2}}}}}
 
|-
 
|-
|- style="{{#ifeq: {{{ability2|N/A}}}|N/A|display:none;}} background: #c6f2ff; text-align: left;"  
+
|- style="{{#ifeq: {{{ability2|}}}||display:none;}} background: #c6f2ff; text-align: left;"  
 
| colspan="2" style="{{#ifeq: {{{ability2|N/A}}}|N/A|display:none;}} border: 1px solid #000000; border-top-width: 0;" | {{AbilityDesc|{{{ability2}}}}}
 
| colspan="2" style="{{#ifeq: {{{ability2|N/A}}}|N/A|display:none;}} border: 1px solid #000000; border-top-width: 0;" | {{AbilityDesc|{{{ability2}}}}}
 
|-
 
|-
 
|-
 
|-
| style="{{#ifeq: {{{hidden|N/A}}}|N/A|display:none;}} text-align: center; border: 1px solid #000000; border-top-width: 0;" | Hidden Ability
+
| style="{{#ifeq: {{{hidden|}}}||display:none;}} text-align: center; border: 1px solid #000000; border-top-width: 0;" | Hidden Ability
| style="{{#ifeq: {{{hidden|N/A}}}|N/A|display:none;}} background: #92d3e9; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | {{AbilityLink|{{{hidden}}}}}
+
| style="{{#ifeq: {{{hidden|}}}||display:none;}} background: #92d3e9; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | {{AbilityLink|{{{hidden}}}}}
 
|-
 
|-
|- style="{{#ifeq: {{{hidden|N/A}}}|N/A|display:none;}} background: #c6f2ff; text-align: left;"  
+
|- style="{{#ifeq: {{{hidden|}}}||display:none;}} background: #c6f2ff; text-align: left;"  
 
| colspan="2" style="{{#ifeq: {{{hidden|N/A}}}|N/A|display:none;}} border: 1px solid #000000; border-top-width: 0;" | {{AbilityDesc|{{{hidden}}}}}
 
| colspan="2" style="{{#ifeq: {{{hidden|N/A}}}|N/A|display:none;}} border: 1px solid #000000; border-top-width: 0;" | {{AbilityDesc|{{{hidden}}}}}
 
|-
 
|-
Line 55: Line 55:
 
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |
 
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |
 
|-
 
|-
|- style="text-align: center;"
+
 
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" | '''Breeding Data'''
+
 
|-
 
| style="text-align: center; border: 1px solid #000000; border-top-width: 0;" | Gender Ratio
 
| style="background: #92d3e9; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | {{#if:{{{male|}}}|{{{male}}}% male, {{#expr: 100 - {{{male|1}}}}}% female|This species is genderless.}}
 
|-
 
| style="text-align: center; border: 1px solid #000000; border-top-width: 0;" | Egg Groups
 
| style="background: #92d3e9; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | {{{group}}} {{#if:{{{group2|}}}|/ {{{group2}}}|}}
 
|-
 
|- style="background: #ffffff; text-align: center;"
 
| colspan="2" style="border: 0px solid #000000; border-top-width: 0;" | [[File:PokeBoxBottom.png]]
 
|}
 
 
<includeonly><!--
 
<includeonly><!--
//-->[[Category:Miato Pokémon]]<!--
+
//-->[[Category:Pokémon]]<!--
 
//-->{{#if:{{{type|}}}|[[Category:{{{type}}}-type Pokémon]]}}<!--
 
//-->{{#if:{{{type|}}}|[[Category:{{{type}}}-type Pokémon]]}}<!--
 
//-->{{#if:{{{type2|}}}|[[Category:{{{type2}}}-type Pokémon]]}}<!--
 
//-->{{#if:{{{type2|}}}|[[Category:{{{type2}}}-type Pokémon]]}}<!--
 
//-->{{#if:{{{group|}}}|[[Category:Pokémon in the {{{group}}} Egg Group]]}}<!--
 
//-->{{#if:{{{group|}}}|[[Category:Pokémon in the {{{group}}} Egg Group]]}}<!--
 
//-->{{#if:{{{group2|}}}|[[Category:Pokémon in the {{{group2}}} Egg Group]]}}<!--
 
//-->{{#if:{{{group2|}}}|[[Category:Pokémon in the {{{group2}}} Egg Group]]}}<!--
 +
//-->{{#if:{{{form|}}}|[[Category:Pokémon with multiple or regional forms]]}}<!--
 
//--></includeonly>
 
//--></includeonly>
  
Line 83: Line 74:
  
 
<pre><nowiki>
 
<pre><nowiki>
{{PokeBox
+
{{PokeBoxTop
 
| no =  
 
| no =  
 
| name =  
 
| name =  
 
| species =  
 
| species =  
 +
| form =
 +
| condition =
 
| type = normal
 
| type = normal
 
| type2 = flying
 
| type2 = flying
Line 94: Line 87:
 
| ability2 =  
 
| ability2 =  
 
| hidden =  
 
| hidden =  
| male =
 
| group =
 
| group2 =
 
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
If the Pokémon only has one type, simply remove type2. If the Pokémon has two types, replace whatever the hell is in type2 with whatever you want to feed it.
+
If the Pokémon does not have multiple forms, leave blank. If it does, insert the name of the form. This represents its default form. If the form has a particular condition, fill in the 'condition' box'. Otherwise, leave it blank.
 +
 
 +
If only has one type, simply remove type2. If the Pokémon has two types, replace whatever the hell is in type2 with whatever you want to feed it.
  
 
Similarily for the egg groups: If the Pokémon only has one egg group, simply remove group2. If the Pokémon has two egg groups, replace whatever the hell is in group2 with whatever you want to feed it.
 
Similarily for the egg groups: If the Pokémon only has one egg group, simply remove group2. If the Pokémon has two egg groups, replace whatever the hell is in group2 with whatever you want to feed it.
  
If the Pokémon only has one Ability, feed N/A into the ability2 field. This will make the cells disappear.
+
If the Pokémon only has one Ability, leave the ability2 and hidden fields blank. This will make the cells disappear.
 +
 
 +
Do not forget to cap this with the PokeBoxBottom template.
  
 
</noinclude>
 
</noinclude>

Latest revision as of 02:56, 28 August 2023

Description

This is the infobox for Miato Pokémon

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

{{PokeBoxTop
| no = 
| name = 
| species = 
| form =
| condition =
| type = normal
| type2 = flying
| ht = 
| wt = 
| ability = 
| ability2 = 
| hidden = 
}}

If the Pokémon does not have multiple forms, leave blank. If it does, insert the name of the form. This represents its default form. If the form has a particular condition, fill in the 'condition' box'. Otherwise, leave it blank.

If only has one type, simply remove type2. If the Pokémon has two types, replace whatever the hell is in type2 with whatever you want to feed it.

Similarily for the egg groups: If the Pokémon only has one egg group, simply remove group2. If the Pokémon has two egg groups, replace whatever the hell is in group2 with whatever you want to feed it.

If the Pokémon only has one Ability, leave the ability2 and hidden fields blank. This will make the cells disappear.

Do not forget to cap this with the PokeBoxBottom template.


PokeBoxTop.png
#{{{no}}} - {{{name}}}
{{{species}}} Pokémon
{{{form}}}
[[File:{{{name}}}.png|250px|center|{{{name}}}]]
Type [[File:Type_{{{type}}}.png]]
Physical Data
Height {{{ht}}} m.
Weight {{{wt}}} Kg.
Ability Data
Ability
Ability
Hidden Ability