Difference between revisions of "Template:Infobox:Manufacture"

From Cantr II Wiki
Jump to: navigation, search
m (Reverted edits by Joshuamonkey (Talk); changed back to last version by EchoMan)
Line 1: Line 1:
 
<includeonly>{{Infobox:ManufactureBase
 
<includeonly>{{Infobox:ManufactureBase
| image       = {{{image|}}}
+
| image   = {{{image|}}}
| description = {{{description|}}}
+
| comment  = {{{comment|}}}
| section1   = {{if|test={{{type|}}}|then=Manufacturing|else=}}
+
| section1 = {{if|test={{{type|}}}|then=Manufacturing|else=}}
| item0s1     = Object type
+
| item0s1 = Object type
| info0s1     = [[:Category:{{{type}}}|{{{type}}}]]
+
| info0s1 = [[:Category:{{{type}}}|{{{type}}}]]
| item1s1     = Skill used
+
| item1s1 = Skill used
| info1s1     = {{if|test={{{skill|}}}|then=[[Skills#{{{skill}}}|{{{skill}}}]]|else={{Inc2}}}}
+
| info1s1 = {{if|test={{{skill|}}}|then=[[Skills#{{{skill}}}|{{{skill}}}]]|else={{Inc2}}}}
| item2s1     = Time
+
| item2s1 = Time
| info2s1     = {{if|test={{{time|}}}|then={{{time}}}|else=1}} day(s)
+
| info2s1 = {{if|test={{{time|}}}|then={{{time}}}|else=1}} day(s)
| item3s1     = {{if|test={{{resources|}}}|then=Materials|else=}}
+
| item3s1 = {{if|test={{{resources|}}}|then=Materials|else=}}
| info3s1     = {{{resources}}}
+
| info3s1 = {{{resources}}}
| item4s1     = {{if|test={{{objects|}}}|then=Objects|else=}}
+
| item4s1 = {{if|test={{{objects|}}}|then=Objects|else=}}
| info4s1     = {{{objects}}}
+
| info4s1 = {{{objects}}}
| item5s1     = {{if|test={{{tools|}}}|then=Tools|else=}}
+
| item5s1 = {{if|test={{{tools|}}}|then=Tools|else=}}
| info5s1     = {{{tools}}}
+
| info5s1 = {{{tools}}}
| item6s1     = {{if|test={{{machines|}}}|then=Machines|else=}}
+
| item6s1 = {{if|test={{{machines|}}}|then=Machines|else=}}
| info6s1     = {{{machines}}}
+
| info6s1 = {{{machines}}}
| item7s1     = {{if|test={{{location|}}}|then=Location|else=}}
+
| item7s1 = {{if|test={{{location|}}}|then=Location|else=}}
| info7s1     = {{{location}}}
+
| info7s1 = {{{location}}}
| 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=}}
+
| 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=}}
| item0s2     = [[Rot and repair|Rot]]
+
| item0s2 = [[Rot and repair|Rot]]
| 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}}}}
+
| 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}}}}
| item1s2     = [[Rot and repair|Repair]]
+
| item1s2 = [[Rot and repair|Repair]]
| info1s2     = {{if|test={{{repair|}}}|then={{{repair|0}}} points per hour|else={{Inc3}}}}
+
| info1s2 = {{if|test={{{repair|}}}|then={{{repair|0}}} points per hour|else={{Inc3}}}}
| section3   = {{if|test={{{alternative|}}}|then=Alternative manufacturing ({{{alternative}}})|else=}}
+
| section3 = {{if|test={{{alternative|}}}|then=Alternative manufacturing ({{{alternative}}})|else=}}
| item0s3     = {{if|test={{{skill2|}}}|then=Skill used|else=}}
+
| item0s3 = {{if|test={{{skill2|}}}|then=Skill used|else=}}
| info0s3     = {{if|test={{{skill2|}}}|then=[[Skills#{{{skill2}}}|{{{skill2}}}]]|else={{Inc2}}}}
+
| info0s3 = {{if|test={{{skill2|}}}|then=[[Skills#{{{skill2}}}|{{{skill2}}}]]|else={{Inc2}}}}
| item1s3     = Time
+
| item1s3 = Time
| info1s3     = {{if|test={{{time2|}}}|then={{{time2}}}|else=1}} day(s)
+
| info1s3 = {{if|test={{{time2|}}}|then={{{time2}}}|else=1}} day(s)
| item2s3     = {{if|test={{{resources2|}}}|then=Materials|else=}}
+
| item2s3 = {{if|test={{{resources2|}}}|then=Materials|else=}}
| info2s3     = {{{resources2}}}
+
| info2s3 = {{{resources2}}}
| item3s3     = {{if|test={{{objects2|}}}|then=Objects|else=}}
+
| item3s3 = {{if|test={{{objects2|}}}|then=Objects|else=}}
| info3s3     = {{{objects2}}}
+
| info3s3 = {{{objects2}}}
| item4s3     = {{if|test={{{tools2|}}}|then=Tools|else=}}
+
| item4s3 = {{if|test={{{tools2|}}}|then=Tools|else=}}
| info4s3     = {{{tools2}}}
+
| info4s3 = {{{tools2}}}
| item5s3     = {{if|test={{{machines2|}}}|then=Machines|else=}}
+
| item5s3 = {{if|test={{{machines2|}}}|then=Machines|else=}}
| info5s3     = {{{machines2}}}
+
| info5s3 = {{{machines2}}}
| item6s3     = {{if|test={{{location2|}}}|then=Location|else=}}
+
| item6s3 = {{if|test={{{location2|}}}|then=Location|else=}}
| info6s3     = {{{location2}}}
+
| info6s3 = {{{location2}}}
 
}}<!-- Object Categories -->{{if|test={{{type|}}}|then=[[Category:{{{type}}}]]|else=}}</includeonly><!-- Template Categories --><noinclude>{{Doc}}[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
}}<!-- Object Categories -->{{if|test={{{type|}}}|then=[[Category:{{{type}}}]]|else=}}</includeonly><!-- Template Categories --><noinclude>{{Doc}}[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 18:59, 13 November 2010

Template documentation[ view ] [ discuss ] [edit]

{{Infobox:Manufacture}} allows to detail in a single table, all the characteristics of the production of any object.

The table is located in the upper right corner and can contain: an image with its description; information about the object category; the skill used in the manufacture; the time required; the tools, objects and machines needed; the place where you can manufacture the object; the rot and repair rates of the object.

The article is automatically added to the corresponding subcategory of Manufacturing.

Usage

Copy the text below and paste it to the top of the page you are editing. Complete the fields with the information you want to display. Unused fields may be deleted or left incomplete.

{{Infobox:Manufacture
| title       = 
| image       = 
| resize      = 
| comment     = 
| type        = 
| skill       = 
| time        = 
| resources   = 
| objects     = 
| tools       = 
| machines    = 
| location    = 
| rot         = 
| userot      = 
| repair      = 
| alternative = 
| skill2      = 
| time2       = 
| resources2  = 
| objects2    = 
| tools2      = 
| machines2   = 
| location2   = 
| d-assembly  = 
| describable = 
}}

Parameters