Template:Food: Difference between revisions

From IdleOn MMO Wiki
imported>Bluejello
m (Protected "Template:Food" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Delete=Allow only administrators] (indefinite) [Protect=Allow only administrators] (indefinite)))
imported>Blackwolfe
No edit summary
Line 12: Line 12:
     {{#if:{{{effect}}}|<th>Effect</th>
     {{#if:{{{effect}}}|<th>Effect</th>
     <td>{{{effect|}}}</td>
     <td>{{{effect|}}}</td>
    </tr>}}
    {{#if:{{{consume|}}}|<th>Consumed</th>
    <td>{{{consume}}}</td>
     </tr>}}
     </tr>}}
     {{#if:{{{cooldown|}}}|<th>Cooldown</th>
     {{#if:{{{cooldown|}}}|<th>Cooldown</th>
     <td>{{{cooldown}}}</td>
     <td>{{{cooldown}}}</td>
    </tr>}}
    {{#if:{{{consume|}}}|<th>Consumed</th>
    <td>{{{consume}}}</td>
     </tr>}}
     </tr>}}
   <th class="subheader" colspan="2">Source</th>
   <th class="subheader" colspan="2">Source</th>
Line 33: Line 33:
|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)
|source=example
|source=example
|}</pre>
|}</pre>

Revision as of 18:09, 17 November 2020


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)
|source=example
|}