Template:Crop: Difference between revisions
Template page
More actions
Add crop infobox template |
m Add templates category |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{Infobox | ||
| name = {{{crop|{{PAGENAME}}}}} | |||
| image = {{#if:{{{crop_image|}}}|[[File:{{{crop_image}}}|200px|alt=Crop Image]]}} | |||
| caption = {{#if:{{{crop_image|}}}|Crop Image}} | |||
| imagestyle = text-align:center; | |||
| above = | |||
| abovestyle = | |||
| header1 = Other Images | |||
| label2 = Seed | |||
| data2 = {{#if:{{{seed_image|}}}|[[File:{{{seed_image}}}|150px|alt=Seed Image]]}} | |||
| label3 = Plant | |||
| data3 = {{#if:{{{plant_image|}}}|[[File:{{{plant_image}}}|150px|alt=Plant Image]]}} | |||
| header4 = Info | |||
| label5 = Rarity | |||
| data5 = {{{rarity|}}} | |||
| label6 = Multi-harvest? | |||
| data6 = {{{multi_harvest?|}}} | |||
| label7 = Guild Exclusive? | |||
| data7 = {{{guild_exclusive?|}}} | |||
| label8 = Date Added | |||
| data8 = {{{date_added|}}} | |||
| header9 = Values | |||
| label10 = Seed Price | |||
| data10 = {{{seed_price|}}} | |||
| label11 = Base Value | |||
| data11 = {{{base_value|}}} | |||
| label12 = Base Weight | |||
| data12 = {{{base_weight|}}} | |||
| label13 = Max Weight | |||
| data13 = {{{max_weight|}}} | |||
| label14 = Base Grow Time | |||
| data14 = {{{base_grow_time|}}} | |||
| label15 = Plant Mature Time | |||
| data15 = {{{mature_time|}}} | |||
| label16 = Crop Slots | |||
| data16 = {{{crop_slots|}}} | |||
}}</includeonly> | |||
</includeonly> | |||
<includeonly>{{#ifeq: {{NAMESPACE}}|{{ns:0}}|[[Category:Crops]]}}</includeonly> | <includeonly>{{#ifeq: {{NAMESPACE}}|{{ns:0}}|[[Category:Crops]]}}</includeonly> | ||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}[[Category:Templates]]</noinclude> | ||
Latest revision as of 12:03, 21 December 2025
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Description
edit sourceThis template is used to display essential information on a crop.
Syntax
edit source{{Crop
| crop =
| crop_image =
| seed_image =
| plant_image =
| rarity =
| multi_harvest? =
| guild_exclusive? =
| date_added =
| seed_price =
| base_value =
| max_value =
| base_weight =
| max_weight =
| base_grow_time =
| mature_time =
| crop_slots =
}}
Samples
edit source
{{Crop
| crop = Example
| crop_image = Carrot.png
| seed_image = Carrot Seed.png
| plant_image = Carrot (plant).png
| rarity = Common
| multi_harvest? = Yes
| guild_exclusive? = Yes
| date_added = June 16, 2025
| seed_price = *{{Coin|1}}
*{{Donut|1}}
| base_value = {{Coin|1}}
| base_weight = 3.00 kg
| max_weight = 6.00 kg
| base_grow_time = 5 min
| mature_time = 1 h
| crop_slots = 4
}}