Template:Almanac2New/Second Bar/doc

From Plants vs. Zombies Wiki
Jump to navigation Jump to search
Description
This template is used to insert plant statistics in the AlmanacNew templates!
Syntax
Type {{Almanac2New/Second Bar|<...>}} in the "description" parameter of the AlmanacNew template. Then fill the <...> with the parameters.
Parameter Description
color fill this parameter with "dark" to make the stat box dark, and "light" to make it light! Will set as "light" as default.
how? Fill this parameter with "s.r" to show Sun Cost and Recharge. Leave this blank to show custom stats using the ?1, ?2, ?1cap, ?2cap parameters.
?1 name of first stat (only affects icon)
?2 name of second stat (only affects icon)
?1cap name of first stat in caps (only affects stat header)
?2cap name of second stat in caps (only affects stat header)
input1 value of the first stat
input2 value of the second stat
Sample output
{{Almanac2New/Second Bar
|color=dark
|?1 = Toughness
|?1cap = TOUGHNESS
|input1 = Typical
|?2 = Sun Production
|?2cap = SUN PRODUCTION
|input2 = Normal}}


Results in...


TOUGHNESS: Typical
SUN PRODUCTION: Normal