Template:Crop: Difference between revisions
Template page
More actions
Add crop infobox template |
aaaaaaaaaaaaaa |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class="infobox" style="width: 25em; font-size: 90%; text-align: left; border: 1px solid #aaa; border-collapse: collapse; margin: 0 0 1em 1em; background-color: #f9f9f9;" | |||
! colspan="2" style="text-align:center; padding: 0.5em; background-color: #CCCCFF;" | <big>'''{{{crop|{{PAGENAME}}}}}'''</big> | |||
{{!}} colspan="2" style="text-align: center; padding: 0.5em; background-color: #EFEFEF;" {{!}} '''Images''' | |||
{{#if:{{{crop_image|}}}| | |||
|- | |||
! style="padding: 0.3em; width: 30%;" | Crop | |||
| style="text-align: center; padding: 0.3em;" | [[File:{{{crop_image}}}|x100px|alt=Crop Image]] | |||
}} | |||
{{#if:{{{seed_image|}}}| | |||
|- | |||
! style="padding: 0.3em;" | Seed | |||
| style="text-align: center; padding: 0.3em;" | [[File:{{{seed_image}}}|x100px|alt=Seed Image]] | |||
}} | |||
{{#if:{{{plant_image|}}}| | |||
|- | |||
! style="padding: 0.3em;" | Plant | |||
| style="text-align: center; padding: 0.3em;" | [[File:{{{plant_image}}}|x100px|alt=Plant Image]] | |||
}} | |||
{{!}} colspan="2" style="text-align: center; padding: 0.5em; background-color: #CCCCFF;" {{!}} '''Info''' | |||
{{#if:{{{rarity|}}}| | |||
|- | |||
! style="padding: 0.3em;" | Rarity | |||
| style="padding: 0.3em;" | {{{rarity}}} | |||
}} | |||
{{#if:{{{multi_harvest|}}}| | |||
|- | |||
! style="padding: 0.3em;" | Multi-harvest? | |||
| style="padding: 0.3em;" | {{{multi_harvest}}} | |||
}} | |||
{{#if:{{{guild_exclusive|}}}| | |||
|- | |||
! style="padding: 0.3em;" | Guild Exclusive? | |||
| style="padding: 0.3em;" | {{{guild_exclusive}}} | |||
}} | |||
{{#if:{{{date_added|}}}| | |||
|- | |||
! style="padding: 0.3em;" | Date Added | |||
| style="padding: 0.3em;" | {{{date_added}}} | |||
}} | |||
{{!}} colspan="2" style="text-align: center; padding: 0.5em; background-color: #CCCCFF;" {{!}} '''Values''' | |||
{{#if:{{{seed_price|}}}| | |||
|- | |||
! style="padding: 0.3em;" | Seed Price | |||
| style="padding: 0.3em;" | {{{seed_price}}} | |||
}} | |||
{{#if:{{{base_value|}}}| | |||
|- | |||
! style="padding: 0.3em;" | Base Value | |||
| style="padding: 0.3em;" | {{{base_value}}} | |||
}} | |||
{{#if:{{{base_weight|}}}| | |||
|- | |||
! style="padding: 0.3em;" | Base Weight | |||
| style="padding: 0.3em;" | {{{base_weight}}} | |||
}} | |||
{{#if:{{{max_weight|}}}| | |||
|- | |||
! style="padding: 0.3em;" | Max Weight | |||
| style="padding: 0.3em;" | {{{max_weight}}} | |||
}} | |||
{{#if:{{{base_grow_time|}}}| | |||
|- | |||
! style="padding: 0.3em;" | Base Grow Time | |||
| style="padding: 0.3em;" | {{{base_grow_time}}} | |||
}} | |||
{{#if:{{{mature_time|}}}| | |||
|- | |||
! style="padding: 0.3em;" | Plant Mature Time | |||
| style="padding: 0.3em;" | {{{mature_time}}} | |||
}} | |||
{{#if:{{{crop_slots|}}}| | |||
|- | |||
! style="padding: 0.3em;" | Crop Slots | |||
| style="padding: 0.3em;" | {{{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}}</noinclude> |
Revision as of 19:34, 16 October 2025
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Description
This template is used to display essential information on a crop.
Syntax
{{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
Example | Images
|
Info
- |
style="padding: 0.3em;"
- |
style="padding: 0.3em;"
|
Values
|
---|
{{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 }}