User:Pandamonia/Template:ptype1: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>==Code:==</noinclude>
{{#switch: {{{1|}}}  
{{#switch: {{{1|}}}  


Line 510: Line 509:
  | 490 = water
  | 490 = water


  | <strong style<nowiki>=</nowiki>'color:red;'>ERROR - [[User:Pandamonia/Template:ptype1|This template]] requires a proper parameter</strong>
  | default = none}}<noinclude>
}}
==Usage:==
 
<pre>{{ptype2|XXX}}</pre>
<noinclude>==Usage:==
Use this template to get the first type of every Pokémon. {{p|Arceus}} is considered {{typecolor2|Normal}} and {{p|Wormadam}} is displayed as its grass form, {{typecolor2|Bug}}/{{typecolor2|Grass}}.</noinclude>
<pre>{{ptype1|XXX}}</pre>
Use this template to get the first type of every Pokémon. Arceus is considered {{typecolor2|Normal}}. Wormadam is considered as its grass form, {{typecolor2|Bug}}/{{typecolor2|Grass}}.
</noinclude>
136

edits