« Modèle:Duel » : différence entre les versions
Aller à la navigation
mAucun résumé des modifications |
mAucun résumé des modifications |
||
(Une version intermédiaire par le même utilisateur non affichée) | |||
Ligne 1 : | Ligne 1 : | ||
<includeonly><div style="position:relative; width:100px; text-align:center;">[[Fichier:Fond Duel.png|100px|link=]] | <includeonly><div style="position:relative; width:100px; text-align:center;">[[Fichier:Fond Duel.png|100px|link=]] | ||
<div style="position:absolute; right:11px; top:24px; text-align:center;">[[Fichier:Duel-vs.gif|30px|link=]]</div> | <div style="position:absolute; right:11px; top:24px; text-align:center;">[[Fichier:Duel-vs.gif|30px|link=]]</div> | ||
<div style="position:absolute; left: | <div style="position:absolute; left:7px; top:28px; color:black; font-size:9px; font-weight:bold; line-height:10px; text-align:center;">{{#ifeq: {{{KO}}} |OUI |<big>'''{{#ifeq: {{#switch: {{{1}}} | ||
| GAGNE | | GAGNE | ||
| Gagne | | Gagne | ||
Ligne 24 : | Ligne 24 : | ||
| #default = PERDU}} |GAGNE |[[Fichier:Pouce_Levé.png|25px|link=]] |[[Fichier:Pouce_Baissé.png|25px|link=]]}}</div> | | #default = PERDU}} |GAGNE |[[Fichier:Pouce_Levé.png|25px|link=]] |[[Fichier:Pouce_Baissé.png|25px|link=]]}}</div> | ||
<div style="position:absolute; left:8px; bottom:28px; text-align:center;">[[Fichier:{{{3|{{{2}}} PNJ}}}.png|40px|link=]]</div> | <div style="position:absolute; left:8px; bottom:28px; text-align:center;">[[Fichier:{{{3|{{{2}}} PNJ}}}.png|40px|link=]]</div> | ||
<div style="position:absolute; left:5px; bottom:4px; color:black; font-size:8px; font-weight:bold; line-height:10px; text-align:center;"><big>''{{{2}}}''</big></div></div><div style="clear:both"></div></includeonly><noinclude> | <div style="position:absolute; left:5px; bottom:4px; width:90px; color:black; font-size:8px; font-weight:bold; line-height:10px; text-align:center;"><big>''{{{2}}}''</big></div></div><div style="clear:both"></div></includeonly><noinclude> | ||
== Utilisation == | == Utilisation == | ||
<code><nowiki> | <code><nowiki> |
Dernière version du 28 janvier 2015 à 09:28
Utilisation
{{Duel | GAGNE ou PERDU| [Nom PNJ] |[Image PNJ] (sans .png) |KO=[OUI/NON] (NON par défaut)}}
où [Nom PNJ] sur 2 lignes max, chaque ligne avec 14 caractères max
Exemple:
{{Duel | Gagné |12345678901234 12345678901234|Bandit en fuite PNJ}}
GAGNE
vs
12345678901234 12345678901234
{{Duel | GAGNE |Les mercenaires|Bandit en fuite PNJ|KO=OUI}}
KO
infligé
Les mercenaires
{{Duel | PERDU |Bandit en fuite|KO=OUI}}
KO
subi
Bandit en fuite
{{Duel | PERDU |Bandit en fuite|KO=NON}}
PERDS
vs
Bandit en fuite