Difference between revisions of "Template:Infobox:Ressource"

From Cantr II Wiki
Jump to: navigation, search
 
Line 6: Line 6:
 
| item0s1  = {{if|test={{{eaten|}}}|then=Mangé|else=}}
 
| item0s1  = {{if|test={{{eaten|}}}|then=Mangé|else=}}
 
| info0s1  = {{{eaten|0}}} grammes
 
| info0s1  = {{{eaten|0}}} grammes
| item1s1  = {{if|test={{if|test={{{heals|}}}|then={{{heals}}}|else={{if|test={{{heals2|}}}|then={{{heals2}}}|else=}}}}|then=Guérit|else=}}
+
| item1s1  = {{if|test={{if|test={{{heals|}}}|then={{{heals}}}|else={{if|test={{{heals2|}}}|then={{{heals2}}}|else=}}}}|then=Guérissent|else=}}
 
| info1s1  = {{if|test={{{heals|}}}|then={{{heals|0}}}% par 100 grammes|else=percentage: {{Inc2 (fr)}}}}<br>{{if|test={{{heals2|}}}|then={{{heals2|0}}} grammes guérissent 1% de blessures|else=par gramme: {{Inc2 (fr)}}}}
 
| info1s1  = {{if|test={{{heals|}}}|then={{{heals|0}}}% par 100 grammes|else=percentage: {{Inc2 (fr)}}}}<br>{{if|test={{{heals2|}}}|then={{{heals2|0}}} grammes guérissent 1% de blessures|else=par gramme: {{Inc2 (fr)}}}}
 
| section2  = {{if|test={{{gathered|}}}|then=Ressources naturelles|else=}}
 
| section2  = {{if|test={{{gathered|}}}|then=Ressources naturelles|else=}}
| item0s2  = Receuilli
+
| item0s2  = Collecte
 
| info0s2  = {{{gathered|0}}} grammes par jour
 
| info0s2  = {{{gathered|0}}} grammes par jour
 
| item1s2  = Atout
 
| item1s2  = Atout
Line 46: Line 46:
 
| info9s3  = {{{amount9|}}}
 
| info9s3  = {{{amount9|}}}
 
}}<!-- Resource Categories -->[[Category:Ressources]]{{if|test={{{eaten|}}}|then=[[Category:Aliments nourissants]]|else=}}{{if|test={{{heals|}}}|then=[[Category:Aliments thérapeutiques|{{{heals}}}]]|else=}}{{if|test={{{gathered|}}}|then=[[Category:Ressources naturelles]]|else=}}</includeonly><!-- Template Categories --><noinclude>{{Doc}}[[Category:Modèles|{{PAGENAME}}]]</noinclude>
 
}}<!-- Resource Categories -->[[Category:Ressources]]{{if|test={{{eaten|}}}|then=[[Category:Aliments nourissants]]|else=}}{{if|test={{{heals|}}}|then=[[Category:Aliments thérapeutiques|{{{heals}}}]]|else=}}{{if|test={{{gathered|}}}|then=[[Category:Ressources naturelles]]|else=}}</includeonly><!-- Template Categories --><noinclude>{{Doc}}[[Category:Modèles|{{PAGENAME}}]]</noinclude>
<!--
 
{| 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"
 
! style="background-color: #FFFF00;" colspan="2" | Ressource
 
|- class="hiddenStructure{{{gathered}}}"
 
| '''Taux de collecte''' || {{{gathered}}} grammes par jour <includeonly>[[Category:Ressources naturelles|{{{gathered}}}]]</includeonly>
 
|- class="hiddenStructure{{{tools}}}"
 
| '''Outils de collecte''' || {{{tools}}}
 
|- class="hiddenStructure{{{skill}}}"
 
| '''Atout pour la collecte''' || <includeonly>{{if|test={{if|test={{{skill}}}|then={{{skill|}}}|else=}}|then={{{skill}}}|else={{{skill|{{rewrite|Missing skill field.}}}}}}}</includeonly>
 
|- class="hiddenStructure{{{eaten}}}"
 
| '''Mangé''' || {{{eaten}}} grammes par jour <includeonly>[[Category:Aliments nourissants|{{{eaten}}}]]</includeonly>
 
|- class="hiddenStructure{{{heals}}}"
 
| '''Guérisson''' || {{{heals}}}% par 100 grammes <includeonly>[[Category:Aliments thérapeutiques|{{{heals}}}]]</includeonly>
 
|}
 
|}
 
<includeonly>[[Category:Ressources]]</includeonly>
 
-->
 

Latest revision as of 15:22, 6 November 2012

Template documentation[ view ] [ discuss ] [edit]

Template:Infobox:Ressource/doc