Difference between revisions of "Template:Infobox:Gamyba"

From Cantr II Wiki
Jump to: navigation, search
m
Line 1: Line 1:
{| class="infobox bordered" cellpadding="4" align="right"
+
<includeonly>{{Infobox:ManufactureBase
|-
+
| title    = {{{title|}}}
|
+
| image    = {{{image|}}}
{| class="infobox" style="background-color:#E0E0E0; width:25em; font-size: 95%; margin-left: inherit;" valign="top" cellpadding="1" border="1" cellspacing="0" align="right"
+
| resize  = {{{resize|}}}
! style="background-color: #B0B0B0;" colspan="2" | Gamyba
+
| comment  = {{{comment|}}}
|-
+
| section1 = {{if|test={{{tipas|}}}|then=Gamyba|else=}}
| '''Gaminio tipas''' || [[:Category:{{{type}}}|{{{type}}}]] [[Category:{{{type}}}]]
+
| item0s1  = Objekto tipas
|- class="hiddenStructure{{{skill}}}"
+
| info0s1  = [[:Category:{{{tipas}}}|{{{tipas}}}]]
| '''Naudojamas įgudis''' || [[Įgudžiai#{{{skill}}}|{{{skill}}}]]
+
| item1s1  = Naudojamas įgūdis
|-
+
| info1s1  = {{if|test={{{įgūdis|}}}|then=[[Įgūdžiai#{{{įgūdis}}}|{{{įgūdis}}}]]|else={{Inc2}}}}
| '''Gaminimo trukmė''' || {{{time}}} dienos
+
| item2s1  = Trukmė
|- class="hiddenStructure{{{resources}}}"
+
| info2s1  = {{if|test={{{trukmė|}}}|then={{{trukmė}}}|else=1}} d.
| '''Naudojamos medžiagos''' || {{{resources}}}
+
| item3s1  = {{if|test={{{resursai|}}}|then=Resursai|else=}}
|- class="hiddenStructure{{{objects}}}"
+
| info3s1  = {{{resursai}}}
| '''Reikalingi ruošiniai''' || {{{objects}}}
+
| item4s1  = {{if|test={{{ruošiniai|}}}|then=Ruošiniai|else=}}
|-
+
| info4s1  = {{{ruošiniai}}}
| '''Reikalingi įrankiai''' || {{{tools|none}}}
+
| item5s1  = {{if|test={{{įrankiai|}}}|then=Įrankiai|else=}}
|- class="hiddenStructure{{{machines}}}"
+
| info5s1  = {{{įrankiai}}}
| '''Machines''' || {{{machines}}}
+
| item6s1  = {{if|test={{{mechanizmai|}}}|then=Mechanizmai|else=}}
|- class="hiddenStructure{{{location}}}"
+
| info6s1  = {{{mechanizmai}}}
| '''Location''' || {{{location}}}
+
| item7s1  = {{if|test={{{vieta|}}}|then=Vieta|else=}}
|- class="hiddenStructure{{{rot}}}"
+
| info7s1  = {{{vieta}}}
| '''[[Rot_and_repair|Rot]] per day''' || {{{rot}}}
+
| section2 = {{if|test={{if|test={{{rot|}}}|then=x|else={{if|test={{{userot|}}}|then=x|else={{if|test={{{repair|}}}|then=x|else=}}}}}}|then=Rot and repair|else=}}
|- class="hiddenStructure{{{userot}}}"
+
| item0s2  = [[Rot and repair|Rot]]
| '''[[Rot_and_repair|Rot]] per day of use''' || {{{userot}}}
+
| info0s2  = {{if|test={{{rot|}}}|then={{{rot|0}}} points per day|else=per day: {{Inc3}}}}<br>{{if|test={{{userot|}}}|then={{{userot|0}}} points per day of use|else=per day of use: {{Inc3}}}}
|- class="hiddenStructure{{{repair}}}"
+
| item1s2  = [[Rot and repair|Repair]]
| '''[[Rot_and_repair|Repair]] per hour''' || {{{repair}}}
+
| info1s2  = {{if|test={{{repair|}}}|then={{{repair|0}}} points per hour|else={{Inc3}}}}
|}
+
| section3 = {{if|test={{{alternatyva|}}}|then=Alternatyvi gamyba ({{{alternatyva}}})|else=}}
|}
+
| item0s3  = {{if|test={{{įgūdis2|}}}|then=Naudojamas įgūdis|else=}}
 +
| info0s3  = {{if|test={{{įgūdis2|}}}|then=[[Įgūdžiai#{{{įgūdis2}}}|{{{įgūdis2}}}]]|else={{Inc2}}}}
 +
| item1s3  = Trukmė
 +
| info1s3  = {{if|test={{{trukmė2|}}}|then={{{trukmė2}}}|else=1}} day(s)
 +
| item2s3  = {{if|test={{{resursai2|}}}|then=Resursai|else=}}
 +
| info2s3  = {{{resursai2}}}
 +
| item3s3  = {{if|test={{{ruošiniai2|}}}|then=Ruošiniai|else=}}
 +
| info3s3  = {{{ruošiniai2}}}
 +
| item4s3  = {{if|test={{{įrankiai2|}}}|then=Įrankiai|else=}}
 +
| info4s3  = {{{įrankiai2}}}
 +
| item5s3  = {{if|test={{{mechanizmai2|}}}|then=Mechanizmai|else=}}
 +
| info5s3  = {{{mechanizmai2}}}
 +
| item6s3  = {{if|test={{{vieta2|}}}|then=Vieta|else=}}
 +
| info6s3  = {{{vieta2}}}
 +
}}<!-- Object Categories -->{{if|test={{{tipas|}}}|then=[[Category:{{{tipas}}}]]|else=}}</includeonly><!-- Template Categories --><noinclude><!--{{Doc}}-->[[Category:Šablonai|{{PAGENAME}}]]</noinclude>

Revision as of 21:41, 26 February 2013