Difference between revisions of "Template:Infobox:Resource"
From Cantr II Wiki
Line 8: | Line 8: | ||
| item1s1 = {{if|test={{if|test={{{heals|}}}|then={{{heals}}}|else={{if|test={{{heals2|}}}|then={{{heals2}}}|else=}}}}|then=Heals|else=}} | | item1s1 = {{if|test={{if|test={{{heals|}}}|then={{{heals}}}|else={{if|test={{{heals2|}}}|then={{{heals2}}}|else=}}}}|then=Heals|else=}} | ||
| info1s1 = {{if|test={{{heals|}}}|then={{{heals|0}}}% per 100 grams|else=percentage: {{Inc2}}}}<br>{{if|test={{{heals2|}}}|then={{{heals2|0}}} grams heals 1% injury|else=per gram: {{Inc2}}}} | | info1s1 = {{if|test={{{heals|}}}|then={{{heals|0}}}% per 100 grams|else=percentage: {{Inc2}}}}<br>{{if|test={{{heals2|}}}|then={{{heals2|0}}} grams heals 1% injury|else=per gram: {{Inc2}}}} | ||
− | | item2s1 = {{if|test={{if|test={{{intox|}}}|then={{{intox}}}|else={{if|test={{{intox2|}}}|then={{{intox2}}}|else=}}}}|then=Intoxicates|else=}} | + | | item2s1 = {{if|test={{if|test={{{intox|}}}|then={{{intox}}}|else={{if|test={{{intox2|}}}|then={{{intox2}}}|else=}}}}|then=[[States#Drunkenness|Intoxicates]]|else=}} |
| info2s1 = {{if|test={{{intox|}}}|then={{{intox|0}}}% per 100 grams|else=percentage: {{Inc2}}}}<br>{{if|test={{{intox2|}}}|then={{{intox2|0}}} grams intoxicates 1%|else=per gram: {{Inc2}}}} | | info2s1 = {{if|test={{{intox|}}}|then={{{intox|0}}}% per 100 grams|else=percentage: {{Inc2}}}}<br>{{if|test={{{intox2|}}}|then={{{intox2|0}}} grams intoxicates 1%|else=per gram: {{Inc2}}}} | ||
| section2 = {{if|test={{{gathered|}}}|then=Raw Resource|else=}} | | section2 = {{if|test={{{gathered|}}}|then=Raw Resource|else=}} |
Revision as of 14:36, 17 February 2016
{{Infobox:Resource}} can show, in a single table, all the characteristics of any resource. The table is located in the upper right corner, and may contain: an image with its description, an alternative title for the resource, information on healing foods and / or nutritional information on the manual collection and tools, information on various methods of manufacturing. The article is automatically added to the category Resources. Additionally, as appropriate, is also added to the categories: Nourishing foods, Healing foods or Raw resources . UsageCopy the text below and fill out the values for the parameters that makes sense for your object. Unused parameters may be removed or left blank. {{Infobox:Resource | image = | resize = | description = | eaten = | heals = | heals2 = | intox = | intox2 = | gathered = | skill = | resources = | tools = | machinery = | skill2 = | method0 = | amount0 = | method1 = | amount1 = | method2 = | amount2 = | method3 = | amount3 = | method4 = | amount4 = | method5 = | amount5 = | method6 = | amount6 = | method7 = | amount7 = | method8 = | amount8 = | method9 = | amount9 = }} Parámetros
|