Difference between revisions of "User:Sonnrain/Templateversuch"
From Cantr II Wiki
(grundlage für neues deutsches Template:Rohstoffe) |
|||
Line 4: | Line 4: | ||
| comment = {{{comment|}}} | | comment = {{{comment|}}} | ||
| section1 = {{if|test={{{eaten|}}}|then=Nourishing Food{{if|test={{{heals|}}}|then= / Healing Food|else={{if|test={{{heals2|}}}|then= / Healing Food|else=}}}}|else={{if|test={{{heals|}}}|then=Healing Food|else={{if|test={{{heals2|}}}|then=Healing Food|else=}}}}}} | | section1 = {{if|test={{{eaten|}}}|then=Nourishing Food{{if|test={{{heals|}}}|then= / Healing Food|else={{if|test={{{heals2|}}}|then= / Healing Food|else=}}}}|else={{if|test={{{heals|}}}|then=Healing Food|else={{if|test={{{heals2|}}}|then=Healing Food|else=}}}}}} | ||
− | | item0s1 = {{if|test={{{eaten|}}}|then= | + | | item0s1 = {{if|test={{{eaten|}}}|then=Nährwert|else=}} |
− | | info0s1 = {{{eaten|0}}} | + | | info0s1 = {{{eaten|0}}} Gramm |
− | | item1s1 = {{if|test={{if|test={{{heals|}}}|then={{{heals}}}|else={{if|test={{{heals2|}}}|then={{{heals2}}}|else=}}}}|then= | + | | 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}}}% | + | | 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= | + | | section2 = {{if|test={{{gathered|}}}|then=Naturstoff|else=}} |
− | | item0s2 = | + | | item0s2 = Ertrag |
− | | info0s2 = {{{gathered|0}}} | + | | info0s2 = {{{gathered|0}}} Gramm pro Tag |
− | | item1s2 = | + | | item1s2 = Fähigkeit |
| info1s2 = {{if|test={{{skill|}}}|then=[[Skills#{{{skill}}}|{{{skill}}}]]|else={{Inc2}}}} | | 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=}}}} | | section2b = {{if|test={{{resources|}}}|then=Manufactured Resource|else={{if|test={{{skill2|}}}|then=Manufactured Resource|else=}}}} | ||
| item0s2b = {{if|test={{{resources|}}}|then=Resources|else=}} | | item0s2b = {{if|test={{{resources|}}}|then=Resources|else=}} | ||
| info0s2b = {{{resources|}}} | | info0s2b = {{{resources|}}} | ||
− | | item1s2b = {{if|test={{{tools|}}}|then= | + | | item1s2b = {{if|test={{{tools|}}}|then=Werkzeuge|else=}} |
| info1s2b = {{{tools|}}} | | info1s2b = {{{tools|}}} | ||
| item2s2b = {{if|test={{{machinery|}}}|then=Machinery|else=}} | | item2s2b = {{if|test={{{machinery|}}}|then=Machinery|else=}} | ||
| info2s2b = {{{machinery|}}} | | info2s2b = {{{machinery|}}} | ||
− | | item3s2b = | + | | item3s2b = Fähigkeit |
| info3s2b = {{if|test={{{skill2|}}}|then=[[Skills#{{{skill2}}}|{{{skill2}}}]]|else={{Inc2}}}} | | info3s2b = {{if|test={{{skill2|}}}|then=[[Skills#{{{skill2}}}|{{{skill2}}}]]|else={{Inc2}}}} | ||
− | | section3 = {{if|test={{{method0|}}}|then={{if|test={{{amount0|}}}|then= | + | | section3 = {{if|test={{{method0|}}}|then={{if|test={{{amount0|}}}|then=Methoden;{{if|test={{{gathered|}}}|then= des Sammelns|else=der Herstellung}}|else=}}|else=}} |
− | | ltitle = | + | | ltitle = Methode |
− | | rtitle = | + | | rtitle = Menge |
| item0s3 = {{{method0|}}} | | item0s3 = {{{method0|}}} | ||
| info0s3 = {{{amount0|}}} | | info0s3 = {{{amount0|}}} | ||
Line 45: | Line 45: | ||
| item9s3 = {{{method9|}}} | | item9s3 = {{{method9|}}} | ||
| info9s3 = {{{amount9|}}} | | info9s3 = {{{amount9|}}} | ||
− | }}<!-- Resource Categories -->[[Category: | + | }}<!-- 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> | ||
+ | |||
<!-- | <!-- | ||
− | {| class="infobox bordered" cellpadding="4" style="float:right;" | + | <includeonly>{| class="infobox bordered" cellpadding="4" style="float:right;" |
|- | |- | ||
| | | | ||
Line 53: | Line 55: | ||
! style="background-color: #FFFF00;" colspan="2" | Resource | ! style="background-color: #FFFF00;" colspan="2" | Resource | ||
|- class="hiddenStructure{{{gathered}}}" | |- class="hiddenStructure{{{gathered}}}" | ||
− | | ''' | + | | '''Ertrag''' || {{{gathered}}} Grams pro Tag <includeonly>[[Category:Naturstoffe|{{{gathered}}}]]</includeonly> |
|- class="hiddenStructure{{{tools}}}" | |- class="hiddenStructure{{{tools}}}" | ||
− | | ''' | + | | '''Werkzeuge''' || {{{tools}}} |
|- class="hiddenStructure{{{skill}}}" | |- class="hiddenStructure{{{skill}}}" | ||
− | | ''' | + | | '''Sammelfähigkeit''' || <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> |
|- class="hiddenStructure{{{heals}}}" | |- class="hiddenStructure{{{heals}}}" | ||
− | | ''' | + | | '''Heilrate''' || {{{heals}}}% pro 100 Gramm <includeonly>[[Category:Heilendes_Essen|{{{heals}}}]]</includeonly> |
|} | |} | ||
|} | |} | ||
− | <includeonly>[[Category: | + | <includeonly>[[Category:Rohstoffe]]</includeonly> |
--> | --> |
Latest revision as of 15:05, 18 December 2010