Modèle:InfoboxPlante : Différence entre versions

De Le wiki de DwarfFortress
Aller à : navigation, rechercher
(Page créée avec « <includeonly> {|class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 1em 6px; border-spacing: 0; width: 200px;" |+ style="font-weight: bold" |{{{nom|?}... »)
 
m
 
(52 révisions intermédiaires par le même utilisateur non affichées)
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="border-spacing: 0; padding: 0.2em; border: 1px solid white; margin: 0.5em auto"
+
! 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="padding: 0.25em" | {{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" | [[Graines (seeds)|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: right; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{Raw Tile|·| {{{graine_couleur|?}}}}}
 
|-
 
|-
| -! style="text-align: left; white-space: nowrap; font-weight: normal; 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" | [[Calendrier (calendar)|Saisons]]
| style="text-align: right; 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" | Saisons
+
! colspan="2" style="text-align: center; padding: 0.25em; border-radius: {{{1}}}" | {{Saisons2|{{{printemps|}}}|{{{été|}}}|{{{automne|}}}|{{{hiver|}}}}}
 
|-
 
|-
| colspan="2" style="padding: 0.25em" | {{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
|-  
+
|-
|}</includeonly>
+
! 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: 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: 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
 +
|-
 +
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Nourriture (food)|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: 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: right; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{{brassable|?}}}
 +
|-
 +
! 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="padding: 0.25em" | {{{produits_alimentaires|<UL><LI>?</UL>}}}
 +
|-
 +
! 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="padding: 0.25em" | {{{autres_produits|* ?}}}
 +
|-
 +
|} </includeonly>
  
 
<noinclude>
 
<noinclude>
{{InfoboxPlante|nom=Plump helmet|tile=♠|couleur=#800080|graine_couleur=#800000|graine=Plump helmet spawn|printemps=1|été=1|automne=1|hiver=1}}
+
Usages :
 +
 
 +
<pre><nowiki>
 +
{{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=
 +
}}
 +
</nowiki></pre>
 +
 
 +
{{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=
 +
}}
 +
 
  
 +
[[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