Modèle:InfoboxPlante : Différence entre versions

De Le wiki de DwarfFortress
Aller à : navigation, rechercher
m
m
 
(15 révisions intermédiaires par le même utilisateur non affichées)
Ligne 5 : Ligne 5 :
 
! colspan="2" style="text-align: center; padding: 0.25em; border-radius: {{{1}}}" | {{Plante/Image |tile={{{tile|?}}} | couleur={{{couleur|?}}} | graine_couleur= {{{graine_couleur|?}}}}}
 
! colspan="2" style="text-align: center; padding: 0.25em; border-radius: {{{1}}}" | {{Plante/Image |tile={{{tile|?}}} | couleur={{{couleur|?}}} | graine_couleur= {{{graine_couleur|?}}}}}
 
|-
 
|-
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Graine
+
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | [[Graines (seeds)|Graine]]
 
|-
 
|-
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{{graine|?}}}
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{{graine|?}}}
Ligne 16 : Ligne 16 :
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Localisation
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Localisation
 
|-
 
|-
! colspan="2" style="text-align: center; padding: 0.25em" |{{#ifeq:{{{localisation|souterraine|surface}}}|souterraine|{{DFtext|Subterranean|0:1}}||surface|{{DFtext|Above Ground|2:1}}}}
+
! colspan="2" style="text-align: center; padding: 0.25em" | {{ #switch: {{{localisation|?}}} | souterraine = {{DFtext|Subterranean|0:1}} | surface = {{DFtext|Above Ground|2:1}}}}
 
|-
 
|-
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | Biomes
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | Biomes
Ligne 22 : Ligne 22 :
 
|-
 
|-
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | Alignements
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | Alignements
|style="text-align: right; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" |{{AlignCouleur|{{{alignements|?}}}}}
+
|style="text-align: right; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{AlignCouleur| {{{alignements|?}}}}}
 
|-
 
|-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Propriétés
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Propriétés
Ligne 35 : Ligne 35 :
 
| 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|}}}
 
 
! 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="padding: 0.1em 0.25em; border-radius: {{{1}}}" | {{{produits_alimentaires}}}}}
+
| colspan="2" style="padding: 0.25em" | {{{produits_alimentaires|<UL><LI>?</UL>}}}
 
|-
 
|-
{{#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="padding: 0.1em 0.25em; border-radius: {{{1}}}" | {{{autres_produits}}}}}
+
| colspan="2" style="padding: 0.25em" | {{{autres_produits|* ?}}}
 
|-
 
|-
 
|} </includeonly>
 
|} </includeonly>
Ligne 51 : Ligne 49 :
  
 
<pre><nowiki>
 
<pre><nowiki>
{{InfoboxPlante | nom=Plump helmet | tile=♠|couleur=#800080 | graine_couleur=#800000  
+
{{InfoboxPlante  
| graine=Plump helmet spawn | printemps=1|été=1|automne=1|hiver=1 | localisation=souterraine  
+
| nom=Plump helmet  
| alignements=Tous | comestible=Oui | cuisinable=Oui | brassable=Dwarven wine}}
+
| 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  
 +
| produits_alimentaires=
 +
Yaourt <br />
 +
Dwarven wheat flour <br />
 +
Muesli
 +
| autres_produits=
 +
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
{{InfoboxPlante | nom=Plump helmet | tile=♠|couleur=#800080 | graine_couleur=#800000  
+
{{InfoboxPlante  
| graine=Plump helmet spawn | printemps=1|été=1|automne=1|hiver=1 | localisation=souterraine  
+
| nom=Plump helmet  
| alignements=Tous | comestible=Oui | cuisinable=Oui | brassable=Dwarven wine}}
+
| 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  
 +
| produits_alimentaires=Yaourt<br />Dwarven wheat flour<br />Muesli
 +
| autres_produits=
 +
}}
  
  
 
[[Catégorie:Templates]]
 
[[Catégorie:Templates]]
 
</noinclude>
 
</noinclude>

Version actuelle datée du 25 février 2014 à 15:54


Usages :

{{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 
| produits_alimentaires=
Yaourt <br />
Dwarven wheat flour <br />
Muesli
| autres_produits= 
}}


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
Yaourt
Dwarven wheat flour
Muesli
Autres produits