« Modèle:CreatureInfo » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
mAucun résumé des modifications |
||
(11 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
{| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 17em" | <includeonly>{| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 17em" | ||
|+ style="font-weight: bold" |{{{ | |+ style="font-weight: bold" |{{{nom}}} | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
{| style="border-spacing: 0; background: black; padding: 0.2em; border: 1px solid white; margin: 0.5em auto" | {| style="border-spacing: 0; background: black; padding: 0.2em; border: 1px solid white; margin: 0.5em auto" | ||
|- | |- | ||
! colspan="2" style="font-size: 200%; background: #000; padding: 0.1em 0.25em;color:{{{ | ! colspan="2" style="font-size: 200%; background: #000; padding: 0.1em 0.25em;color:{{{couleur}}};" | {{{symbole}}} | ||
|} | |} | ||
|- | |- | ||
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | | ! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Biome | ||
|- | |- | ||
| colspan="2" style="padding: 0.25em" | | | colspan="2" style="padding: 0.25em" | | ||
{{{biome|?}}} | {{{biome|?}}} | ||
|- | |- | ||
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | {{#ifeq:{{{ | ! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | {{#ifeq:{{{apprivoisable|non}}}|non|Ne peut être apprivoisé|Caractéristiques apprivoisé}} | ||
|- | |- | ||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{apprivoisable|non}}}|non||Prix de vente}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{apprivoisable|non}}}|non||{{{valeur|?}}}}} | |||
|- | |- | ||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | | ! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{apprivoisable|non}}}|non||{{#ifeq:{{{dressable|non}}}|non|Ne peut être dressé|Peut être dressé}}}} | ||
| | |||
|- | |- | ||
! style=" | ! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Taille en cm<sup>3</sup> | ||
|- | |- | ||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Meat]] | | colspan="2" style="padding: 0.25em" | | ||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{ | '''Taille du corps enfant'''<br>{{{enfant|N/A}}} cm<sup>3</sup> | ||
|- | |||
| colspan="2" style="padding: 0.25em" | | |||
'''Taille du corps adolescent'''<br>{{{adolescent|N/A}}} cm<sup>3</sup> | |||
|- | |||
| colspan="2" style="padding: 0.25em" | | |||
'''Taille du corps adulte'''<br>{{{adulte|N/A}}} cm<sup>3</sup> | |||
|- | |||
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | {{#ifeq:{{{abattage|oui}}}|non|Items sur cadavre|Gain à l'abattage (en nbr)}} | |||
|- | |||
| colspan="2" style="padding: 0.25em" |'''Nourriture''' | |||
|- | |||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{viande|N/A}}}|N/A||[[Meat|Pièces de viande]] (meat)}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{viande|N/A}}}|N/A||{{{viande}}}}} | |||
|- | |||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{graisse|N/A}}}|N/A||Graisses (fat)}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{graisse|N/A}}}|N/A||{{{graisse}}}}} | |||
|- | |||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{cerveau|N/A}}}|N/A||Cerveaux (brain)}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{cerveau|N/A}}}|N/A||{{{cerveau}}}}} | |||
|- | |||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{coeur|N/A}}}|N/A||Coeurs (heart)}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{coeur|N/A}}}|N/A||{{{coeur}}}}} | |||
|- | |||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{poumon|N/A}}}|N/A||Poumons (lung)}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{poumon|N/A}}}|N/A||{{{poumon}}}}} | |||
|- | |||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{intestin|N/A}}}|N/A||Intestins (intestine)}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{intestin|N/A}}}|N/A||{{{intestin}}}}} | |||
|- | |||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{foie|N/A}}}|N/A||Foies (liver)}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{foie|N/A}}}|N/A||{{{foie}}}}} | |||
|- | |||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{rein|N/A}}}|N/A||Reins (kidney)}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{rein|N/A}}}|N/A||{{{rein}}}}} | |||
|- | |||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{tripe|N/A}}}|N/A||Tripes}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{tripe|N/A}}}|N/A||{{{tripe}}}}} | |||
|- | |||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{ris|N/A}}}|N/A||Ris de veau (sweetbread)}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{ris|N/A}}}|N/A||{{{ris}}}}} | |||
|- | |||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{oeil|N/A}}}|N/A||Yeux (eye)}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{oeil|N/A}}}|N/A||{{{oeil}}}}} | |||
|- | |||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{rate|N/A}}}|N/A||Rates (spleen)}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{rate|N/A}}}|N/A||{{{rate}}}}} | |||
|- | |||
| colspan="2" style="padding: 0.25em" |'''Matériaux''' | |||
|- | |||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{os|N/A}}}|N/A||[[Bone|Os]] (bone)}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{os|N/A}}}|N/A||{{{os|N/A}}}}} | |||
|- | |||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{crane|N/A}}}|N/A||[[Skull|Crânes]] (skull)}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{crane|N/A}}}|N/A||{{{crane|N/A}}}}} | |||
|- | |||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{ivoire|N/A}}}|N/A||Ivoires (ivory)}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{ivoire|N/A}}}|N/A||{{{ivoire|N/A}}}}} | |||
|- | |||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{dent|N/A}}}|N/A||Dents (tooth)}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{dent|N/A}}}|N/A||{{{dent|N/A}}}}} | |||
|- | |- | ||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | | ! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{sabot|N/A}}}|N/A||Sabots (hoof)}} | ||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{sabot|N/A}}}|N/A||{{{sabot|N/A}}}}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{ | |||
|- | |- | ||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | | ! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{corne|N/A}}}|N/A||Cornes (horn)}} | ||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{corne|N/A}}}|N/A||{{{corne|N/A}}}}} | |||
| style="text-align: right; padding: 0.1em 0.25em" | {{{ | |||
|- | |- | ||
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | | ! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{coquille|N/A}}}|N/A||Coquilles (shell)}} | ||
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{ | | style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{coquille|N/A}}}|N/A||{{{coquille|N/A}}}}} | ||
|- | |- | ||
| colspan="2" style="border-top: 1px solid #aaa; border-bottom: 0px solid #aaa; background: #eee; font-size:90%; text-align:center;" | {{#ifeq: {{{wiki}}}|no||[http://fr.wikipedia.org/wiki/{{anchorencode:{{{ | ! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{#ifeq:{{{peau|N/A}}}|N/A||Peaux (skin)}} | ||
|}< | | style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{peau|N/A}}}|N/A||{{{peau|N/A}}}}} | ||
< | |- | ||
| colspan="2" style="border-top: 1px solid #aaa; border-bottom: 0px solid #aaa; background: #eee; font-size:90%; text-align:center;" | {{#ifeq: {{{wiki}}}|no||[http://fr.wikipedia.org/wiki/{{anchorencode:{{{nom}}}}} Article Wikipedia]}} | |||
|}</includeonly> | |||
<noinclude> | |||
== Exemple == | |||
<pre><nowiki> | |||
{{CreatureInfo | |||
|nom=Éléphant | |||
<!--Le symbole est un symbole ascii.Pour la couleur, il faut soit son rgb sous la forme rgb(255,255,255) sachant que les chiffres vont de 0 à 255, soit son code hexa à 6 chiffres. Le code RGB peut être obtenu via Paint, avec l'outil pipette--> | |||
|symbole=E | |||
|couleur=rgb(192, 192, 192) | |||
|biome= | |||
* Toute forêt tropicale (tropical forest) | |||
* Brousse tropicale (Tropical shrubland) | |||
|apprivoisable=oui <!--Par défaut, valeur fixée sur 'non' (pas besoin d'ajouter ce paramètre si l'animal n'est pas apprivoisable)--> | |||
|valeur=500 | |||
|dressable=oui <!--Par défaut, valeur fixée sur 'non' (pas besoin d'ajouter ce paramètre si l'animal ne peut être dressé)--> | |||
|enfant=500,000 | |||
|adolescent=2,500,000 | |||
|adulte=5,000,000 | |||
|viande=36-190 | |||
|graisse=13-58 | |||
|cerveau=4-6 | |||
|poumon=8-12 | |||
|intestin=14-19 | |||
|foie=4-6 | |||
|rein=4-6 | |||
|tripe=4-6 | |||
|ris=2-3 | |||
|rate=2-3 | |||
|os=49-67 | |||
|crane=1 | |||
|ivoire=3 | |||
|peau=cuir brut <!--Indiquer le type de peau--> | |||
}}</nowiki></pre> | |||
Note: Ne pas inclure les paramêtres n'existant pas ! ex: si un animal ne donne pas de sabots lors de sa mort ou de son abattage, ne pas mettre le paramètre <pre> |sabot=0 </pre> | |||
'''Autres paramètres non inclus dans l'exemple:''' | |||
<pre><nowiki> | <pre><nowiki> | ||
|abattage=non <!--Par défaut, valeur fixée sur 'oui' (pas besoin d'ajouter ce paramètre si l'animal peut être abattu)--></nowiki> | |||
|coeur= | |||
|oeil= | |||
|dent= | |||
|sabot= | |||
|corne= | |||
|coquille=</pre> | |||
{{CreatureInfo| | {{CreatureInfo | ||
|nom=Éléphant | |||
<!--Le symbole est un symbole ascii.Pour la couleur, il faut soit son rgb sous la forme rgb(255,255,255) sachant que les chiffres vont de 0 à 255, soit son code hexa à 6 chiffres. Le code RGB peut être obtenu via Paint, avec l'outil pipette--> | |||
|symbole=E | |||
|couleur=rgb(192, 192, 192) | |||
|biome= | |biome= | ||
* | * Toute forêt tropicale (tropical forest) | ||
* Tropical shrubland | * Brousse tropicale (Tropical shrubland) | ||
|apprivoisable=oui <!--Par défaut, valeur fixée sur 'non' (pas besoin d'ajouter ce paramètre si l'animal n'est pas apprivoisable)--> | |||
|valeur=500 | |||
|dressable=oui <!--Par défaut, valeur fixée sur 'non' (pas besoin d'ajouter ce paramètre si l'animal ne peut être dressé)--> | |||
|enfant=500,000 | |||
|adolescent=2,500,000 | |||
|adulte=5,000,000 | |||
|viande=36-190 | |||
|graisse=13-58 | |||
|cerveau=4-6 | |||
|poumon=8-12 | |||
|intestin=14-19 | |||
|foie=4-6 | |||
|rein=4-6 | |||
|tripe=4-6 | |||
|ris=2-3 | |||
|rate=2-3 | |||
|os=49-67 | |||
|crane=1 | |||
|ivoire=3 | |||
|peau=cuir brut | |||
}} | }} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Dernière version du 22 février 2013 à 15:00
Exemple
{{CreatureInfo |nom=Éléphant <!--Le symbole est un symbole ascii.Pour la couleur, il faut soit son rgb sous la forme rgb(255,255,255) sachant que les chiffres vont de 0 à 255, soit son code hexa à 6 chiffres. Le code RGB peut être obtenu via Paint, avec l'outil pipette--> |symbole=E |couleur=rgb(192, 192, 192) |biome= * Toute forêt tropicale (tropical forest) * Brousse tropicale (Tropical shrubland) |apprivoisable=oui <!--Par défaut, valeur fixée sur 'non' (pas besoin d'ajouter ce paramètre si l'animal n'est pas apprivoisable)--> |valeur=500 |dressable=oui <!--Par défaut, valeur fixée sur 'non' (pas besoin d'ajouter ce paramètre si l'animal ne peut être dressé)--> |enfant=500,000 |adolescent=2,500,000 |adulte=5,000,000 |viande=36-190 |graisse=13-58 |cerveau=4-6 |poumon=8-12 |intestin=14-19 |foie=4-6 |rein=4-6 |tripe=4-6 |ris=2-3 |rate=2-3 |os=49-67 |crane=1 |ivoire=3 |peau=cuir brut <!--Indiquer le type de peau--> }}
Note: Ne pas inclure les paramêtres n'existant pas ! ex: si un animal ne donne pas de sabots lors de sa mort ou de son abattage, ne pas mettre le paramètre
|sabot=0
Autres paramètres non inclus dans l'exemple:
|abattage=non <!--Par défaut, valeur fixée sur 'oui' (pas besoin d'ajouter ce paramètre si l'animal peut être abattu)--> |coeur= |oeil= |dent= |sabot= |corne= |coquille=
| |||
Biome | |||
---|---|---|---|
| |||
Caractéristiques apprivoisé | |||
Prix de vente | 500 | ||
Peut être dressé | |||
Taille en cm3 | |||
Taille du corps enfant | |||
Taille du corps adolescent | |||
Taille du corps adulte | |||
Gain à l'abattage (en nbr) | |||
Nourriture | |||
Pièces de viande (meat) | 36-190 | ||
Graisses (fat) | 13-58 | ||
Cerveaux (brain) | 4-6 | ||
Poumons (lung) | 8-12 | ||
Intestins (intestine) | 14-19 | ||
Foies (liver) | 4-6 | ||
Reins (kidney) | 4-6 | ||
Tripes | 4-6 | ||
Ris de veau (sweetbread) | 2-3 | ||
Rates (spleen) | 2-3 | ||
Matériaux | |||
Os (bone) | 49-67 | ||
Crânes (skull) | 1 | ||
Ivoires (ivory) | 3 | ||
Peaux (skin) | cuir brut | ||
Article Wikipedia |