Difference between revisions of "Template:PorkmanInfobox"
From Rollo
(added auto-categorization for types, abilities, gender ratio, egg groups, leveling rate, color, habitat, and body style) |
|||
Line 71: | Line 71: | ||
| width="50%" colspan="1" s{{{abilitym|}}}tyle="display: none" | [[{{{abilitym|UnknownAbility}}} (ability)|<span style="color:#000;">{{{abilitym|UnknownAbility}}}</span>]]<br/><small>{{{form2|}}}</small> | | width="50%" colspan="1" s{{{abilitym|}}}tyle="display: none" | [[{{{abilitym|UnknownAbility}}} (ability)|<span style="color:#000;">{{{abilitym|UnknownAbility}}}</span>]]<br/><small>{{{form2|}}}</small> | ||
| width="50%" s{{{abilitym2|}}}tyle="display: none" | [[{{{abilitym2|UnknownAbility}}} (ability)|<span style="color:#000;">{{{abilitym2|UnknownAbility}}}</span>]]<br/><small>{{{form3|}}}</small> | | width="50%" s{{{abilitym2|}}}tyle="display: none" | [[{{{abilitym2|UnknownAbility}}} (ability)|<span style="color:#000;">{{{abilitym2|UnknownAbility}}}</span>]]<br/><small>{{{form3|}}}</small> | ||
− | |||
− | |||
|} | |} | ||
|- | |- | ||
Line 173: | Line 171: | ||
| 2 = Serpentine | | 2 = Serpentine | ||
| 3 = Piscine | | 3 = Piscine | ||
− | | 4 = Head | + | | 4 = Head-and-arms |
− | | 5 = Head | + | | 5 = Head-and-base |
| 6 = Bipedal with tail | | 6 = Bipedal with tail | ||
| 7 = Bipedal but armless | | 7 = Bipedal but armless | ||
| 8 = Quadruped | | 8 = Quadruped | ||
− | | 9 = | + | | 9 = Two-winged |
− | | 10 = | + | | 10 = Tentacled |
− | | 11 = Multiple | + | | 11 = Multiple bodies |
| 12 = Humanoid | | 12 = Humanoid | ||
| 13 = Many-winged | | 13 = Many-winged | ||
Line 187: | Line 185: | ||
| width="50%" {{#if:{{{body2|}}}||style="display:none;"}} | [[File:Body{{{body2|Unknown}}}.png]]<br/><small>{{{form2}}}</small> | | width="50%" {{#if:{{{body2|}}}||style="display:none;"}} | [[File:Body{{{body2|Unknown}}}.png]]<br/><small>{{{form2}}}</small> | ||
|} | |} | ||
− | + | |} <includeonly>[[Category:{{{type1|Unknown}}}-type monsters]] | |
− | |}<includeonly>[[Category:Monsters in Pocket Monsters: Hyrule Edition]]</includeonly><noinclude> | + | {{#if:{{{type2|}}}|[[Category:{{{type2|}}}-type monsters]] [[Category:Dual-type monsters]]|[[Category:Single-type monsters]]}} |
+ | {{#if:{{{ability1|}}}|[[Category:Monsters with {{{ability1|}}}]]}} | ||
+ | {{#if:{{{ability2|}}}|[[Category:Monsters with {{{ability2|}}}]]}} | ||
+ | {{#if:{{{abilityd|}}}|[[Category:Monsters with {{{abilityd|}}}]]}} | ||
+ | {{#if:{{{ability2-1|}}}|[[Category:Monsters with {{{ability2-1|}}}]]}} | ||
+ | {{#if:{{{ability2-2|}}}|[[Category:Monsters with {{{ability2-2|}}}]]}} | ||
+ | {{#if:{{{abilityd2|}}}|[[Category:Monsters with {{{abilityd2|}}}]]}} | ||
+ | {{#if:{{{ability3-1|}}}|[[Category:Monsters with {{{ability3-1|}}}]]}} | ||
+ | {{#if:{{{ability3-2|}}}|[[Category:Monsters with {{{ability3-2|}}}]]}} | ||
+ | {{#switch:{{{gendercode|}}} | ||
+ | |255=[[Category:Monsters that are genderless]] | ||
+ | |254=[[Category:Monsters that are exclusively female]] | ||
+ | |223=[[Category:Monsters with a gender ratio of one male to seven females]] | ||
+ | |191=[[Category:Monsters with a gender ratio of one male to three females]] | ||
+ | |127=[[Category:Monsters with a gender ratio of one male to one female]] | ||
+ | |63=[[Category:Monsters with a gender ratio of three males to one female]] | ||
+ | |31=[[Category:Monsters with a gender ratio of seven males to one female]] | ||
+ | |0==[[Category:Monsters that are exclusively male]] | ||
+ | |[[Category:Monsters with an unknown gender ratio]]}} | ||
+ | [[Category:Monsters in the {{{egggroup1|Undiscovered}}} egg group]] | ||
+ | {{#if:{{{egggroup2|}}}|[[Category:Monsters in the {{{egggroup2|Undiscovered}}} egg group]] [[Category:Monsters in two egg groups]]|[[Category:Monsters in only one egg group]]}} | ||
+ | {{#ifeq:{{{lvlrate|}}}|Erratic|[[Category:Monsters with an Erratic leveling rate]]|[[Category:Monsters with a {{{lvlrate|Normal}}} leveling rate]]}} | ||
+ | {{#if:{{{color|}}}|[[Category:{{{color|}}}-colored monsters]]}} | ||
+ | {{#ifeq:{{{habitat|}}}|Urban|[[Category:Monsters found primarily in an Urban habitat]]|[[Category:Monsters found primarily in a {{{habitat|Rare}}} habitat]]}} | ||
+ | {{#switch: {{{body|}}} | ||
+ | | 1 = [[Category:Monsters with a body style of head only]] | ||
+ | | 2 = [[Category:Monsters with a body style of serpentine]] | ||
+ | | 3 = [[Category:Monsters with a body style of piscine]] | ||
+ | | 4 = [[Category:Monsters with a body style of head-and-arms]] | ||
+ | | 5 = [[Category:Monsters with a body style of head-and-base]] | ||
+ | | 6 = [[Category:Monsters with a body style of bipedal with tail]] | ||
+ | | 7 = [[Category:Monsters with a body style of bipedal but armless]] | ||
+ | | 8 = [[Category:Monsters with a body style of quadruped]] | ||
+ | | 9 = [[Category:Monsters with a body style of two-winged]] | ||
+ | | 10 = [[Category:Monsters with a body style of tentacled]] | ||
+ | | 11 = [[Category:Monsters with a body style of multiple bodies]] | ||
+ | | 12 = [[Category:Monsters with a body style of humanoid]] | ||
+ | | 13 = [[Category:Monsters with a body style of many-winged]] | ||
+ | | 14 = [[Category:Monsters with a body style of insectoid]] | ||
+ | |}} | ||
+ | [[Category:Monsters in Pocket Monsters: Hyrule Edition]]</includeonly><noinclude> | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Revision as of 10:27, 6 March 2019
| ||||||||||
Type
| ||||||||||
Abilities
| ||||||||||
Gender ratio
|
Catch rate
| |||||||||
Breeding
| ||||||||||
Height
|
Weight
| |||||||||
Base experience yield
|
Leveling rate
| |||||||||
Base friendship
|
Color
| |||||||||
Habitat
|
Body style
|