Template:Food: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
No edit summary
 
(19 intermediate revisions by 5 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:{{{cooldown|}}}|<th>Cooldown</th>
! Consume
    <td>{{{cooldown}}}</td>
{{!}} {{{consume}}} }}
    </tr>}}
|-
    {{#if:{{{consume|}}}|<th>Consumed</th>
{{#if: {{{cooldown|}}} |
    <td>{{{consume}}}</td>
! Cooldown
    </tr>}}
{{!}} {{{cooldown}}} }}
  <th class="subheader" colspan="2">Source</th>
|-
    </tr>
! colspan="2" class="SubHeader" | Other
    <th>Source</th>
|-
    <td>{{{source|Source Missing!}}}</td>
{{#if: {{{sellprice|}}} |
    </tr></table>
! Sell Price
</div>
{{!}} {{Coindisplay | {{{sellprice}}} }} }}
 
|-
! Type
| {{{type}}}
|-
! 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:{{{type}}}s]]
</includeonly>
</includeonly>


Line 33: Line 46:
|type=example
|type=example
|effect=example (like healing from health food or the bonus from boost foods)
|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)
|cooldown=example (for health food)
|consume=example (under what circumstances food is consumed)
|sellprice=example
|source=example
|source=example
|}</pre>
}}</pre>
[[Category:Infobox templates]]
</noinclude>
</noinclude>
[[Category:Food]]

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
}}