Adventure Craft Wiki
 
Line 1: Line 1:
  +
<includeonly>{| class="infoboxtable"
{{Infobox Food
 
  +
|-
| name =
 
  +
! colspan="2" class="infoboxname" | "{{{name}}}"
| image =
 
  +
|-
| Hearts =
 
  +
{{#if: {{{image|}}} | ! colspan="2" {{!}} [[File:{{{image}}}|250x250px]] | {{#ifeq: {{NAMESPACE}} | Template | | [[Category:Infoboxes lacking images]]}} }}
| Hunger =
 
  +
|-
| Cures =
 
  +
! colspan="2" class="infoboxdetails" | Details
| Status Add Prob =
 
  +
|-
| Status Add Prob =
 
  +
{{#if: {{{buy|}}} | {{!}} <div>Buy</div> {{!!}} {{{buy}}} }}
| clone fuel =
 
  +
|-
| buy =
 
  +
{{#if: {{{sell|}}} | {{!}} <div>Sell</div> {{!!}} {{{sell}}} }}
| sell =
 
  +
|-
}}
 
  +
{{#if: {{{hearts|}}} | {{!}} <div>Hearts</div> {{!!}} {{{hearts}}} }}
  +
|-
  +
{{#if: {{{hunger|}}} | {{!}} <div>Hunger</div> {{!!}} {{{hunger}}} }}
  +
|-
  +
{{#if: {{{status1|}}} | {{!}} <div>Status Add 1</div> {{!!}} {{{status1}}} }}
  +
|-
  +
{{#if: {{{status2|}}} | {{!}} <div>Status Add 2</div> {{!!}} {{{status2}}} }}
  +
|-
  +
{{#if: {{{cures1|}}} | {{!}} <div>Cures 1</div> {{!!}} {{{cures1}}} }}
  +
|-
  +
{{#if: {{{cures2|}}} | {{!}} <div>Cures 2</div> {{!!}} {{{cures2}}} }}
  +
|-
  +
{{#if: {{{scrap|}}} | {{!}} <div>Scrap</div> {{!!}} {{{scrap}}} }}
  +
|-
  +
{{#if: {{{clonefuel|}}} | {{!}} <div>Clone Fuel</div> {{!!}} {{{clonefuel}}} }}
  +
|}[[Category:Food]]</includeonly><noinclude>{{clear}}{{doc}}
  +
[[Category:Infobox templates]]</noinclude>

Latest revision as of 22:51, 30 October 2019

Template-info.png Documentation

This is an infobox for food.

Usage

{{Infobox food
| name       = 
| image      = 
| buy        = 
| sell       = 
| hearts     = 
| hunger     = 
| status1    = 
| status2    =
| cures1     =
| cures2     =
| scrap      =
| clonefuel  =
}}