Aller au contenu

« Modèle:InfoboxRisimonCréature » : différence entre les versions

en cours
(en cours)
(en cours)
Ligne 9 : Ligne 9 :
<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em"> <center>{{{Type1}}} {{{Type2}}}</center></td></tr>
<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em"> <center>{{{Type1}}} {{{Type2}}}</center></td></tr>
<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">'''Talents :''' {{{Talent1}}}{{#if:{{{Talent2|}}}|, {{{Talent2}}}|}}{{#if:{{{Talent3|}}}|, {{{Talent3}}}|}}</td></tr>
<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">'''Talents :''' {{{Talent1}}}{{#if:{{{Talent2|}}}|, {{{Talent2}}}|}}{{#if:{{{Talent3|}}}|, {{{Talent3}}}|}}</td></tr>
<tr><td style="border:1px solid #b3ddef;border-top:0;padding:0.5em;"><div style="background:linear-gradient(90deg,#59A2E3 0 {{{PourcentMale}}},#EB7AAB {{{PourcentMale}}} {{{PourcentFemelle}}}); border-radius:5px; padding:0.3em; display:flex; justify-content:space-between;"><span><small>Mâle {{{PourcentMale}}}</small></span><span><small>{{{PourcentFemelle}}} Femelle</small></span></div></td></tr>
<tr><td style="border:1px solid #b3ddef; border-top:0; padding:0.5em; background-color:#f8fafc"><div style="background:linear-gradient(90deg,#59A2E3 0 {{{PourcentMale}}},#EB7AAB {{{PourcentMale}}} {{{PourcentFemelle}}}); border-radius:5px; padding:0.3em; display:flex; justify-content:space-between;"><span><small>Mâle {{{PourcentMale}}}</small></span><span><small>{{{PourcentFemelle}}} Femelle</small></span></div></td></tr>
 
<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;"><center>'''Statistiques'''</center><!--Faire des if en cascade pour la taille des barres et la couleur en fonction d'un attribut (stat entre 0 et 20 = longueur 10% et rouge, entre 20 et 40 = longueur 20% et orange, etc.-->
 
HP : <div style="background:#FFC569; border-radius:5px; padding:0.1em; display:flex; justify-content:left; width : 47%"><span> 47</span></div>
{{#if:{{{Départ|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">'''Date de départ :''' {{{Départ}}}</td></tr>|}}{{#if:{{{Surnom|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">'''Surnom :''' ''{{{Surnom}}}''</td></tr>|}}{{#if:{{{Pays|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">'''Pays :''' {{{Pays}}}</td></tr>|}}{{#if:{{{Age|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">'''Âge :''' {{{Age}}}</td></tr>|}}{{#if:{{{AutresContacts|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">'''Autres contacts :''' {{{AutresContacts}}}</td></tr>|}}{{#if:{{{Forums|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">'''Forums préférés :''' {{{Forums}}}</td></tr>|}}{{#if:{{{Type|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">'''Forumeur de type :''' {{{Type}}}</td></tr>|}}{{#if:{{{PointsPreRespawn|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">'''Nombre de [[Points communautaires|points pré-Respawn]] :''' {{{PointsPreRespawn}}}</td></tr>|}}{{#if:{{{Rang|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">'''Rang :''' {{{Rang}}}</td></tr>|}}{{#if:{{{NiveauJVC|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">'''[[Niveaux|Niveau JVC]] :''' {{{NiveauJVC}}}</td></tr>|}}{{#if:{{{NiveauOnche|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">'''Niveau Onche.org :''' {{{NiveauOnche}}}</td></tr>|}}{{#if:{{{Faits|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">'''Faits notables :''' {{{Faits}}}</td></tr>|}}{{#if:{{{Délire|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">'''Délire favoris :''' {{{Délire}}}</td></tr>|}}{{#if:{{{Sticker|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">'''Sticker favoris :''' {{{Sticker}}}</td></tr>|}}{{#if:{{{AutreInfo1|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">{{{AutreInfo1}}}</td></tr>|}}{{#if:{{{AutreInfo2|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">{{{AutreInfo2}}}</td></tr>|}}{{#if:{{{AutreInfo3|}}}|<tr><td style="border:1px solid #b3ddef; border-top:0; background-color:#f8fafc; padding:0.5em;">{{{AutreInfo3}}}</td></tr>|}}<!--Fausse ombre ci-après, pas le choix car une vraie ombre (box-shadow) défonce le modèle sur mobile-->
Force : <div style="background:#D7EB8F; border-radius:5px; padding:0.1em; display:flex; justify-content:left; width : 65%"><span> 65</span></div>
Défense : <div style="background:#EBE08F; border-radius:5px; padding:0.1em; display:flex; justify-content:left; width : 58%"><span> 58</span></div>
Arcane : <div style="background:#FF6969; border-radius:5px; padding:0.1em; display:flex; justify-content:left; width : 27%"><span> 27</span></div>
Volonté : <div style="background:#FFC569; border-radius:5px; padding:0.1em; display:flex; justify-content:left; width : 49%"><span> 49</span></div>
Vitesse : <div style="background:#D7EB8F; border-radius:5px; padding:0.1em; display:flex; justify-content:left; width : 64%"><span> 64</span></div>
Fatigue : <div style="background:#75FF99; border-radius:5px; padding:0.1em; display:flex; justify-content:left; width : 100%"><span> 100</span></div>
</td></tr><br>
<!--Fausse ombre ci-après, pas le choix car une vraie ombre (box-shadow) défonce le modèle sur mobile-->
<tr><td style="height:8px; background-color:#d9edf6; border:0; padding:0;"></td></tr>
<tr><td style="height:8px; background-color:#d9edf6; border:0; padding:0;"></td></tr>
</table>
</table>
[[Catégorie:Forumeur]]
<noinclude>
<noinclude>
== Utilisation ==
== Utilisation ==
14 633

modifications