Template:Food: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
No edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<noinclude>{{Rfd|Template is unused}}</noinclude><includeonly>
<div class="infobox">
{| class="Infobox"
<table><th class="header">{{PAGENAME}}</th></table>
|-
<div class="infobox-image">[[File:{{PAGENAME}}.png]]</div>
! colspan="2" class="Header" | {{PAGENAME}}
<div style="font-size: 80%; font-style: italic; text-align: center;">{{{caption|}}}</div>
|-
<table>
| colspan="2" class="HeaderImage" | [[file:{{PAGENAME}}.png]]
<th>Type</th>
|-
<td>{{{type}}}</td>
! colspan="2" class="SubHeader" | Stats
</tr>
|-
<th class="subheader" colspan="2">Stats</th>
{{#if: {{{effect|}}} |
    </tr>
! Effect
    {{#if:{{{effect}}}|<th>Effect</th>
{{!}} {{{effect}}} }}
    <td>{{{effect|}}}</td>
|-
    </tr>}}
{{#if: {{{consume|}}} |
    {{#if:{{{consume|}}}|<th>Consumed</th>
! Consume
    <td>{{{consume}}}</td>
{{!}} {{{consume}}} }}
    </tr>}}
|-
    {{#if:{{{cooldown|}}}|<th>Cooldown</th>
{{#if: {{{cooldown|}}} |
    <td>{{{cooldown}}}</td>
! Cooldown
    </tr>}}
{{!}} {{{cooldown}}} }}
  <th class="subheader" colspan="2">Other</th>
|-
    </tr>   
! colspan="2" class="SubHeader" | Other
    {{#if:{{{sellprice|}}}|
|-
    <th>Sell Price</th>
{{#if: {{{sellprice|}}} |
    <td>{{Coindisplay|input={{{sellprice}}}}}</td>
! Sell Price
    </tr>}}
{{!}} {{Coindisplay | {{{sellprice}}} }} }}
    <th>Source</th>
|-
    <td>{{{source|Source Missing!}}}</td>
! Type
    </tr></table>
| {{{type}}}
</div>
|-
[[File:Backarrow.png|15px]][[Food]]
! class="LastTable" | Source
 
| {{{source|Unobtainable}}}
|}
{{#seo:
|image={{PAGENAME}}.png
|description=Type:&nbsp;{{{type}}}
{{#if: {{{effect|}}}|Effect:&nbsp;{{{effect}}}&#10;}}{{#if: {{{consume|}}}|Consumed:&nbsp;{{{consume}}}&#10;}}{{#if: {{{cooldown|}}}|Cooldown:&nbsp;{{{cooldown}}}}}
}}
[[Category:Food]]
[[Category:Food]]
[[Category:{{{type}}}s]]
[[Category:{{{type}}}s]]

Latest revision as of 23:37, 13 June 2024


Usage

{{Food
|type=example
|effect=example (like healing from health food or the bonus from boost foods)
|consume=example (under what circumstances food is consumed)
|cooldown=example (for health food)
|sellprice=example
|source=example
}}