Difference between revisions of "Template:Infobox:resource"
From Cantr II Wiki
m |
m |
||
(3 intermediate revisions by the same user not shown) | |||
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=| |
+ | 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}}}|else=}} | + | {{!}} '''Gathering skill''' {{!}}{{!}} {{if|test={{{skill}}}|then=[[Skills#{{{skill}}}|{{{skill}}}]]|else=No skill}}}} |
− | {{if|test={{{nutrition}}}|then={{!}}- | + | {{if|test={{equal|{{{nutrition}}}|0}}|then=| |
− | {{!}} '''Eaten''' {{!}}{{!}} {{{nutrition}}} grams per day <includeonly>[[Category:Nourishing foods|{{{nutrition}}}]]</includeonly> | + | else={{!}}- |
− | {{if|test={{{energy}}}|then={{!}}- | + | {{!}} '''Eaten''' {{!}}{{!}} {{{nutrition}}} grams per day <includeonly>[[Category:Nourishing foods|{{{nutrition}}}]]</includeonly>}} |
− | {{!}} ''' | + | {{if|test={{equal|{{{energy}}}|0}}|then=| |
− | {{if|test={{{strengthening}}}|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> |
Latest revision as of 03:48, 19 February 2007
|