Difference between revisions of "Template:Infobox:Rohstoffe"

From Cantr II Wiki
Jump to: navigation, search
(erste Testversion neues Template)
Line 1: Line 1:
{| class="infobox bordered" cellpadding="4" style="float:right;"
+
<includeonly>{{Infobox:ResourceBase
 +
| image    = {{{image|}}}
 +
| resize    = {{{resize|}}}
 +
| comment  = {{{comment|}}}
 +
| section1  = {{if|test={{{eaten|}}}|then=Essen{{if|test={{{heals|}}}|then=Heilendes Essen|else={{if|test={{{heals2|}}}|then=Heilendes Essen|else=}}}}|else={{if|test={{{heals|}}}|then=Heilendes Essen|else={{if|test={{{heals2|}}}|then=Heilendes Essen|else=}}}}}}
 +
| item0s1  = {{if|test={{{eaten|}}}|then=Nährwert|else=}}
 +
| info0s1  = {{{eaten|0}}} Gramm
 +
| item1s1  = {{if|test={{if|test={{{heals|}}}|then={{{heals}}}|else={{if|test={{{heals2|}}}|then={{{heals2}}}|else=}}}}|then=Heilungsrate|else=}}
 +
| info1s1  = {{if|test={{{heals|}}}|then={{{heals|0}}}% pro 100 Gramm|else=percentage: {{Inc2}}}}<br>{{if|test={{{heals2|}}}|then={{{heals2|0}}} Gramm heilen 1% Schaden|else=per gram: {{Inc2}}}}
 +
| section2  = {{if|test={{{gathered|}}}|then=Naturstoff|else=}}
 +
| item0s2  = Ertrag
 +
| info0s2  = {{{gathered|0}}} Gramm pro Tag
 +
| item1s2  = Fähigkeit
 +
| info1s2  = {{if|test={{{skill|}}}|then=[[Skills#{{{skill}}}|{{{skill}}}]]|else={{Inc2}}}}
 +
| section2b = {{if|test={{{resources|}}}|then=Manufactured Resource|else={{if|test={{{skill2|}}}|then=Manufactured Resource|else=}}}}
 +
| item0s2b  = {{if|test={{{resources|}}}|then=Resources|else=}}
 +
| info0s2b  = {{{resources|}}}
 +
| item1s2b  = {{if|test={{{tools|}}}|then=Werkzeuge|else=}}
 +
| info1s2b  = {{{tools|}}}
 +
| item2s2b  = {{if|test={{{machinery|}}}|then=Machinery|else=}}
 +
| info2s2b  = {{{machinery|}}}
 +
| item3s2b  = Fertigkeit
 +
| info3s2b  = {{if|test={{{skill2|}}}|then=[[Skills#{{{skill2}}}|{{{skill2}}}]]|else={{Inc2}}}}
 +
| section3  = {{if|test={{{method0|}}}|then={{if|test={{{amount0|}}}|then=Methoden;{{if|test={{{gathered|}}}|then= des Sammelns|else=der Herstellung}}|else=}}|else=}}
 +
| ltitle    = Methode
 +
| rtitle    = Menge
 +
| item0s3  = {{{method0|}}}
 +
| info0s3  = {{{amount0|}}}
 +
| item1s3  = {{{method1|}}}
 +
| info1s3  = {{{amount1|}}}
 +
| item2s3  = {{{method2|}}}
 +
| info2s3  = {{{amount2|}}}
 +
| item3s3  = {{{method3|}}}
 +
| info3s3  = {{{amount3|}}}
 +
| item4s3  = {{{method4|}}}
 +
| info4s3  = {{{amount4|}}}
 +
| item5s3  = {{{method5|}}}
 +
| info5s3  = {{{amount5|}}}
 +
| item6s3  = {{{method6|}}}
 +
| info6s3  = {{{amount6|}}}
 +
| item7s3  = {{{method7|}}}
 +
| info7s3  = {{{amount7|}}}
 +
| item8s3  = {{{method8|}}}
 +
| info8s3  = {{{amount8|}}}
 +
| item9s3  = {{{method9|}}}
 +
| info9s3  = {{{amount9|}}}
 +
}}<!-- Resource Categories -->[[Category:Rohstoffe]]{{if|test={{{eaten|}}}|then=[[Category:Essen]]|else=}}{{if|test={{{heals|}}}|then=[[Category:Heilendes_Essen|{{{heals}}}]]|else=}}{{if|test={{{gathered|}}}|then=[[Category:Naturstoffe]]|else=}}
 +
</includeonly>
 +
<!--
 +
<includeonly>{| class="infobox bordered" cellpadding="4" style="float:right;"
 
|-
 
|-
 
|
 
|
 
{| class="infobox" style="background-color:#FFFFAA; float:right; width:25em; font-size: 95%; margin-left: inherit;" valign="top" cellpadding="1" border="1" cellspacing="0"
 
{| class="infobox" style="background-color:#FFFFAA; float:right; width:25em; font-size: 95%; margin-left: inherit;" valign="top" cellpadding="1" border="1" cellspacing="0"
! style="background-color: #FFFF00;" colspan="2" | Rohstoff
+
! style="background-color: #FFFF00;" colspan="2" | Resource
 
|- class="hiddenStructure{{{gathered}}}"
 
|- class="hiddenStructure{{{gathered}}}"
| '''Ertrag''' || {{{gathered}}} Gramm pro Tag <includeonly>[[Category:Naturstoffe|{{{gathered}}}]]</includeonly>
+
| '''Ertrag''' || {{{gathered}}} Grams pro Tag <includeonly>[[Category:Naturstoffe|{{{gathered}}}]]</includeonly>
 
|- class="hiddenStructure{{{tools}}}"
 
|- class="hiddenStructure{{{tools}}}"
| '''Werkzeug'''|| {{{tools}}}
+
| '''Werkzeuge''' || {{{tools}}}
 
|- class="hiddenStructure{{{skill}}}"
 
|- class="hiddenStructure{{{skill}}}"
| '''Fertigkeit''' || <includeonly>{{if|test={{if|test={{{skill}}}|then={{{skill|}}}|else=}}|then={{{skill}}}|else={{{skill|{{rewrite|Missing skill field.}}}}}}}</includeonly>
+
| '''Sammelfertigkeit''' || <includeonly>{{if|test={{if|test={{{skill}}}|then={{{skill|}}}|else=}}|then={{{skill}}}|else={{{skill|{{rewrite|Missing skill field.}}}}}}}</includeonly>
 
|- class="hiddenStructure{{{eaten}}}"
 
|- class="hiddenStructure{{{eaten}}}"
 
| '''Nährwert''' || {{{eaten}}} Gramm pro Tag <includeonly>[[Category:Essen|{{{eaten}}}]]</includeonly>
 
| '''Nährwert''' || {{{eaten}}} Gramm pro Tag <includeonly>[[Category:Essen|{{{eaten}}}]]</includeonly>
 
|- class="hiddenStructure{{{heals}}}"
 
|- class="hiddenStructure{{{heals}}}"
| '''Heilung''' || {{{heals}}}% pro 100 Gramm <includeonly>[[Category:heilendes Essen|{{{heals}}}]]</includeonly>
+
| '''Heilrate''' || {{{heals}}}% pro 100 Gramm <includeonly>[[Category:Heilendes_Essen|{{{heals}}}]]</includeonly>
 
|}
 
|}
 
|}
 
|}
 
<includeonly>[[Category:Rohstoffe]]</includeonly>
 
<includeonly>[[Category:Rohstoffe]]</includeonly>
 +
-->

Revision as of 15:23, 18 December 2010