Difference between revisions of "Template:Infobox:resource"
From Cantr II Wiki
m |
m |
||
Line 4: | Line 4: | ||
{| class="infobox" style="background-color:#FFFFAA; float:right; width:25em; font-size: 95%; margin-left: inherit;" valign="top" cellpadding="1" border="1" cellspacing="0" | {| class="infobox" style="background-color:#FFFFAA; float:right; width:25em; font-size: 95%; margin-left: inherit;" valign="top" cellpadding="1" border="1" cellspacing="0" | ||
! style="background-color: #FFFF00;" colspan="2" | Resource | ! style="background-color: #FFFF00;" colspan="2" | Resource | ||
− | {{if|test={{{gather}}}|then={{!}}- | + | {{if|test={{equal|{{{gather}}}|0}}|then={{!}}- |
{{!}} '''Gathering rate''' {{!}}{{!}} {{{gather}}} grams per day <includeonly>[[Category:Raw resources|{{{gather}}}]]</includeonly> | {{!}} '''Gathering rate''' {{!}}{{!}} {{{gather}}} grams per day <includeonly>[[Category:Raw resources|{{{gather}}}]]</includeonly> | ||
{{!}}- | {{!}}- | ||
{{!}} '''Gathering skill''' {{!}}{{!}} {{{skill}}}|else=}} | {{!}} '''Gathering skill''' {{!}}{{!}} {{{skill}}}|else=}} | ||
− | {{if|test={{{nutrition}}}|then={{!}}- | + | {{if|test={{equal|{{{nutrition}}}|0}}|then={{!}}- |
{{!}} '''Eaten''' {{!}}{{!}} {{{nutrition}}} grams per day <includeonly>[[Category:Nourishing foods|{{{nutrition}}}]]</includeonly>|else=}} | {{!}} '''Eaten''' {{!}}{{!}} {{{nutrition}}} grams per day <includeonly>[[Category:Nourishing foods|{{{nutrition}}}]]</includeonly>|else=}} | ||
− | {{if|test={{{energy}}}|then={{!}}- | + | {{if|test={{equal|{{{energy}}}|0}}|then={{!}}- |
{{!}} '''Energy''' {{!}}{{!}} {{{energy}}} <includeonly>[[Category:Energy foods|{{{energy}}}]]</includeonly>|else=}} | {{!}} '''Energy''' {{!}}{{!}} {{{energy}}} <includeonly>[[Category:Energy foods|{{{energy}}}]]</includeonly>|else=}} | ||
− | {{if|test={{{strengthening}}}|then={{!}}- | + | {{if|test={{equal|{{{strengthening}}}|0}}|then={{!}}- |
{{!}} '''Healing''' {{!}}{{!}} {{{strengthening}}} <includeonly>[[Category:Healing foods|{{{strengthening}}}]]</includeonly>|else=}} | {{!}} '''Healing''' {{!}}{{!}} {{{strengthening}}} <includeonly>[[Category:Healing foods|{{{strengthening}}}]]</includeonly>|else=}} | ||
|} | |} | ||
|} | |} | ||
<includeonly>[[Category:Resources]]</includeonly> | <includeonly>[[Category:Resources]]</includeonly> |
Revision as of 03:27, 19 February 2007
|