Template:Types: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
No edit summary
(Re-design to use TypeIcon)
 
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| align="right" class="toccolours" cellspacing="2" cellpadding="2" style="border: 2px solid #{{#switch: {{{1|none}}}|{{{1}}}={{{{{1|normal}}} color}}|none=88a}}; background: #{{#switch: {{{1|none}}}|{{{1}}}={{{{{1|normal}}} color light}}|none=fff}}; border-radius:20px; -moz-border-radius:20px; float: right; margin: 0 0 0.5em 0.5em;"
<div class="roundy" style="float:right; text-align:center; background:#FFF; padding: 3px; border: 2px solid #{{ {{{1|Status}}} color}}; margin-left: 5px; margin-bottom: 5px">
|-
'''[[Type|{{color|000|Types}}]]'''
| colspan="2" style="text-align: center;" |'''[[Elemental types]]'''
<div style="display:grid; grid-template-columns: 1fr 1fr">
|-
<div>{{TypeIcon|Normal}}</div>
| width="50%" style="padding: 0; margin: 0;" |
<div>{{TypeIcon|Fire}}</div>
{| {| align="right" class="toccolours" cellspacing="3" style="border: 1px solid #{{#switch: {{{1|none}}}|{{{1}}}={{{{{1|normal}}} color}}|none=88a}}; border-radius:20px; -moz-border-radius:20px; padding-bottom: 5px; text-align: center;"
<div>{{TypeIcon|Fighting}}</div>
|-
<div>{{TypeIcon|Water}}</div>
! [[Physical move|Physical]]{{tt|*|Attack property is move-specific beginning in Generation IV}}
<div>{{TypeIcon|Flying}}</div>
|-
<div>{{TypeIcon|Grass}}</div>
| style="background: #{{normal color}}; border: 1px solid black;" | {{t|Normal|{{color|FFF|Normal}}}}
<div>{{TypeIcon|Poison}}</div>
|-
<div>{{TypeIcon|Electric}}</div>
| style="background: #{{fighting color}}; border: 1px solid black;" | {{t|Fighting|{{color|FFF|Fighting}}}}
<div>{{TypeIcon|Ground}}</div>
|-
<div>{{TypeIcon|Psychic}}</div>
| style="background: #{{flying color}}; border: 1px solid black;" | {{t|Flying|{{color|FFF|Flying}}}}
<div>{{TypeIcon|Rock}}</div>
|-
<div>{{TypeIcon|Ice}}</div>
| style="background: #{{poison color}}; border: 1px solid black;" | {{t|Poison|{{color|FFF|Poison}}}}
<div>{{TypeIcon|Bug}}</div>
|-
<div>{{TypeIcon|Dragon}}</div>
| style="background: #{{ground color}}; border: 1px solid black;" | {{t|Ground|{{color|FFF|Ground}}}}
<div>{{TypeIcon|Ghost}}</div>
|-
<div>{{TypeIcon|Dark}}</div>
| style="background: #{{rock color}}; border: 1px solid black;" | {{t|Rock|{{color|FFF|Rock}}}}
<div>{{TypeIcon|Steel}}</div>
|-
<div>{{TypeIcon|Fairy}}</div>
| style="background: #{{bug color}}; border: 1px solid black;" | {{t|Bug|{{color|FFF|Bug}}}}
</div>
|-
----
| style="background: #{{ghost color}}; border: 1px solid black;" | {{t|Ghost|{{color|FFF|Ghost}}}}
<div style="display:grid; grid-template-columns: 1fr 1fr">
|-
<div>{{TypeIcon|Stellar}}</div>
| style="background: #{{steel color}}; border: 1px solid black;" | {{t|Steel|{{color|FFF|Steel}}}}
<div>{{TypeIcon|???}}</div>
|}
</div>
| width="50%" style="padding: 0; margin: 0;" |
</div><includeonly>[[Category:Types|{{{2|{{PAGENAME}}}}}]]</includeonly><noinclude>[[Category:Navigation templates]]</noinclude>
{| align="right" class="toccolours" cellspacing="3" style="border: 1px solid #{{#switch: {{{1|none}}}|{{{1}}}={{{{{1|normal}}} color}}|none=88a}}; border-radius:20px; -moz-border-radius:20px; padding-bottom: 5px; text-align: center;"
|-
! [[Special move|Special]]{{tt|*|Attack property is move-specific beginning in Generation IV}}
|-
| style="background: #{{fire color}}; border: 1px solid black;" | {{t|Fire|{{color|FFF|Fire}}}}
|-
| style="background: #{{water color}}; border: 1px solid black;" | {{t|Water|{{color|FFF|Water}}}}
|-
| style="background: #{{grass color}}; border: 1px solid black;" | {{t|Grass|{{color|FFF|Grass}}}}
|-
| style="background: #{{electric color}}; border: 1px solid black;" | {{t|Electric|{{color|FFF|Electric}}}}
|-
| style="background: #{{psychic color}}; border: 1px solid black;" | {{t|Psychic|{{color|FFF|Psychic}}}}
|-
| style="background: #{{ice color}}; border: 1px solid black;" | {{t|Ice|{{color|FFF|Ice}}}}
|-
| style="background: #{{dragon color}}; border: 1px solid black;" | {{t|Dragon|{{color|FFF|Dragon}}}}
|-
| style="background: #{{dark color}}; border: 1px solid black;" | {{t|Dark|{{color|FFF|Dark}}}}
|-
| style="background: #fff; border: 1px solid white;" | &nbsp;
|}
|-
|
|-
| colspan="2" style="padding: 0; margin: 0;" |
{| align="right" class="toccolours" cellspacing="3" style="border: 1px solid #{{#switch: {{{1|none}}}|{{{1}}}={{{{{1|normal}}} color}}|none=88a}}; border-radius:20px; -moz-border-radius:20px; padding-bottom: 5px; text-align: center; width:100%;"
|-
| style="background: #{{??? color}}; border: 1px solid black;" | [[Unknown type|{{color|FFF|???}}]]
|}
|-
<!--
| colspan="2" | <center><small>[{{SERVER}}{{localurl:Template:ElementalTypes|action=edit}} Edit this box]</small>
</center>
-->
|}
<includeonly>[[Category:Elemental types|{{{2|{{PAGENAME}}}}}]]</includeonly><noinclude>[[Category:Navigation templates]]</noinclude>

Latest revision as of 14:42, 14 January 2024