Difference between revisions of "Template:Infobox:Tillverkning"
From Cantr II Wiki
Line 1: | Line 1: | ||
− | {| | + | <includeonly>{{Infobox:ManufactureBase |
− | | | + | | bild = {{{bold|}}} |
− | | | + | | kommentar = {{{kommentar|}}} |
− | {| | + | | section1 = {{if|test={{{typ|}}}|then=Tillverkning|else=}} |
− | ! | + | | item0s1 = Typ av objekt |
− | + | | info0s1 = [[:Category:{{{typ}}}|{{{typ}}}]] | |
+ | | item1s1 = Använd kunskap | ||
+ | | info1s1 = {{if|test={{{kunskap|}}}|then=[[Kunskaper#{{{kunskap}}}|{{{kunskap}}}]]|else={{Inc2}}}} | ||
+ | | item2s1 = Tid | ||
+ | | info2s1 = {{if|test={{{tid|}}}|then={{{tid}}}|else=1}} dag(ar) | ||
+ | | item3s1 = {{if|test={{{resurser|}}}|then=Material|else=}} | ||
+ | | info3s1 = {{{resurser}}} | ||
+ | | item4s1 = {{if|test={{{objekt|}}}|then=Objekt|else=}} | ||
+ | | info4s1 = {{{objekt}}} | ||
+ | | item5s1 = {{if|test={{{verktyg|}}}|then=Verktyg|else=}} | ||
+ | | info5s1 = {{{verktyg}}} | ||
+ | | item6s1 = {{if|test={{{maskiner|}}}|then=Maskiner|else=}} | ||
+ | | info6s1 = {{{maskiner}}} | ||
+ | | item7s1 = {{if|test={{{plats|}}}|then=Plats|else=}} | ||
+ | | info7s1 = {{{plats}}} | ||
+ | | section2 = {{if|test={{if|test={{{slitage|}}}|then=x|else={{if|test={{{anv_slitage|}}}|then=x|else={{if|test={{{reparation}}}|then=x|else=}}}}}}|then=Slitage och reparation|else=}} | ||
+ | | item0s2 = [[Slitage och reparation|Slitage]] | ||
+ | | info0s2 = {{if|test={{{slitage|}}}|then={{{slitage|0}}} poäng per dag|else=per dag: {{Inc3}}}}<br />{{if|test={{{anv_slitage|}}}|then={{{anv_slitage|0}}} poäng per dags användning|else=per dags användning: {{Inc3}}}} | ||
+ | | item1s2 = [[Slitage och reparation|Reparation]] | ||
+ | | info1s2 = {{if|test={{{reparation|}}}|then={{{reparation|0}}} poäng per timme|else={{Inc3}}}} | ||
+ | | section3 = {{if|test={{{alternativ|}}}|then=Alternativ tillverkning ({{{alternativ}}})|else=}} | ||
+ | | item0s3 = {{if|test={{{kunskap2|}}}|then=Använd kunskap|else=}} | ||
+ | | info0s3 = {{if|test={{{kunskap2|}}}|then=[[Kunskaper#{{{kunskap2}}}|{{{kunskap2}}}]]|else={{Inc2}}}} | ||
+ | | item1s3 = Tid | ||
+ | | info1s3 = {{if|test={{{tid2|}}}|then={{{tid2}}}|else=1}} dag(ar) | ||
+ | | item2s3 = {{if|test={{{resurser2|}}}|then=Material|else=}} | ||
+ | | info2s3 = {{{resurser2}}} | ||
+ | | item3s3 = {{if|test={{{objekt2|}}}|then=Objekt|else=}} | ||
+ | | info3s3 = {{{objekt2}}} | ||
+ | | item4s3 = {{if|test={{{verktyg2|}}}|then=Verktyg|else=}} | ||
+ | | info4s3 = {{{verktyg2}}} | ||
+ | | item5s3 = {{if|test={{{maskiner2|}}}|then=Maskiner|else=}} | ||
+ | | info5s3 = {{{maskiner2}}} | ||
+ | | item6s3 = {{if|test={{{plats2|}}}|then=Plats|else=}} | ||
+ | | info6s3 = {{{plats2}}} | ||
+ | }}<!-- Object Categories -->{{if|test={{{typ|}}}|then=[[Category:{{{typ}}}]]|else=}}</includeonly><!-- Template Categories --><noinclude>{{Doc}}[[Category:Templates|{{PAGENAME}}]]</noinclude> | ||
+ | |||
+ | <!-- | ||
| '''Typ av objekt''' || [[:Category:{{{typ}}}|{{{typ}}}]] [[Category:{{{typ}}}]] | | '''Typ av objekt''' || [[:Category:{{{typ}}}|{{{typ}}}]] [[Category:{{{typ}}}]] | ||
|- class="hiddenStructure{{{kunskap}}}" | |- class="hiddenStructure{{{kunskap}}}" | ||
Line 28: | Line 65: | ||
|} | |} | ||
|} | |} | ||
+ | --> |
Revision as of 06:41, 10 August 2010
{{Infobox:Tillverkning}} 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. AnvändningCopy 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:Tillverkning | namn = | bild = | fyll_ut = | kommentar = | typ = | kunskap = | tid = | resurser = | objekt = | verktyg = | maskiner = | plats = | slitage = | anv_slitage = | reparation = | alternativ = | kunskap2 = | tid2 = | resurser2 = | objekt2 = | verktyg2 = | maskiner2 = | plats2 = }} Parametrar
|