Template:Ndex: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Created page with '<noinclude>{| align="center" style="-moz-border-radius: 10px; border: 2px solid #{{firered color}}; background: #{{firered color}};" ! style="background: #{{leafgreen color light…')
 
(We'll pad out the ndex display | doc)
 
(14 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{| align="center" style="-moz-border-radius: 10px; border: 2px solid #{{firered color}}; background: #{{firered color}};"
<noinclude>
! style="background: #{{leafgreen color light}}" | Ndex
{{ndexh|FireRed|LeafGreen}}
! style="background: #{{leafgreen color light}}" | MS
</noinclude>
! style="background: #{{leafgreen color light}}" | Pokémon
|- style="background:#FFF"
! style="-moz-border-radius-topright: 5px; background: #{{leafgreen color light}}" colspan="2" | Type</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>
|- style="background:#FFFFFF;"
|}
| style="font-family:Monospace;" | #{{#switch: {{{1|001}}}|351S|351R|351H=351|386A|386D|386S=386|412G|412S=412|413G|413S=413|422E=422|423E=423|479O|479W|479R|479F|479L=479|487O=487|492S=492|{{{1|001}}}}}
 
| {{MS|{{{1|001}}}|{{{2|Bulbasaur}}} (Pokémon)}}
{{documentation}}
| {{p|{{{2|Bulbasaur}}}}}
 
| colspan="{{#switch: {{{3|2}}}|2=1|2}}" style="background:#{{{{{4|Grass}}} color}}" align="center" | [[{{{4|Grass}}} (type)|<span style="color:#FFFFFF">{{{4|Grass}}}</span>]] {{#switch: {{{3|2}}}|2={{Template:Moveentry/type|{{{5|Poison}}}}}}}<noinclude>
[[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...