Template talk:Infobox Flora
From Nookipedia, the Animal Crossing wiki
Type Error
It seems that even if one enters a 'Type of plant' in the 'type' field, the template still displays "Unknown". I'm not familiar enough with code to fix this.
Example code: Notice type of plant=tree.
{{Infobox Flora |name=Tree |image=[[File:Tree NL.png|100px]] [[File:Cedar Tree NL.png|100px]] Oak and Cedar trees in ''New Leaf'' |type of plant=Tree |spawns= |rarity=Common |appearances={{DnM}},<br>{{DnM+}},<br>{{PG}},<br>{{DnMe+}},<br>{{WW}},<br>{{CF}},<br>{{NL}},<br>{{AM}} }}
Result: Notice that it still states 'Type of plant Unknown'.
| ||||||
100px
Oak and Cedar trees in New Leaf | ||||||
Type | Unknown | |||||
---|---|---|---|---|---|---|
Appearances | Doubutsu no Mori, Doubutsu no Mori+, Animal Crossing, Doubutsu no Mori e+, Animal Crossing: Wild World, Animal Crossing: City Folk, Animal Crossing: New Leaf, 🎬 Gekijōban Doubutsu no Mori | |||||
Main appearances | ||||||
| ||||||
Other appearances | ||||||
--sunmarsh (talk) 19:15, July 15, 2014 (EDT)
- The problem is that the "type of plant" field was renamed "type" when the template was updated, but the pages the template was used on weren't updated. Taking the "of plant" out of the field names will fix the problem (adding it back to the template would also fix it, but the one-word field is preferable here, and the infobox is used on relatively few pages). -Sky (talk) 21:13, July 15, 2014 (EDT)