Modification de Modèle:InfoboxPlante

Aller à : navigation, rechercher

Attention : vous n’êtes pas connecté(e). Votre adresse IP sera visible de tout le monde si vous faites des modifications. Si vous vous connectez ou créez un compte, vos modifications seront attribuées à votre propre nom d’utilisateur(rice) et vous aurez d’autres avantages.

Cette modification va être annulée. Veuillez vérifier les différences ci-dessous, puis publier l’annulation si c’est bien ce que vous voulez faire.
Version actuelle Votre texte
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" | [[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: 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" | {{ #switch: {{{localisation|?}}} | souterraine = {{DFtext|Subterranean|0:1}} | surface = {{DFtext|Above Ground|2:1}}}}
+
! colspan="2" style="text-align: center; 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
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 33 : Ligne 33 :
 
|-
 
|-
 
! 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|?}}}
 
! 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
 
|-
 
|-
| colspan="2" style="padding: 0.25em" | {{{produits_alimentaires|<UL><LI>?</UL>}}}
+
! style="padding: 0.25em" | {{{produits_alimentaires}}}}}
 
|-
 
|-
 +
{{#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
 
|-
 
|-
| colspan="2" style="padding: 0.25em" | {{{autres_produits|* ?}}}
+
! style="padding: 0.25em" | {{{autres_produits}}}}}
 
|-
 
|-
 
|} </includeonly>
 
|} </includeonly>
Ligne 48 : Ligne 50 :
 
Usages :
 
Usages :
  
 +
Exemple 1
 
<pre><nowiki>
 
<pre><nowiki>
{{InfoboxPlante  
+
{{InfoboxPlante | nom=Plump helmet | tile=♠|couleur=#800080 | graine_couleur=#800000  
| nom=Plump helmet  
+
| graine=Plump helmet spawn | printemps=1|été=1|automne=1|hiver=1 | localisation=souterraine  
| tile=♠
+
| alignements=Tous | comestible=Oui | cuisinable=Oui | brassable=Dwarven wine}}
|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  
+
{{InfoboxPlante | nom=Plump helmet | tile=♠|couleur=#800080 | graine_couleur=#800000  
| nom=Plump helmet  
+
| graine=Plump helmet spawn | printemps=1|été=1|automne=1|hiver=1 | localisation=souterraine  
| tile=♠
+
| alignements=Tous | comestible=Oui | cuisinable=Oui | brassable=Dwarven wine}}
|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>

Toutes les contributions à Le wiki de DwarfFortress sont considérées comme publiées sous les termes de la GNU Free Documentation License 1.2 (voir Le wiki de DwarfFortress:Copyrights pour plus de détails). Si vous ne désirez pas que vos écrits soient modifiés et distribués à volonté, merci de ne pas les soumettre ici.
Vous nous promettez aussi que vous avez écrit ceci vous-même, ou que vous l’avez copié d’une source provenant du domaine public ou d’une ressource libre similaire. N’UTILISEZ PAS DE TRAVAUX SOUS DROIT D’AUTEUR SANS AUTORISATION EXPRESSE !

Pour créer, modifier ou publier cette page, veuillez répondre à la question ci-dessous (plus d’informations) :

Annuler Aide pour la modification (s’ouvre dans une nouvelle fenêtre)