Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Crop: Difference between revisions

Template page
Add crop infobox template
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{Infobox
<infobox>
| name = {{{crop|{{PAGENAME}}}}}
  <title source="crop"><default>{{PAGENAME}}</default></title>
| image = {{#if:{{{crop_image|}}}|[[File:{{{crop_image}}}|200px|alt=Crop Image]]}}
  <panel>
| caption = {{#if:{{{crop_image|}}}|Crop Image}}
    {{#if:{{{crop_image|}}}
| imagestyle = text-align:center;
    | <section>
| above =
        <label>Crop</label>
| abovestyle =  
        <image source="crop_image"></image>
 
      </section>
| header1 = Other Images
    }}
| label2 = Seed
    {{#if:{{{seed_image|}}}
| data2 = {{#if:{{{seed_image|}}}|[[File:{{{seed_image}}}|150px|alt=Seed Image]]}}
    | <section>
| label3 = Plant
        <label>Seed</label>
| data3 = {{#if:{{{plant_image|}}}|[[File:{{{plant_image}}}|150px|alt=Plant Image]]}}
        <image source="seed_image"></image>
 
      </section>
| header4 = Info
    }}
| label5 = Rarity
    {{#if:{{{plant_image|}}}
| data5 = {{{rarity|}}}
    | <section>
| label6 = Multi-harvest?
        <label>Plant</label>
| data6 = {{{multi_harvest?|}}}
        <image source="plant_image"></image>
| label7 = Guild Exclusive?
      </section>
| data7 = {{{guild_exclusive?|}}}
    }}
| label8 = Date Added
  </panel>
| data8 = {{{date_added|}}}
  <group>
 
    <header>Info</header>
| header9 = Values
    <data source="rarity">
| label10 = Seed Price
      <label>Rarity</label>
| data10 = {{{seed_price|}}}
    </data>
| label11 = Base Value
    <data source="multi_harvest?">
| data11 = {{{base_value|}}}
      <label>Multi-harvest?</label>
| label12 = Base Weight
    </data>
| data12 = {{{base_weight|}}}
    <data source="guild_exclusive?">
| label13 = Max Weight
      <label>Guild Exclusive?</label>
| data13 = {{{max_weight|}}}
    </data>
| label14 = Base Grow Time
    <data source="date_added">
| data14 = {{{base_grow_time|}}}
      <label>Date Added</label>
| label15 = Plant Mature Time
    </data>
| data15 = {{{mature_time|}}}
    <header>Values</header>
| label16 = Crop Slots
    <data source="seed_price">
| data16 = {{{crop_slots|}}}
      <label>Seed Price</label>
 
    </data>
}}</includeonly>
    <data source="base_value">
      <label>Base Value</label>
    </data>
    <data source="base_weight">
      <label>Base Weight</label>
    </data>
    <data source="max_weight">
      <label>Max Weight</label>
    </data>
    <data source="base_grow_time">
      <label>Base Grow Time</label>
    </data>
    <data source="mature_time">
      <label>Plant Mature Time</label>
    </data>
    <data source="crop_slots">
      <label>Crop Slots</label>
    </data>
  </group>
</infobox>
</includeonly>
<includeonly>{{#ifeq: {{NAMESPACE}}|{{ns:0}}|[[Category:Crops]]}}</includeonly>
<includeonly>{{#ifeq: {{NAMESPACE}}|{{ns:0}}|[[Category:Crops]]}}</includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 19:39, 16 October 2025