FANDOM


(clean up and re-categorisation, replaced: Category:Infobox templates → Category:Infobox template)
(Undo revision 522076 by Vandraedha (talk))
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude>{{Infobox
+
<onlyinclude><infobox theme-source="standard" layout="horizontal">
|name = infobox-event
+
<title source="title"><default>{{PAGENAME}}</default></title>
|title = {{{title|{{FULLPAGENAME}}}}}
 
|above =
 
   
|image = {{#ifexist:File:{{{image|{{PAGENAME}}}}}-icon.png
+
<group>
|[[File:{{{image|{{PAGENAME}}}}}-icon.png|100px]]
+
<header>Image(s)</header>
|[[File:NoImage.png|59px|]]<br /> Upload [[File:{{{image|{{PAGENAME}}}}}-icon.png]]
+
<image>
}}<br>{{-C}}
+
<default>{{#ifexist:File:{{{image1|{{PAGENAME}}}}}-icon.png
  +
| [[File:{{{image1|{{PAGENAME}}}}}-icon.png|100px]]
  +
| [[File:NoImage.png|59px]]
  +
}}
  +
</default>
  +
<caption source="caption1">
  +
<default>{{#ifexist:File:{{{image1|{{PAGENAME}}}}}-icon.png
  +
| {{{caption1}}}<br />{{-C}}
  +
| Upload [[File:{{{image1|{{PAGENAME}}}}}-icon.png]]<br />{{-C}}
  +
}}
  +
</default>
  +
<format>{{{caption1}}}<br />{{-C}}</format>
  +
</caption>
  +
</image>
  +
  +
<data source="image2">
  +
<format>[[File:{{{image2}}}-icon.png|100px]]</format>
  +
</data>
   
|caption = {{{caption|}}}
+
<data source="caption2">
|image2 =
+
<format>{{{caption2}}}<br />{{-C}}</format>
|caption2 =
+
</data>
   
|header1 = Information<br />
+
<data source="image3">
  +
<format>[[File:{{{image3}}}-icon.png|100px]]</format>
  +
</data>
   
{{#if:{{{aLevel|}}}{{{auLevel|}}}{{{AP Gained|}}}{{{auLevel|}}}{{{AUP Gained|}}}{{{bonusAP|}}}{{{bonuscash|}}}{{{bonuscoconut|}}}{{{bonuscoconut|}}}{{{bonuscoin|}}}{{{bonusCP|}}}{{{bonusFP|}}}{{{bonusjade|}}}{{{bonusSP|}}}{{{bonusXP|}}}{{{bonusZP|}}}{{{Breeds|}}}{{{Caption|}}}{{{Caption2|}}}{{{Cash|}}}{{{cLevel|}}}{{{Coconut harvest|}}}{{{Coconuts|}}}{{{Coin harvest|}}}{{{Coin Harvest|}}}{{{Coins|}}}{{{Colors|}}}{{{Cost|}}}{{{costcash|}}}{{{costcoconut|}}}{{{costcoin|}}}{{{costjade|}}}{{{costother|}}}{{{costzcoin|}}}{{{cost1_curr_amt|}}}{{{cost2_curr_amt|}}}{{{cost3_curr_amt|}}}{{{cost1_curr_type|}}}{{{cost2_curr_type|}}}{{{cost3_curr_type|}}}{{{cLevel|}}}{{{CP Gained|}}}{{{dateend|}}}{{{datestart|}}}{{{End|}}}{{{end|}}}{{{fLevel|}}}{{{FP Gained|}}}{{{Gender|}}}{{{Growing Time|}}}{{{growing time|}}}{{{Harvest|}}}{{{Harvestcash|}}}{{{harvestcash|}}}{{{Harvestcoconut|}}}{{{harvestcoconut|}}}{{{Harvestcoconuts|}}}{{{Harvestcoin|}}}{{{Harvestcoins|}}}{{{harvestjade|}}}{{{harvestother|}}}{{{harvest1_curr_amt|}}}{{{harvest2_curr_amt|}}}{{{harvest13_curr_amt|}}}{{{harvest1_curr_type|}}}{{{harvest2_curr_type|}}}{{{harvest3_curr_type|}}}{{{Image|}}}{{{image|}}}{{{Jade|}}}{{{jLevel|}}}{{{Level|}}}{{{Mastery Sign|}}}{{{Material|}}}{{{Offspring|}}}{{{otherLevel|}}}{{{Parent|}}}{{{Resource|}}}{{{rewardAP|}}}{{{rewardAUP|}}}{{{rewardcash|}}}{{{rewardcoconut|}}}{{{rewardcoin|}}}{{{rewardCP|}}}{{{rewardFP|}}}{{{rewardGP|}}}{{{rewardjade|}}}{{{rewardSP|}}}{{{rewardXP|}}}{{{rewardZP|}}}{{{Sell|}}}{{{Sellcoins|}}}{{{sellother|}}}{{{sell1_curr_amt|}}}{{{sell2_curr_amt|}}}{{{sell3_curr_amt|}}}{{{sell1_curr_type|}}}{{{sell2_curr_type|}}}{{{sell3_curr_type|}}}{{{Size|}}}{{{sLevel|}}}{{{SP Gained|}}}{{{SHP Gained|}}}{{{Source|}}}{{{Start|}}}{{{start|}}}{{{Storage|}}}{{{Tile|}}}{{{Transformedfrom|}}}{{{Transformsinto|}}}{{{Type|}}}{{{World|}}}{{{XP Gained|}}}{{{xp1_gain_amt|}}}{{{xp2_gain_amt|}}}{{{xp3_gain_amt|}}}{{{xp1_gain_type|}}}{{{xp2_gain_type|}}}{{{xp3_gain_type|}}}{{{zLevel|}}}{{{ZP Gained|}}}|<span style="color: red; background: yellow;"><strong><nowiki>Warning!</nowiki> This template is using obsolete parameters! This may cause this or other pages to display inappropriately (or not at all). See the template page {{t|infobox-event}} for more information.</strong></span>[[Category:out of date infobox]]}}
+
<data source="caption3">
  +
<format>{{{caption3}}}<br />{{-C}}</format>
  +
</data>
  +
</group>
   
|label1 =
+
<group collapse="open">
|data1 =
+
<header>Availability:</header>
  +
<data source="first_available">
  +
<format>{{date|{{{first_available}}}}}</format>
  +
<label>First date available:</label>
  +
<default>unknown</default>
  +
</data>
  +
<data source="last_available">
  +
<format>{{#switch:{{lc:{{{last_available}}}}}
  +
| available = available
  +
| notavailable | unavailable | unknown = no longer available
  +
| #default = {{date|{{{last_available}}}}}
  +
}}
  +
</format>
  +
<label>Last date available:</label>
  +
<default>available</default>
  +
</data>
  +
<data source="other_dates">
  +
<label>Other dates available:</label>
  +
</data>
  +
</group>
   
|header2 =
+
<group layout="stacked" collapse="open">
|label2 = Start Date:
+
<header>Required minimum level(s):</header>
|data2 = {{#if: {{{first_available|}}} |{{#ifeq: {{#ifexpr: {{{first_available}}} | true|true}} | true | {{date|{{{first_available}}}}} | {{{first_available}}} }} |unknown}}
+
<data source="level_req_type1"><format>{{level|{{{level_req_type1}}}|{{{level_req_amt1|}}}}}</format></data>
  +
<data source="level_req_type2"><format>{{level|{{{level_req_type2}}}|{{{level_req_amt2|}}}}}</format></data>
  +
<data source="level_req_type3"><format>{{level|{{{level_req_type3}}}|{{{level_req_amt3|}}}}}</format></data>
  +
</group>
   
|header3 =
+
<group collapse="open">
|label3 = End Date:
+
<header>Items released during this event</header>
|data3 = {{#if: {{{last_available|}}} | {{#ifeq: {{#ifexpr: {{{last_available}}} | true | true}} | true | {{date|{{{last_available}}}}} | {{{last_available}}} }} | available}}
+
<data source="animals"><label>Animals</label><default>0</default></data>
  +
<data source="buildings"><label>Buildings</label><default>0</default></data>
  +
<data source="clothing"><label>Clothing</label><default>0</default></data>
  +
<data source="seeds"><label>Seeds</label><default>0</default></data>
  +
<data source="trees"><label>Trees</label><default>0</default></data>
  +
<data source="other"><label>Other</label><default>0</default></data>
  +
<data><label>Total</label><default>{{#expr:({{{animals|0}}}+{{{buildings|0}}}+{{{clothing|0}}}+{{{decorations|{{{Decorations|0}}}}}}+{{{seeds|{{{Seeds|0}}}}}}+{{{trees|0}}}+{{{other|0}}})}}</default></data>
  +
</group>
  +
<data source="description"><label>Description</label></data>
   
|header4 =
+
<group layout="horizontal">
|label4 = Required minimum level(s):
+
<header>Events</header>
|data4 = {{#switch:{{lc:{{{level_req_type1}}}}}
+
<data source="last_event"><label>Last Event</label></data>
| aussie | australia = [[Australia Level]]:&nbsp;{{formatnum:{{formatnum:{{{level_req_amt1|}}}|R}}}}<br />
+
<data source="this_event"><label>This Event</label><default>{{PAGENAME}}</default></data>
| candy = [[Candy Level]]: {{formatnum:{{formatnum:{{{level_req_amt1|}}}|R}}}}<br />
+
<data source="next_event"><label>Next Event</label></data>
| cheer | mistletoe = [[Cheer Level]]:&nbsp;{{formatnum:{{formatnum:{{{level_req_amt1|}}}|R}}}}<br />
+
</group>
| fairy | enchanted = [[Fairy Level]]:&nbsp;{{formatnum:{{formatnum:{{{level_req_amt1|}}}|R}}}}<br />
+
<navigation>{{navbar|Template:Infobox-event}}</navigation>
| galaxy | space = [[Galaxy Level]]:&nbsp;{{formatnum:{{formatnum:{{{level_req_amt1|}}}|R}}}}<br />
+
</infobox>
| home | player = Player [[Level]]:&nbsp;{{formatnum:{{formatnum:{{{level_req_amt1|}}}|R}}}}<br />
+
<!-- begin error messages and deprecated parameters -->
| jade | zen = [[Zen Level]]:&nbsp;{{formatnum:{{formatnum:{{{level_req_amt1|}}}|R}}}}<br />
+
{{#if:{{{cost_curr_type3|}}}{{{harvest_curr_type3|}}}{{{level_req_type3|}}}{{{sell_curr_type3|}}}{{{xp_gain_type3|}}}|{{EditNeeded|The base template {{t|infobox-event}} needs additional parameters added}}|}}
| shell | atlantis = [[Shell Level]]:&nbsp;{{formatnum:{{formatnum:{{{level_req_amt1|}}}|R}}}}<br />
+
{{#if:{{{breeds|}}}{{{Breeds|}}}|Please add categories instead of adding similar items lists to individual articles.}}
| spook | haunted = [[Spook Level]]:&nbsp;{{formatnum:{{formatnum:{{{level_req_amt1|}}}|R}}}}<br />
+
{{#if:{{{aLevel|}}}{{{AP Gained|}}}{{{auLevel|}}}{{{AUP Gained|}}}{{{Bonus|}}}{{{Bonus Item|}}}{{{bonusAP|}}}{{{bonuscash|}}}{{{bonuscoconut|}}}{{{bonuscoconut|}}}{{{bonuscoin|}}}{{{bonusCP|}}}{{{bonusFP|}}}{{{bonusjade|}}}{{{bonusSP|}}}{{{bonusXP|}}}{{{bonusZP|}}}{{{Breeds|}}}{{{breeds|}}}{{{Bushel1|}}}{{{Bushel2|}}}{{{Bushel3|}}}{{{Bushel4|}}}{{{Bushel1Amount|}}}{{{bushel1amount|}}}{{{Bushel2Amount|}}}{{{bushel2amount|}}}{{{Bushel3Amount|}}}{{{bushel3amount|}}}{{{Bushel4Amount|}}}{{{bushel4amount|}}}{{{Caption|}}}{{{Caption2|}}}{{{Cash|}}}{{{cash|}}}{{{Chance|}}}{{{Classified as|}}}{{{classified as|}}}{{{cLevel|}}}{{{Coconut harvest|}}}{{{Coconuts|}}}{{{Coin harvest|}}}{{{Coin Harvest|}}}{{{Coins|}}}{{{Colors|}}}{{{Cost|}}}{{{costcash|}}}{{{costcoconut|}}}{{{costcoin|}}}{{{costjade|}}}{{{costother|}}}{{{costzcoin|}}}{{{cost1_curr_amt|}}}{{{cost1 curr amt|}}}{{{cost1_curr_type|}}}{{{cost1 curr type|}}}{{{cost2_curr_amt|}}}{{{cost2 curr type|}}}{{{cost2_curr_type|}}}{{{cost2 curr amt|}}}{{{cost3_curr_amt|}}}{{{cost3 curr amt|}}}{{{cost3_curr_type|}}}{{{cost3 curr type|}}}{{{CP Gained|}}}{{{dateend|}}}{{{datestart|}}}{{{Description|}}}{{{End|}}}{{{end|}}}{{{first-available|}}}{{{fLevel|}}}{{{FP Gained|}}}{{{Fuel|}}}{{{Gain|}}}{{{Gender|}}}{{{Goods|}}}{{{goods|}}}{{{Growing Time|}}}{{{growing time|}}}{{{Harvest|}}}{{{Harvestcash|}}}{{{harvestcash|}}}{{{Harvestcoconut|}}}{{{harvestcoconut|}}}{{{Harvestcoconuts|}}}{{{Harvestcoin|}}}{{{harvestcoin|}}}{{{Harvestcoins|}}}{{{harvestcoins|}}}{{{harvestjade|}}}{{{harvestother|}}}{{{harvest1_curr_amt|}}}{{{harvest13_curr_amt|}}}{{{harvest2_curr_amt|}}}{{{harvest3_curr_amt|}}}{{{harvest1_curr_type|}}}{{{harvest2_curr_type|}}}{{{harvest3_curr_type|}}}{{{Harvest time|}}}{{{Husbandry|}}}{{{husbandry|}}}{{{Image|}}}{{{image|}}}{{{Jade|}}}{{{jLevel|}}}{{{JP Gained|}}}{{{Last Goal|}}}{{{last goal|}}}{{{last_goal|}}}{{{last-available|}}}{{{Level|}}}{{{level_req_type|}}}{{{level_req_amt|}}}{{{Mastery Sign|}}}{{{Material|}}}{{{Next Goal|}}}{{{next goal|}}}{{{Offspring|}}}{{{other-dates|}}}{{{Other_gained|}}}{{{otherLevel|}}}{{{Parent|}}}{{{Parents|}}}{{{parents|}}}{{{Previous Goal|}}}{{{previous goal|}}}{{{PrevMastery|}}}{{{Quantity|}}}{{{Rarity|}}}{{{Resource|}}}{{{rewardAP|}}}{{{rewardAUP|}}}{{{rewardcash|}}}{{{rewardcoconut|}}}{{{rewardcoin|}}}{{{rewardCP|}}}{{{rewardFP|}}}{{{rewardGP|}}}{{{rewardjade|}}}{{{rewardSP|}}}{{{rewardXP|}}}{{{rewardZP|}}}{{{Seed|}}}{{{SeedAmount|}}}{{{Seed2|}}}{{{SeedAmount2|}}}{{{Seed3|}}}{{{SeedAmount3|}}}{{{Seed4|}}}{{{SeedAmount4|}}}{{{Sell|}}}{{{sellcash|}}}{{{sellcoconut|}}}{{{Sellcoin|}}}{{{sellcoin|}}}{{{Sellcoins|}}}{{{selljade|}}}{{{sellother|}}}{{{sell1_curr_amt|}}}{{{sell2_curr_amt|}}}{{{sell3_curr_amt|}}}{{{sell1_curr_type|}}}{{{sell2_curr_type|}}}{{{sell3_curr_type|}}}{{{Size|}}}{{{sLevel|}}}{{{SHP Gained|}}}{{{SP Gained|}}}{{{Source|}}}{{{Start|}}}{{{start|}}}{{{Stars|}}}{{{Storage|}}}{{{This Goal|}}}{{{this goal|}}}{{{Tile|}}}{{{Time|}}}{{{Transformedfrom|}}}{{{Transformed from|}}}{{{Transformsinto|}}}{{{Transforms into|}}}{{{Type|}}}{{{World|}}}{{{world|}}}{{{XP Gained|}}}{{{XP Reward|}}}{{{xp_plant_type1|}}}{{{xp_plant_amt1|}}}{{{xp1_gain_amount|}}}{{{xp1_gain_amt|}}}{{{xp2_gain_amt|}}}{{{xp3_gain_amt|}}}{{{xp1_gain_type|}}}{{{xp2_gain_type|}}}{{{xp3_gain_type|}}}{{{zLevel|}}}{{{ZP Gained|}}}|<span style="color: red; background: yellow;"><strong><nowiki>Warning!</nowiki> The infobox template is using obsolete parameters! This may cause this or other pages to display inappropriately (or not at all). See the template page {{t|infobox-event}} for more information.</strong></span>[[Category:out of date infobox]]}}
| rewardville | zynga = ([[RewardVille]])&nbsp;[[zLevel]]: {{formatnum:{{formatnum:{{{level_req_amt1|}}}|R}}}}<br />
+
<!-- end error messages and deprecated parameters -->
| other = ''see article text''
 
| #default= see [[Template:infobox-umbrella]] for template instructions[[Category:Incomplete infobox]]
 
}}
 
 
{{#switch:{{lc:{{{level_req_type2}}}}}
 
| aussie | australia = [[Australia Level]]: {{formatnum:{{formatnum:{{{level_req_amt2|}}}|R}}}}<br />
 
| candy = [[Candy Level]]: {{formatnum:{{formatnum:{{{level_req_amt2|}}}|R}}}}<br />
 
| cheer | mistletoe = [[Cheer Level]]: {{formatnum:{{formatnum:{{{level_req_amt2|}}}|R}}}}<br />
 
| fairy | enchanted = [[Fairy Level]]: {{formatnum:{{formatnum:{{{level_req_amt2|}}}|R}}}}<br />
 
| galaxy | space = [[Galaxy Level]]: {{formatnum:{{formatnum:{{{level_req_amt2|}}}|R}}}}<br />
 
| home | player = Player [[Level]]: {{formatnum:{{formatnum:{{{level_req_amt2|}}}|R}}}}<br />
 
| jade | zen = [[Zen Level]]: {{formatnum:{{formatnum:{{{level_req_amt2|}}}|R}}}}<br />
 
| shell | atlantis = [[Shell Level]]: {{formatnum:{{formatnum:{{{level_req_amt2|}}}|R}}}}<br />
 
| spook | haunted = [[Spook Level]]: {{formatnum:{{formatnum:{{{level_req_amt2|}}}|R}}}}<br />
 
| rewardville | zynga = ([[RewardVille]]) [[zLevel]]: {{formatnum:{{formatnum:{{{level_req_amt2|}}}|R}}}}<br />
 
| other = ''see article text''
 
| #default=
 
}}
 
 
{{#switch:{{lc:{{{level_req_type3}}}}}
 
| aussie | australia = [[Australia Level]]: {{formatnum:{{formatnum:{{{level_req_amt3|}}}|R}}}}
 
| candy = [[Candy Level]]: {{formatnum:{{formatnum:{{{level_req_amt3|}}}|R}}}}<br />
 
| cheer | mistletoe = [[Cheer Level]]: {{formatnum:{{formatnum:{{{level_req_amt3|}}}|R}}}}
 
| fairy | enchanted = [[Fairy Level]]: {{formatnum:{{formatnum:{{{level_req_amt3|}}}|R}}}}
 
| galaxy | space = [[Galaxy Level]]: {{formatnum:{{formatnum:{{{level_req_amt3|}}}|R}}}}
 
| home | player = Player [[Level]]: {{formatnum:{{formatnum:{{{level_req_amt3|}}}|R}}}}
 
| jade | zen = [[Zen Level]]: {{formatnum:{{formatnum:{{{level_req_amt3|}}}|R}}}}
 
| shell | atlantis = [[Shell Level]]: {{formatnum:{{formatnum:{{{level_req_amt3|}}}|R}}}}
 
| spook | haunted = [[Spook Level]]: {{formatnum:{{formatnum:{{{level_req_amt3|}}}|R}}}}
 
| rewardville | zynga = ([[RewardVille]]) [[zLevel]]: {{formatnum:{{formatnum:{{{level_req_amt3|}}}|R}}}}
 
| other = ''see article text''
 
| #default=
 
}}
 
{{#if:{{{level_req_type3|}}}|{{EditNeeded|This template needs level_req_type4 parameters added}}|}}
 
 
|header5 =
 
|label5 =
 
|data5 =
 
 
|label6 =
 
|data6 =
 
 
|label7 =
 
|data7 =
 
 
|header8 = Items released during this event
 
|label8 =
 
|data8 =
 
 
|label9 = Animals
 
|data9 = {{{animals|{{{Animals|0}}}}}}
 
 
|label10 = Buildings
 
|data10 = {{{buildings|{{{Buildings|0}}}}}}
 
 
|header11 =
 
|label11 = Decorations
 
|data11 = {{{decorations|{{{Decorations|0}}}}}}
 
 
|header12 =
 
|label12 = Seeds
 
|data12 = {{{seeds|{{{Seeds|0}}}}}}
 
 
|header13 =
 
|label13 = Trees
 
|data13 = {{{trees|{{{Trees|0}}}}}}
 
 
|header14 =
 
|label14 = Other
 
|data14 = {{{other|{{{Other|0}}}}}}
 
 
|header15 =
 
|label15 = Total
 
|data15 = {{#expr:{{{animals|{{{Animals|0}}}}}}+{{{buildings|{{{Buildings|0}}}}}}+{{{decorations|{{{Decorations|0}}}}}}+{{{seeds|{{{Seeds|0}}}}}}+{{{trees|{{{Trees|0}}}}}}+{{{other|{{{Other|0}}}}}}}}
 
 
|header16 =
 
|label16 = Description
 
|data16 = {{{description|{{{Description|}}}}}}
 
 
|header17 ={{#if:{{{last_event|{{{Last event|}}}}}}{{{this_event|{{{This event|}}}}}}{{{next_event|{{{Next event|}}}}}}|[[Events]]}}
 
|label17 =
 
|data17 =
 
 
|header18 =
 
|label18 =
 
|data18 ={{#if:{{{last_event|{{{Last event|}}}}}}{{{this_event|{{{This event|}}}}}}{{{next_event|{{{Next event|}}}}}}|
 
<table style="width:100%; background: transparent; text-align: center; font-size: 88%; line-height: 1.4em; vertical-align: top">
 
<tr><td style="width: 33%; padding: 0.2em 0.1em 0.2em 0"> {{{last_event|{{{Last event|}}}}}}</td>
 
<td style="width: 33%; padding: 0.2em 0.1em 0.2em 0.1em"> {{{this_event|{{{This event|}}}}}}</td>
 
<td style="width: 33%; padding: 0.2em 0 0.2em 0.1em"> {{{next_event|{{{Next event|}}}}}}</td></tr>
 
</table>}}
 
 
|header20 =
 
 
|below =
 
}}
 
 
[[Category:Event]]
 
[[Category:Event]]
 
<includeonly>[[Category:Event {{#if: {{{last_available|}}}|{{#ifeq: {{#ifexpr: {{{last_available}}} | true|true}} | true | {{#ifexpr: {{{last_available}}} < {{CURRENTYEAR}}{{CURRENTMONTH}}{{CURRENTDAY2}} | no longer available|}} |}}|}}]]
 
<includeonly>[[Category:Event {{#if: {{{last_available|}}}|{{#ifeq: {{#ifexpr: {{{last_available}}} | true|true}} | true | {{#ifexpr: {{{last_available}}} < {{CURRENTYEAR}}{{CURRENTMONTH}}{{CURRENTDAY2}} | no longer available|}} |}}|}}]]
Line 47: Line 47:
 
| first_available =
 
| first_available =
 
| last_available =
 
| last_available =
| level_req_type1 =
+
| level_req_type1 =
| level_req_amt1 =
+
| level_req_amt1 =
| level_req_type2 =
+
| level_req_type2 =
| level_req_amt2 =
+
| level_req_amt2 =
 
| last_event =
 
| last_event =
 
| this_event =
 
| this_event =
Line 56: Line 56:
 
| animals =
 
| animals =
 
| buildings =
 
| buildings =
  +
| clothing =
 
| decorations =
 
| decorations =
 
| seeds =
 
| seeds =

Latest revision as of 19:13, May 13, 2020

Use the following code:

{{infobox-event
<!-- WARNING. Do NOT use the image attribute on this template. It will BREAK things on the wiki. See template for instructions. -->
| first_available =
| last_available  =
| level_req_type1 =
| level_req_amt1  =
| level_req_type2 =
| level_req_amt2  =
| last_event      = 
| this_event      = 
| next_event      = 
| animals         =
| buildings       =
| clothing        =
| decorations     =
| seeds           =
| trees           =
| other           =
| description     =
}}

Instructions

specific to this template

Shared Instructions and Additional Parameters

[edit shared instructions] [purge]

Parameters can be entered in any order, however they will always be displayed in the same order as the original template.

Warning!
Do not use comments in parameters or they may not work as expected.

images, captions, and titles

Warning
Do not use the "|image" attribute unless you want the DPL table to break. Instead of using "|image", you should mark the image as needing to be moved or replaced.

Use the "|title" attribute only if the title above the infobox needs to be renamed, such as when the pagename uses disambig text, e.g. Ghost Sheep (animal) or Ghost Sheep (decoration).

Use the "|caption" attribute only for items that have multiple looks, such as blooms (single & full) or animals which change based on location (e.g. - the Sad Cow/Cupid Cow and the Tree of Love.

Use the "|image2" attribute only for animals that have a 2nd image (2 or 3 image - image changer).

Use the "|caption2" attribute only for the 2nd image.

Use the "|image3" attribute only for animals that have a 3rd image (3 image - image changer).

Use the "|caption3" attribute only for the 3rd image.

Dates

| first_available    =
Required
Uses the format YYYYMMDD
| last_available     =
Optional
Uses the format YYYYMMDD. Defaults to "currently available".

For example: | last_available = 20130101

| other_dates     =
Optional
Uses {{date|YYYYMMDD}}<br />{{date|YYYYMMDD}}<br />(etc)

Level requirement(s)

| level_req_type1      =
| level_req_amt1       =
Required
| level_req_type2    =
| level_req_amt2     =
| level_req_type3    =
| level_req_amt3     =
Optional

level types

     | level_req_type1 =
     | level_req_type2 =
     | level_req_type3 =
For each level type, type the word from either column A or column B as the parameter
For Column A option Column B option
Apothecary level: apothecary
Australia level: aussie australia
Avalon Wilderlands level: avalon wilderlands
Avalon Kingdom level: avalon2 kingdom
Candy level: candy sweet
Cheer level: cheer mistletoe
Rainforest level: eldorado rainforest
Fairy level: fairy enchanted
Galaxy level: galaxy space
Home (player) level: home player
Horseman level horsemans
Mystical level: mystical mystic
Light (Holiday Lights) level: light
Magical level: toy magical
Mystical level: mystic mystical
Oasis level: oasis
Rainbow level: oz rainbow
RewardVille (Zynga) level: rewardville zynga
Riviera level: riviera mediterranean
Shell level: shell atlantis
Spook level: spook haunted
Fairytale level: fairytale storybook
Village level: square village
Yarn Barn level: yarn
Zen level: jade zen
Other level: other

level amounts

     | level_req_amt1  =
     | level_req_amt2  =
     | level_req_amt3  =
Use numbers without commas such as 1 or 10 or 100 or 1000 or 10000

non-level prerequisites

| prereq        = 
Optional
Any other special requirement prerequisite to access the item or activity

Source

| source =
Required
Where the item comes from. For example: market, quest, gift, mystery baby, etc.

How to fill in Cost parameters

| cost_curr_type1     =
| cost_curr_amt1      =
| cost_curr_type2     =
| cost_curr_amt2      =
| cost_curr_type3     =
| cost_curr_amt3      =

Cost to purchase the item. Up to 3 currency types may be used. For the type, use the word describing the currency type. Currently supported currencies are:

cash
coconut
coin
square or village -- to get farmers square gold
jade
trowel
zcoin
other

Purchase benefits

points gained

| xp_gain_type1   =
| xp_gain_amount1 =
Type and amount of experience gained. Use the lowercase singular word for the experience type.
For each level type, type the word from either column A or column B as the parameter
For Column A option Column B option
Australia points: aussie australia
Avalon points: avalon
Candy points: candy sweet
Cheer points: cheer mistletoe
El Dorado eldorado rainforest
Fairy points: fairy enchanted
Galaxy points: galaxy space
Mystical points: mystical mystic
Player points: home player
Shell points: shell atlantis
Spook points: spook haunted
Village points: square village
Zen points: jade zen
Other points: other


location and placement

| farm =
Required
Farm(s) where item can be used or activity occurs All if not farm specific (Majority will be this)
| tile =
Required
Tile type on which the item may be placed or planted. For example:
Land, Water, Terrace, Underwater, Stationary (buildings only) or Other.

Size

| sizeX =
| sizeY =

Length and width of an item in squares. You will only use numbers here, no words, no comments, just the plain numbers of the squares along the x and y axis For example:
| sizeX = 2
| sizeY = 2

Growth and Harvesting

| grow_time           =

Enter the time to grow in real-time hours. Use numbers only. Do not use words like hours.

0.02    = 1 minute
0.04    = 2 minute
0.05    = 3 minute
0.07    = 4 minute
0.09    = 5 minute
0.1     = 6 minute
0.17    = 10 minutes
0.2     = 12 minutes
0.25    = 15 minutes
0.3     = 20 minutes
0.5     = 30 minutes
0.75    = 45 minutes
0.75    = 1 hour
23      = 1 day
34.5    = 1.5 days
46      = 2 days
69      = 3 days
92      = 4 days

harvesting

| harvest_curr_type1  =
| harvest_curr_amt1   =
| harvest_curr_type2  =
| harvest_curr_amt2   =
| harvest_curr_type3  =
| harvest_curr_amt3   =
Required for animals, blooms, seeds and trees. Optional for buildings and decorations
Amount item can be harvested for. Up to 3 currency types may be used. For the type, use the word describing the currency type. Currently supported currencies are:
cash
coconut
coin
jade
trowel
zcoin
other
| harvestcash     = <!-- Farm cash gained when harvested -->
| harvestcoconut  = <!-- Coconuts gained when harvested -->
| harvestcoin     = <!-- Farm coins gained when harvested -->
| harvestjade     = <!-- Jade gained when harvested -->
| harvestother    =
Obsolete. Still used to calculate profit on seed templates


| product =

Product other than coin that can be gained when this item is harvested. (Including items collected from animals when they are stored inside a building).

selling

| sell_curr_type1     =
| sell_curr_amt1      =
| sell_curr_type2     =
| sell_curr_amt2      =
| sell_curr_type3     =
| sell_curr_amt3      =

Amount the item can be sold for. Up to 3 currency types may be used. For the type, use the word describing the currency type. Currently supported currencies are:

cash
coconut
coin
square or village -- to get farmers square gold
jade
trowel
zcoin
other

Capacity

| capacity            =
Optional
Number of items that can be stored within the item.
Community content is available under CC-BY-SA unless otherwise noted.