Line 1: |
Line 1: |
| + | <includeonly><center>[[Image:{{{imagename}}}]]</center> |
| + | |
| {{{description}}} | | {{{description}}} |
| | | |
− | <b>Type:</b> [[food]]<br> | + | <b>Type:</b> [[:Category:Food|food]]<br> |
| <b>Autosell value:</b> {{{autosell}}}<br> | | <b>Autosell value:</b> {{{autosell}}}<br> |
| <b>Turns on use:</b> {{{turnsonuse}}}<br> | | <b>Turns on use:</b> {{{turnsonuse}}}<br> |
Line 8: |
Line 10: |
| <b>{{{discarded}}} be discarded</b><br> | | <b>{{{discarded}}} be discarded</b><br> |
| <b>{{{autosold}}} be autosold</b><br> | | <b>{{{autosold}}} be autosold</b><br> |
| + | <b>{{{traded}}} be traded</b><br> |
| <b>{{{stored}}} be stored</b><br> | | <b>{{{stored}}} be stored</b><br> |
− | <b>{{{traded}}} be traded</b><br>
| |
| | | |
− | <b>Plural:</b> {{{plural}}} | + | <b>Plural:</b> {{#if:{{{plural}}}|{{{plural}}}|unknown}}</includeonly><noinclude> |
| + | This template is to be used at the top of a food item article. |
| + | |
| + | ==Usage== |
| + | <nowiki>{</nowiki>{Summary/Items/Food |
| + | |imagename=''filename'' |
| + | |description=''text'' |
| + | |autosell=''value'' |
| + | |turnsonuse=''value'' |
| + | |fullness=''value'' |
| + | |discarded=''Can|Cannot'' |
| + | |autosold=''Can|Cannot'' |
| + | |traded=''Can|Cannot'' |
| + | |stored=''Can|Cannot'' |
| + | |plural=''text'' |
| + | }} |
| + | |
| + | ==Examples== |
| + | Sorry about the format of this, still an issue to work out. Paramaters are easier to read if listed on separate lines as shown above. |
| + | |
| + | :<code><nowiki>{{Summary/Items/Food |
| + | |imagename=Artharden.png |
| + | |description=This is some kind of nice item description |
| + | |autosell=20 |
| + | |turnsonuse=2 |
| + | |fullness=1 |
| + | |discarded=Cannot |
| + | |autosold=Can |
| + | |traded=Can |
| + | |stored=Can |
| + | |plural=itemnames |
| + | }}</nowiki></code> yields: |
| + | |
| + | {{Summary/Items/Food |
| + | |imagename=Artharden.png |
| + | |description=This is some kind of nice item description |
| + | |autosell=20 |
| + | |turnsonuse=2 |
| + | |fullness=1 |
| + | |discarded=Cannot |
| + | |autosold=Can |
| + | |traded=Can |
| + | |stored=Can |
| + | |plural=itemnames |
| + | }} |
| + | |
| + | ==Further Examples== |
| + | *[[Artery Hardener]] |
| + | |
| + | [[Category: Templates]] |
| + | </noinclude> |