Difference between revisions of "Template:Infobox:Produktion de"

From Cantr II Wiki
Jump to: navigation, search
m (Bei Zeit aus "days" "Tage" gemacht.)
(erste Testversion neues Template)
Line 1: Line 1:
{| class="infobox bordered" cellpadding="4" align="left"
+
<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" | Herstellung
+
| comment  = {{{comment|}}}
|-
+
| section1 = {{if|test={{{type|}}}|then=Herstellung|else=}}
| '''Objekttype''' || [[:Category:{{{type}}}|{{{type}}}]] [[Category:{{{type}}}]]
+
| item0s1  = Objekttype
|- class="hiddenStructure{{{skill}}}"
+
| info0s1  = [[:Category:{{{type}}}|{{{type}}}]]
| '''Fähigkeiten''' || [[Fähigkeiten#{{{skill}}}|{{{skill}}}]]
+
| item1s1  = Fähigkeit
|-
+
| info1s1  = {{if|test={{{skill|}}}|then=[[Skills#{{{skill}}}|{{{skill}}}]]|else={{Inc2}}}}
| '''Zeit''' || {{{time}}} Tage
+
| item2s1  = Zeit
|- class="hiddenStructure{{{resources}}}"
+
| info2s1  = {{if|test={{{time|}}}|then={{{time}}}|else=1}} Tag(e)
| '''Materialien''' || {{{resources}}}
+
| item3s1  = {{if|test={{{resources|}}}|then=Materialien|else=}}
|- class="hiddenStructure{{{objects}}}"
+
| info3s1  = {{{resources}}}
| '''Objekte''' || {{{objects}}}
+
| item4s1  = {{if|test={{{objects|}}}|then=Objekte|else=}}
|-
+
| info4s1  = {{{objects}}}
| '''Werkzeuge''' || {{if|test={{{tools}}}|then={{{tools|none}}}|else=none}}
+
| item5s1  = {{if|test={{{tools|}}}|then=Werkzeuge|else=}}
|- class="hiddenStructure{{{machines}}}"
+
| info5s1  = {{{tools}}}
| '''On location''' || {{{machines}}}
+
| item6s1  = {{if|test={{{machines|}}}|then=Maschinen|else=}}
|- class="hiddenStructure{{{location}}}"
+
| info6s1  = {{{machines}}}
| '''Ort''' || {{{location}}}
+
| item7s1  = {{if|test={{{location|}}}|then=Ort|else=}}
|- class="hiddenStructure{{{rot}}}"
+
| info7s1  = {{{location}}}
| '''[[Verfall|Verfall]] per Tag''' || {{{rot}}}
+
| section2 = {{if|test={{if|test={{{rot|}}}|then=x|else={{if|test={{{userot|}}}|then=x|else={{if|test={{{repair|}}}|then=x|else=}}}}}}|then=Verfall und Reparatur|else=}}
|- class="hiddenStructure{{{userot}}}"
+
| item0s2  = [[Verfall]]
| '''[[Abnutzung|Abnutzung]] per Nutzungstag''' || {{{userot}}}
+
| info0s2  = {{if|test={{{rot|}}}|then={{{rot|0}}} Punkte pro Tag|else=Pro Tag: {{Inc3}}}}<br>{{if|test={{{userot|}}}|then={{{userot|0}}} Punkte pro Nutzungstag|else=pro Nutzungstag: {{Inc3}}}}
|- class="hiddenStructure{{{repair}}}"
+
| item1s2  = [[Reparatur]]
| '''[[Reparatur|Reparatur]] per Stunde''' || {{{repair}}}
+
| info1s2  = {{if|test={{{repair|}}}|then={{{repair|0}}} Punkte pro Stunde|else={{Inc3}}}}
|}
+
| section3 = {{if|test={{{alternative|}}}|then=Alternative Produktion ({{{alternative}}})|else=}}
|}
+
| item0s3  = {{if|test={{{skill2|}}}|then=Fähigkeit|else=}}
 +
| info0s3  = {{if|test={{{skill2|}}}|then=[[Skills#{{{skill2}}}|{{{skill2}}}]]|else={{Inc2}}}}
 +
| item1s3  = Zeit
 +
| info1s3  = {{if|test={{{time2|}}}|then={{{time2}}}|else=1}} Tage
 +
| item2s3  = {{if|test={{{resources2|}}}|then=Materialien|else=}}
 +
| info2s3  = {{{resources2}}}
 +
| item3s3  = {{if|test={{{objects2|}}}|then=Objekte|else=}}
 +
| info3s3  = {{{objects2}}}
 +
| item4s3  = {{if|test={{{tools2|}}}|then=Werkzeuge|else=}}
 +
| info4s3  = {{{tools2}}}
 +
| item5s3  = {{if|test={{{machines2|}}}|then=Maschinen|else=}}
 +
| info5s3  = {{{machines2}}}
 +
| item6s3  = {{if|test={{{location2|}}}|then=Ort|else=}}
 +
| info6s3  = {{{location2}}}
 +
}}<!-- Object Categories -->{{if|test={{{type|}}}|then=[[Category:{{{type}}}]]|else=}}</includeonly><!-- Template Categories --><noinclude>{{Doc}}[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 14:26, 19 December 2010

Template documentation[ view ] [ discuss ] [edit]

{{Infobox:Produktion de}} 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:Produktion de
| title       = 
| image       = 
| resize      = 
| comment     = 
| type        = 
| skill       = 
| time        = 
| resources   = 
| objects     = 
| tools       = 
| machines    = 
| location    = 
| rot         = 
| userot      = 
| repair      = 
| alternative = 
| skill2      = 
| time2       = 
| resources2  = 
| objects2    = 
| tools2      = 
| machines2   = 
| location2   = 
}}

Parameters