Difference between revisions of "Template talk:Infobox Flora"

From Nookipedia, the Animal Crossing wiki
m (Direct image link.)
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
<br /><br />'''Example code:''' Notice type of plant=tree.<pre>{{Infobox Flora
 
<br /><br />'''Example code:''' Notice type of plant=tree.<pre>{{Infobox Flora
 
|name=Tree
 
|name=Tree
|image=[[File:Tree NL.png|100px]] [[File:Cedar Tree NL.png|100px]]
+
|image=[[File:Tree NL Artwork.png|100px]] [[File:Cedar Tree NL.png|100px]]
 
Oak and Cedar trees in ''New Leaf''
 
Oak and Cedar trees in ''New Leaf''
 
|type of plant=Tree
 
|type of plant=Tree
Line 13: Line 13:
 
{{Infobox Flora
 
{{Infobox Flora
 
|name=Tree
 
|name=Tree
|image=[[File:Tree NL.png|100px]] [[File:Cedar Tree NL.png|100px]]
+
|image=[[File:Tree NL Artwork.png|100px]] [[File:Cedar Tree NL Artwork.png|100px]]
 
Oak and Cedar trees in ''New Leaf''
 
Oak and Cedar trees in ''New Leaf''
 
|type of plant=Tree
 
|type of plant=Tree
Line 24: Line 24:
 
: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). '''''[[User:Sky|<font color="#4682B4">-Sky</font>]] <small>[[User talk:Sky|<font color="#246092">(talk)</font>]]</small>''''' 21:13, 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). '''''[[User:Sky|<font color="#4682B4">-Sky</font>]] <small>[[User talk:Sky|<font color="#246092">(talk)</font>]]</small>''''' 21:13, July 15, 2014 (EDT)
  
 +
{{clear}}
 
== About appearance ==
 
== About appearance ==
 
+
{{Archive top|result=Task has been accomplished. Infobox now uses appearance system. -- [[User:PanchamBro|PanchamBro]] ([[User talk:PanchamBro|talk]] • [[Special:Contributions/PanchamBro|contributions]]) 22:24, May 4, 2022 (EDT)}}
 
I think this infobox should have appearance like it has: Infobox Event and Infobox Villager. I think it would be more readable. What do you think? {{User:Kalina70/Sig}} 12:18, November 19, 2021 (CET)
 
I think this infobox should have appearance like it has: Infobox Event and Infobox Villager. I think it would be more readable. What do you think? {{User:Kalina70/Sig}} 12:18, November 19, 2021 (CET)
 
:{{Support}}; not sure why it wasn't like this already. ~ [[User:Vivian|<span style="font-family:Coustard;color:#cfdc42">Vivian</span>]] ([[User talk:Vivian|<span style="font-family:Coustard;color:#78be0d">talk</span>]])    [[File:Vivian Sig Pic Koopa.png|20px|link=Special:Contributions/Vivian]] 16:14, November 19, 2021 (EST)
 
:{{Support}}; not sure why it wasn't like this already. ~ [[User:Vivian|<span style="font-family:Coustard;color:#cfdc42">Vivian</span>]] ([[User talk:Vivian|<span style="font-family:Coustard;color:#78be0d">talk</span>]])    [[File:Vivian Sig Pic Koopa.png|20px|link=Special:Contributions/Vivian]] 16:14, November 19, 2021 (EST)
 
:{{Support}} - I agree, consistency across infobox templates is always a plus. [[File:Sunmarshsignature.png|link=User:Sunmarsh]] '''<small><span style="font-variant:small-caps">([[User_talk:Sunmarsh|<span style="color:#7B7B7B">talk</span>]])</span></small>''' 12:38, November 30, 2021 (EST)
 
:{{Support}} - I agree, consistency across infobox templates is always a plus. [[File:Sunmarshsignature.png|link=User:Sunmarsh]] '''<small><span style="font-variant:small-caps">([[User_talk:Sunmarsh|<span style="color:#7B7B7B">talk</span>]])</span></small>''' 12:38, November 30, 2021 (EST)
 
+
{{Archive bottom}}
[[Category:Active discussions]]
 

Latest revision as of 04:16, March 10, 2024

Type Error[edit]

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 Artwork.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'.

Flora
Tree NL Artwork.png Cedar Tree NL Artwork.png

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)

About appearance[edit]

Task has been accomplished. Infobox now uses appearance system. -- PanchamBro (talkcontributions) 22:24, May 4, 2022 (EDT)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page.

I think this infobox should have appearance like it has: Infobox Event and Infobox Villager. I think it would be more readable. What do you think? Kalina (talk) Pikachu Sig Icon.png 12:18, November 19, 2021 (CET)

Support Support; not sure why it wasn't like this already. ~ Vivian (talk) Vivian Sig Pic.png 16:14, November 19, 2021 (EST)
Support Support - I agree, consistency across infobox templates is always a plus. Sunmarshsignature.png (talk) 12:38, November 30, 2021 (EST)

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page.