Template:Food: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
No edit summary
 
(15 intermediate revisions by 4 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
|-
    <td>{{{sellprice|}}}</td>
{{#if: {{{sellprice|}}} |
    </tr>}}
! Sell Price
    <th>Source</th>
{{!}} {{Coindisplay | {{{sellprice}}} }} }}
    <td>{{{source|Source Missing!}}}</td>
|-
    </tr></table>
! Type
</div>
| {{{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 41: Line 51:
|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
}}