Difference between revisions of "Template:Infobox:resource"

From Cantr II Wiki
Jump to: navigation, search
m
m
 
(One intermediate revision 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={{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}}}|else=}}
+
{{!}} '''Gathering skill''' {{!}}{{!}} {{if|test={{{skill}}}|then=[[Skills#{{{skill}}}|{{{skill}}}]]|else=No 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=}}
+
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>|else=}}
+
{{if|test={{equal|{{{energy}}}|0}}|then=|
{{if|test={{equal|{{{strengthening}}}|0}}|then={{!}}-
+
else={{!}}-
{{!}} '''Healing''' {{!}}{{!}} {{{strengthening}}} <includeonly>[[Category:Healing foods|{{{strengthening}}}]]</includeonly>|else=}}
+
{{!}} '''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

Resource
Gathering rate {{{gather}}} grams per day
Gathering skill [[Skills#{{{skill}}}|{{{skill}}}]]
Eaten {{{nutrition}}} grams per day
Energy {{{energy}}}
Healing {{{strengthening}}}