Template:AlmanacNew/doc

From Plants vs. Zombies Wiki
Jump to navigation Jump to search
Description
Created by Uselessguy, this template is used to insert plant almanacs!
Syntax
Type {{AlmanacNew|<...>}} somewhere. Then fill the <...> with the parameters.
Parameter Description
box title optional, uses pagename template as default
icon uses the image of the plant as it appears in the in-game Almanac, will use the Sunflower by default
type changes the type of the Almanac image, sets as jpg by default
description header functionally useful overview of the plant. Use Template:Almanac2New/Second Bar to show its specific stats.
(It is recommended to put {{Padding|0px}} after the last stat to give it some space.)
description for the special features of the plant and for the flavor text, which is the sometimes nonsensical descriptions provided by PopCap
nostats fill this parameter with anything if the plant has no statistics
Sample output
{{AlmanacNew
 |box title=Sunflower
 |icon = SunflowerAlmanac
 |type=jpg
 |description header = {{Almanac2New/Second Bar|how?=s.r|sun=50|recharge=Fast}}
{{Almanac2New/Second Bar|color=dark|?1 = Toughness|?1cap = TOUGHNESS|input1 = Typical|?2 = Sun Production|?2cap = SUN PRODUCTION|input2 = Normal}}{{Padding|0px}}
Sunflowers are essential for you to produce extra sun. Try planting as many as you can!
 |description = Sun Production: <font color=red>normal</font><br><br>
After the release of her first major Youtuber video "Zombies On Your Lawn," Sunflower's Youtuber channel has been bursting with fun. She is currently putting the final touches on her reality show TV pitch "Sunflower Thinks She Can Dance."
}}


Results in...


Sunflower

SUN COST: 50
RECHARGE: Fast

TOUGHNESS: Typical
SUN PRODUCTION: Normal

Sunflowers are essential for you to produce extra sun. Try planting as many as you can!

Sun Production: normal

After the release of her first major Youtuber video "Zombies On Your Lawn," Sunflower's Youtuber channel has been bursting with fun. She is currently putting the final touches on her reality show TV pitch "Sunflower Thinks She Can Dance."