Modèle:InfoboxPlante : Différence entre versions

De Le wiki de DwarfFortress
Aller à : navigation, rechercher
m
m
Ligne 34 : Ligne 34 :
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Distillerie (still)|Distillable/Brassable]]
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Distillerie (still)|Distillable/Brassable]]
 
|style="text-align: right; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{{brassable|?}}}
 
|style="text-align: right; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{{brassable|?}}}
{{#if:{{{produits_alimentaires}}}
 
 
|-
 
|-
 +
{{#if:{{{produits_alimentaires|?}}}
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Produits alimentaires
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Produits alimentaires
 
|-
 
|-
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{{produits_alimentaires|?}}}}}
+
! style="padding: 0.25em" | {{{produits_alimentaires}}}}}
{{#if:{{{autres_produits}}}
 
 
|-
 
|-
 +
{{#if:{{{autres_produits|?}}}
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Autres produits
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Autres produits
 
|-
 
|-
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{{autres_produits|?}}}}}
+
! style="padding: 0.25em" | {{{autres_produits}}}}}
 
|-
 
|-
 
|} </includeonly>
 
|} </includeonly>
  
 
<noinclude>
 
<noinclude>
Usage :
+
Usages :
 +
 
 +
Exemple 1
 
<pre><nowiki>
 
<pre><nowiki>
 
{{InfoboxPlante | nom=Plump helmet | tile=♠|couleur=#800080 | graine_couleur=#800000  
 
{{InfoboxPlante | nom=Plump helmet | tile=♠|couleur=#800080 | graine_couleur=#800000  
 
| graine=Plump helmet spawn | printemps=1|été=1|automne=1|hiver=1 | localisation=souterraine  
 
| graine=Plump helmet spawn | printemps=1|été=1|automne=1|hiver=1 | localisation=souterraine  
 
| alignements=Tous | comestible=Oui | cuisinable=Oui | brassable=Dwarven wine}}
 
| alignements=Tous | comestible=Oui | cuisinable=Oui | brassable=Dwarven wine}}
 
{{InfoboxPlante | nom=Sweet pod | tile=Φ | couleur=#FF0000 | graine_couleur=#00FF00
 
| graine=Sweet pod seed | printemps=1|été=1 | localisation=souterraine
 
| alignements=Tous | comestible=Non | cuisinable=Non | brassable=Dwarven rum
 
| produits_alimentaires=*Dwarven sugar *Dwarven syrup}}
 
 
</nowiki></pre>
 
</nowiki></pre>
  
Ligne 63 : Ligne 60 :
 
| graine=Plump helmet spawn | printemps=1|été=1|automne=1|hiver=1 | localisation=souterraine  
 
| graine=Plump helmet spawn | printemps=1|été=1|automne=1|hiver=1 | localisation=souterraine  
 
| alignements=Tous | comestible=Oui | cuisinable=Oui | brassable=Dwarven wine}}
 
| alignements=Tous | comestible=Oui | cuisinable=Oui | brassable=Dwarven wine}}
<br />
+
 
{{InfoboxPlante | nom=Sweet pod | tile=Φ | couleur=#FF0000 | graine_couleur=#00FF00
 
| graine=Sweet pod seed | printemps=1|été=1 | localisation=souterraine
 
| alignements=Tous | comestible=Non | cuisinable=Non | brassable=Dwarven rum
 
| produits_alimentaires=*Dwarven sugar *Dwarven syrup}}
 
  
 
[[Catégorie:Templates]]
 
[[Catégorie:Templates]]
 
</noinclude>
 
</noinclude>

Version du 23 février 2014 à 15:37


Usages :

Exemple 1

{{InfoboxPlante | nom=Plump helmet | tile=♠|couleur=#800080 | graine_couleur=#800000 
| graine=Plump helmet spawn | printemps=1|été=1|automne=1|hiver=1 | localisation=souterraine 
| alignements=Tous | comestible=Oui | cuisinable=Oui | brassable=Dwarven wine}}


Plump helmet
· ·
· ·
·
. .
Graine
Plump helmet spawn ·
Saisons
Printemps Été Automne Hiver
Localisation
Subterranean
Biomes --
Alignements Tous


Propriétés
Comestible Oui
Cuisinable Oui
Distillable/Brassable Dwarven wine
Produits alimentaires
  • ?
Autres produits
* ?