Template:Ndex: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(MSP/9)
(We'll pad out the ndex display | doc)
 
Line 3: Line 3:
</noinclude>
</noinclude>
|- style="background:#FFF"
|- style="background:#FFF"
| rowspan="{{{forms|1}}}" style="font-family:monospace,monospace" | #{{{1|001}}} || {{{{#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|001}}}|{{{2|Bulbasaur}}}|form={{{iform|}}}}} || {{p|{{{2|Bulbasaur}}}}}<br><small>{{{formname|}}}</small> {{#if:{{{4|}}}|{{Moveentry/type|{{{3}}}}} {{Moveentry/type|{{{4}}}}}|{{Moveentry/type|{{{3}}}|colspan=2}}}}<noinclude>
| rowspan="{{{forms|1}}}" style="font-family:monospace,monospace" | #{{padleft:{{{1|001}}}|4|0}} || {{{{#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|001}}}|{{{2|Bulbasaur}}}|form={{{iform|}}}}} || {{p|{{{2|Bulbasaur}}}}}<br><small>{{{formname|}}}</small> {{#if:{{{4|}}}|{{Moveentry/type|{{{3}}}}} {{Moveentry/type|{{{4}}}}}|{{Moveentry/type|{{{3}}}|colspan=2}}}}<noinclude>
|}
|}


==Usage==
{{documentation}}
Parameters:
* Unnamed (ordinal)
** 1: the Pokémon's [[National Pokédex]] number (for example, "001" for Bulbasaur)
** 2: the Pokémon's species name ("Bulbasaur")
** 3: the Pokémon's first [[type]]
** 4 (optonal): the Pokémon's second type, if it has one
* Named
** ''iform'': the form string that identifies the image of the desired form, if the default image is wrong (for example, [[:File:412Burmy.png]] shows all three of {{p|Burmy}}'s forms, while [[:File:412Burmy-Plant.png]] shows only its first form, Plant Cloak)
** ''formname'': the form name for the Pokémon as it appears in the Pokédex (many base forms have no name, but some, such as Burmy, do)
** ''forms'': the number of total forms this Pokémon has; if this value is N, this template should be followed by N-1 instances of {{Template|ndex/form}}
** ''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 00:35, 4 June 2023

Ndex MS Pokémon Type
#0001 Bulbasaur Bulbasaur
[[{{{3}}} (type)|{{{3}}}]]



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

Parameters

Unnamed (ordinal)
  • 1: the Pokémon's National Pokédex number (for example, "001" for Bulbasaur)
  • 2: the Pokémon's species name ("Bulbasaur")
  • 3: the Pokémon's first type
  • 4 (optonal): the Pokémon's second type, if it has one
Named
  • iform: the form string that identifies the image of the desired form, if the default image is wrong (for example, a:File:412Burmy.png shows all three of Burmy's forms, while a:File:412Burmy-Plant.png shows only its first form, Plant Cloak)
  • formname: the form name for the Pokémon as it appears in the Pokédex (many base forms have no name, but some, such as Burmy, do)
  • forms: the number of total forms this Pokémon has; if this value is N, this template should be followed by N-1 instances of {{ndex/form}}
  • gen: dictates which menusprite image to use; options are...