Template:Ndex/form: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(MSP/9)
(doc template)
 
Line 6: Line 6:
| {{{{#switch: {{{gen|}}}|2|3|4|5=MSP/3|6=MSP/6|PE=MSP/PE|8=MSP/8|BDSP=MSP/BDSP|9=MSP/9|10=|ArtP}}|{{{1|???}}}|{{{2|MissingNo.}}}|form={{{3}}}}} || {{p|{{{2|MissingNo.}}}}}<br><small>{{{4|}}}</small> {{#if:{{{6|}}}|{{Moveentry/type|{{{5}}}}} {{Moveentry/type|{{{6}}}}}|{{Moveentry/type|{{{5}}}|colspan=2}}}}<noinclude>
| {{{{#switch: {{{gen|}}}|2|3|4|5=MSP/3|6=MSP/6|PE=MSP/PE|8=MSP/8|BDSP=MSP/BDSP|9=MSP/9|10=|ArtP}}|{{{1|???}}}|{{{2|MissingNo.}}}|form={{{3}}}}} || {{p|{{{2|MissingNo.}}}}}<br><small>{{{4|}}}</small> {{#if:{{{6|}}}|{{Moveentry/type|{{{5}}}}} {{Moveentry/type|{{{6}}}}}|{{Moveentry/type|{{{5}}}|colspan=2}}}}<noinclude>
|}
|}
 
{{Documentation}}
==Usage==
This template should be preceded by {{Template|ndex}} that uses a ''forms'' parameter, for example: <code><nowiki>{{ndex|019|Rattata|Normal|forms=2}}</nowiki></code>. If {{Template|ndex}} is called with N as the value for the ''forms'' parameter, it should be followed by N-1 instances of this template.
 
Parameters:
* Unnamed (ordinal)
** 1: the Pokémon's [[National Pokédex]] number (for example, "019" for {{p|Rattata}})
** 2: the Pokémon's species name ("Rattata")
** 3: the form string that identifies the image of the desired form ("-Alola" for Alolan Rattata's art, [[:File:019Rattata-Alola.png]])
** 4: the form name for the Pokémon as it appears in the Pokédex ("Alolan Form")
** 5: the Pokémon's first [[type]]
** 6 (optonal): the Pokémon's second type, if it has one
* Named
** ''gen'': dictates which menusprite image to use; options are...
*** 2, 3, 4, or 5 for {{Template|MSP/3}}
*** 6 for {{Template|MSP/6}}
*** 8 for {{Template|MSP/8}}
*** PE for {{Template|MSP/PE}}
*** BDSP for {{Template|MSP/BDSP}}
*** Any other value (including if ''gen'' is not used) defaults to {{Template|ArtP}}


[[Category:Table templates]]</noinclude>
[[Category:Table templates]]</noinclude>

Latest revision as of 04:49, 2 December 2022

Ndex MS Pokémon Type
#0019 Rattata Rattata
Normal
[[File:???MissingNo.{{{3}}}.png|link=MissingNo. (Pokémon)|70px|MissingNo.]] MissingNo.
[[{{{5}}} (type)|{{{5}}}]]



Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)

This template should be preceded by {{ndex}} that uses a forms parameter, for example: {{ndex|019|Rattata|Normal|forms=2}}. If {{ndex}} is called with N as the value for the forms parameter, it should be followed by N-1 instances of this template.

Parameters:

  • Unnamed (ordinal)
    • 1: the Pokémon's National Pokédex number (for example, "019" for Rattata)
    • 2: the Pokémon's species name ("Rattata")
    • 3: the form string that identifies the image of the desired form ("-Alola" for Alolan Rattata's art, a:File:019Rattata-Alola.png)
    • 4: the form name for the Pokémon as it appears in the Pokédex ("Alolan Form")
    • 5: the Pokémon's first type
    • 6 (optonal): the Pokémon's second type, if it has one
  • Named