Modèle:InfoboxPlante : Différence entre versions

De Le wiki de DwarfFortress
Aller à : navigation, rechercher
m
m
Ligne 1 : Ligne 1 :
 
<includeonly>
 
<includeonly>
{|class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 1em 6px; border-spacing: 0; width: 200px;"
+
{|class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 1em 6px; border-spacing: 0; width: 200px; border-radius: {{{1}}};"
 
|+ style="font-weight: bold" |{{{nom|?}}}
 
|+ style="font-weight: bold" |{{{nom|?}}}
 
|-
 
|-
!colspan="2"style="padding: 0.25em; {{{style|}}}" | {{Plante/Image |tile={{{tile|?}}} | couleur={{{couleur|?}}} | graine_couleur= {{{graine_couleur|?}}}}}
+
! colspan="2" style="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" | 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|?}}}
|style="text-align: right; padding: 0.1em 0.25em" | {{Raw Tile|·| {{{graine_couleur|?}}}}}
+
|style="text-align: right; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{Raw Tile|·| {{{graine_couleur|?}}}}}
 
|-
 
|-
!colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | [[Calendrier (calendar)|Saisons]]
+
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | [[Calendrier (calendar)|Saisons]]
 
|-
 
|-
!colspan="2"style="padding: 0.25em;{{{style|}}}" | {{Saisons2|{{{printemps|}}}|{{{été|}}}|{{{automne|}}}|{{{hiver|}}}}}
+
! colspan="2" style="padding: 0.25em; border-radius: {{{1}}}" | {{Saisons2|{{{printemps|}}}|{{{été|}}}|{{{automne|}}}|{{{hiver|}}}}}
 
|-
 
|-
!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
 
|-
 
|-
 
|style="padding: 0.25em" |{{#ifeq:{{{localisation|souterraine|surface}}}|souterraine|{{DFtext|Subterranean|0:1}}||surface|{{DFtext|Above Ground|2:1}}}}
 
|style="padding: 0.25em" |{{#ifeq:{{{localisation|souterraine|surface}}}|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
|style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{biomes|non}}}|non|--|{{{biomes|?}}}}}
+
|style="text-align: right; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{biomes|non}}}|non|--|{{{biomes|?}}}}}
 
|-
 
|-
!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; 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
 
|-
 
|-
!style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Nourriture (food)|Comestible]]
+
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Nourriture (food)|Comestible]]
|style="text-align: right; padding: 0.1em 0.25em" | {{{comestible|?}}}
+
|style="text-align: right; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{{comestible|?}}}
 
|-
 
|-
!style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Cuisine (kitchen)|Cuisinable]]
+
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Cuisine (kitchen)|Cuisinable]]
|style="text-align: right; padding: 0.1em 0.25em" | {{{cuisinable|?}}}
+
|style="text-align: right; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{{cuisinable|?}}}
 
|-
 
|-
!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; padding: 0.1em 0.25em" | {{{brassable|?}}}
+
|style="text-align: right; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{{brassable|?}}}
 
|-
 
|-
 
|}</includeonly>
 
|}</includeonly>

Version du 23 février 2014 à 03:08


Usage :

{{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=Mauvais|comestible=Oui|cuisinable=Non|brassable=Dwarven beer}}


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


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