Difference between revisions of "Template:Infobox:Gamyba"

From Cantr II Wiki
Jump to: navigation, search
m
 
(9 intermediate revisions by 3 users not shown)
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={{{type|}}}|then=Gamyba|else=}}
| '''Gaminio tipas''' || [[:Category:{{{type}}}|{{{type}}}]] [[Category:{{{type}}}]]
+
| item0s1  = Objekto tipas
|- class="hiddenStructure{{{skill}}}"
+
| info0s1  = [[:Category:{{{type}}}|{{{type}}}]]
| '''Naudojamas įgudis''' || [[Skills#{{{skill}}}|{{{skill}}}]]
+
| item1s1  = Įgūdis
|-
+
| info1s1  = {{if|test={{{skill|}}}|then=[[Įgūdžiai#{{{skill}}}|{{{skill}}}]]|else={{Inc2}}}}
| '''Gaminimo trukmė''' || {{{time}}} dienos
+
| item2s1  = Trukmė
|- class="hiddenStructure{{{resources}}}"
+
| info2s1  = {{if|test={{{time|}}}|then={{{time}}}|else=1}} d.
| '''Naudojamos medžiagos''' || {{{resources}}}
+
| item3s1  = {{if|test={{{resources|}}}|then=Resursai|else=}}
|- class="hiddenStructure{{{objects}}}"
+
| info3s1  = {{{resources}}}
| '''Objects''' || {{{objects}}}
+
| item4s1  = {{if|test={{{objects|}}}|then=Ruošiniai|else=}}
|-
+
| info4s1  = {{{objects}}}
| '''Reikalingi įrankiai''' || {{{tools|none}}}
+
| item5s1  = {{if|test={{{tools|}}}|then=Įrankiai|else=}}
|- class="hiddenStructure{{{machines}}}"
+
| info5s1  = {{{tools}}}
| '''Machines''' || {{{machines}}}
+
| item6s1  = {{if|test={{{machines|}}}|then=Mechanizmai|else=}}
|- class="hiddenStructure{{{location}}}"
+
| info6s1  = {{{machines}}}
| '''Location''' || {{{location}}}
+
| item7s1  = {{if|test={{{location|}}}|then=Vieta|else=}}
|- class="hiddenStructure{{{rot}}}"
+
| info7s1  = {{{location}}}
| '''[[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=Irimas ir taisymas|else=}}
|- class="hiddenStructure{{{userot}}}"
+
| item0s2  = [[Irimas ir taisymas|Irimas]]
| '''[[Rot_and_repair|Rot]] per day of use''' || {{{userot}}}
+
| info0s2  = {{if|test={{{rot|}}}|then={{{rot|0}}} tšk. per dieną|else=per dieną: {{Inc3}}}}<br>{{if|test={{{userot|}}}|then={{{userot|0}}} tšk. per dieną naudojant|else=per dieną naudojant: {{Inc3}}}}
|- class="hiddenStructure{{{repair}}}"
+
| item1s2  = [[Irimas ir taisymas|Taisymas]]
| '''[[Rot_and_repair|Repair]] per hour''' || {{{repair}}}
+
| info1s2  = {{if|test={{{repair|}}}|then={{{repair|0}}} tšk. per valandą|else={{Inc3}}}}
|}
+
| section3 = {{if|test={{{alternative|}}}|then=Alternatyvi gamyba ({{{alternative}}})|else=}}
|}
+
| item0s3  = {{if|test={{{skill2|}}}|then=Įgūdis|else=}}
 +
| info0s3  = {{if|test={{{skill2|}}}|then=[[Įgūdžiai#{{{skill2}}}|{{{skill2}}}]]|else={{Inc2}}}}
 +
| item1s3  = Trukmė
 +
| info1s3  = {{if|test={{{time2|}}}|then={{{time2}}}|else=1}} day(s)
 +
| item2s3  = {{if|test={{{resources2|}}}|then=Resursai|else=}}
 +
| info2s3  = {{{resources2}}}
 +
| item3s3  = {{if|test={{{objects2|}}}|then=Ruošiniai|else=}}
 +
| info3s3  = {{{objects2}}}
 +
| item4s3  = {{if|test={{{tools2|}}}|then=Įrankiai|else=}}
 +
| info4s3  = {{{tools2}}}
 +
| item5s3  = {{if|test={{{machines2|}}}|then=Mechanizmai|else=}}
 +
| info5s3  = {{{machines2}}}
 +
| item6s3  = {{if|test={{{location2|}}}|then=Vieta|else=}}
 +
| info6s3  = {{{location2}}}
 +
}}<!-- Object Categories -->{{if|test={{{type|}}}|then=[[Category:{{{type}}}]]|else=}}</includeonly><!-- Template Categories --><noinclude><!--{{Doc}}-->[[Category:Šablonai|{{PAGENAME}}]]</noinclude>

Latest revision as of 16:09, 2 March 2013