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={{equal|{{{gather}}}|0}}|then={{!}}- | + | {{if|test={{equal|{{{gather}}}|0}}|then=| |
+ | else={{!}}- | ||
{{!}} '''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}}} | + | {{!}} '''Gathering skill''' {{!}}{{!}} {{{skill}}}}} |
− | {{if|test={{equal|{{{nutrition}}}|0}}|then={{!}}- | + | {{if|test={{equal|{{{nutrition}}}|0}}|then=| |
− | {{!}} '''Eaten''' {{!}}{{!}} {{{nutrition}}} grams per day <includeonly>[[Category:Nourishing foods|{{{nutrition}}}]]</includeonly> | + | else={{!}}- |
− | {{if|test={{equal|{{{energy}}}|0}}|then={{!}}- | + | {{!}} '''Eaten''' {{!}}{{!}} {{{nutrition}}} grams per day <includeonly>[[Category:Nourishing foods|{{{nutrition}}}]]</includeonly>}} |
− | {{!}} '''Energy''' {{!}}{{!}} {{{energy}}} <includeonly>[[Category:Energy foods|{{{energy}}}]]</includeonly> | + | {{if|test={{equal|{{{energy}}}|0}}|then=| |
− | {{if|test={{equal|{{{strengthening}}}|0}}|then={{!}}- | + | else={{!}}- |
− | {{!}} '''Healing''' {{!}}{{!}} {{{strengthening}}} <includeonly>[[Category:Healing foods|{{{strengthening}}}]]</includeonly> | + | {{!}} '''Energy''' {{!}}{{!}} {{{energy}}} <includeonly>[[Category:Energy foods|{{{energy}}}]]</includeonly>}} |
+ | {{if|test={{equal|{{{strengthening}}}|0}}|then=| | ||
+ | else={{!}}- | ||
+ | {{!}} '''Healing''' {{!}}{{!}} {{{strengthening}}} <includeonly>[[Category:Healing foods|{{{strengthening}}}]]</includeonly>}} | ||
|} | |} | ||
|} | |} | ||
<includeonly>[[Category:Resources]]</includeonly> | <includeonly>[[Category:Resources]]</includeonly> |
Revision as of 03:32, 19 February 2007
|