User:Pandamonia/Template:ptype2: Difference between revisions

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


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

edits