Difference between revisions of "Template:Infobox:Resursai"

From Cantr II Wiki
Jump to: navigation, search
Line 1: Line 1:
{| class="infobox bordered" cellpadding="4" style="float:right;"
+
<includeonly>{{Infobox:ResourceBase
|-
+
| image    = {{{image|}}}
|
+
| resize    = {{{resize|}}}
{| class="infobox" style="background-color:#FFFFAA; float:right; width:25em; font-size: 95%; margin-left: inherit;" valign="top" cellpadding="1" border="1" cellspacing="0"
+
| comment  = {{{comment|}}}
! style="background-color: #FFFF00;" colspan="2" | Resursas
+
| section1  = {{if|test={{{eaten|}}}|then=Valgiai{{if|test={{{heals|}}}|then=&nbsp;/ Gydomieji valgiai|else={{if|test={{{heals2|}}}|then=&nbsp;/ Gydomieji valgiai|else=}}}}|else={{if|test={{{heals|}}}|then=Gydomieji valgiai|else={{if|test={{{heals2|}}}|then=Gydomieji valgiai|else=}}}}}}
|- class="hiddenStructure{{{gathered}}}"
+
| item0s1  = {{if|test={{{eaten|}}}|then=Valgymas|else=}}
| '''Išgaunamas''' || {{{gathered}}} gramai per dieną <includeonly>[[Category:Neperdirbti resursai|{{{gathered}}}]]</includeonly>
+
| info0s1  = {{{eaten|0}}} g
|- class="hiddenStructure{{{tools}}}"
+
| item1s1  = {{if|test={{if|test={{{heals|}}}|then={{{heals}}}|else={{if|test={{{heals2|}}}|then={{{heals2}}}|else=}}}}|then=Gydymas|else=}}
| '''Įrankiai''' || {{{tools}}}
+
| info1s1  = {{if|test={{{heals|}}}|then=100 gramų išgydo {{{heals|0}}} %|else=percentage: {{Inc2}}}}<br>{{if|test={{{heals2|}}}|then={{{heals2|0}}} g išgydo 1 % sužeidimų|else=per gram: {{Inc2}}}}
|- class="hiddenStructure{{{skill}}}"
+
| section2  = {{if|test={{{gathered|}}}|then=Neapdirbti resursai|else=}}
| '''Įgudis''' || {{{skill}}}
+
| item0s2  = Rinkimas
|- class="hiddenStructure{{{eaten}}}"
+
| info0s2  = {{{gathered|0}}} g per dieną
| '''Valgomas''' || {{{eaten}}} gramai per dieną <includeonly>[[Category:Valgiai|{{{eaten}}}]]</includeonly>
+
| item1s2  = Įgūdis
|- class="hiddenStructure{{{heals}}}"
+
| info1s2  = {{if|test={{{skill|}}}|then=[[Įgūdžiai#{{{skill}}}|{{{skill}}}]]|else={{Inc2}}}}
| '''Gydymas''' || 100 gramų suteikia {{{heals}}}<includeonly>[[Category:Gidomieji valgiai|{{{heals}}}]]</includeonly>
+
| section2b = {{if|test={{{resources|}}}|then=Gaminamas resursas|else={{if|test={{{skill2|}}}|then=Gaminamas resursas|else=}}}}
|}
+
| item0s2b  = {{if|test={{{resources|}}}|then=Resursai|else=}}
|}
+
| info0s2b  = {{{resources|}}}
<includeonly>[[Category:Resursai]]</includeonly>
+
| item1s2b  = {{if|test={{{tools|}}}|then=Įrankiai|else=}}
 +
| info1s2b  = {{{tools|}}}
 +
| item2s2b  = {{if|test={{{machinery|}}}|then=Įrengimai|else=}}
 +
| info2s2b  = {{{machinery|}}}
 +
| item3s2b  = Įgūdis
 +
| info3s2b  = {{if|test={{{skill2|}}}|then=[[Įgūdžiai#{{{skill2}}}|{{{skill2}}}]]|else={{Inc2}}}}
 +
| section3  = {{if|test={{{method0|}}}|then={{if|test={{{amount0|}}}|then={{if|test={{{gathered|}}}|then=Rinkimo|else=Gaminimo}} &nbsp; būdai|else=}}|else=}}
 +
| ltitle    = Būdas
 +
| rtitle    = Kiekis
 +
| item0s3  = {{{method0|}}}
 +
| info0s3  = {{{amount0|}}}
 +
| item1s3  = {{{method1|}}}
 +
| info1s3  = {{{amount1|}}}
 +
| item2s3  = {{{method2|}}}
 +
| info2s3  = {{{amount2|}}}
 +
| item3s3  = {{{method3|}}}
 +
| info3s3  = {{{amount3|}}}
 +
| item4s3  = {{{method4|}}}
 +
| info4s3  = {{{amount4|}}}
 +
| item5s3  = {{{method5|}}}
 +
| info5s3  = {{{amount5|}}}
 +
| item6s3  = {{{method6|}}}
 +
| info6s3  = {{{amount6|}}}
 +
| item7s3  = {{{method7|}}}
 +
| info7s3  = {{{amount7|}}}
 +
| item8s3  = {{{method8|}}}
 +
| info8s3  = {{{amount8|}}}
 +
| item9s3  = {{{method9|}}}
 +
| info9s3  = {{{amount9|}}}
 +
}}<!-- Resource Categories -->[[Category:Resursai]]{{if|test={{{eaten|}}}|then=[[Category:Valgiai]]|else=}}{{if|test={{{heals|}}}|then=[[Category:Gydomieji valgiai|{{{heals}}}]]|else=}}{{if|test={{{gathered|}}}|then=[[Category:Neapdirbti resursai]]|else=}}</includeonly><!-- Template Categories --><noinclude><!--{{Doc}}-->[[Category:Šablonai|{{PAGENAME}}]]</noinclude>

Revision as of 11:27, 2 July 2013