Version actuelle |
Votre texte |
Ligne 2 : |
Ligne 2 : |
|
| |
|
| |- | | |- |
| | valign="top" style="background: #{{#switch:{{{1|}}}|Assassin=ffccee|Derviche=ddddff|Elémentaliste=ffbbbb|Envoûteur=ddaaff|Guerrier=ffff88|Moine=aaccff|Nécromant=99ffcc|Parangon=ffcc99|Ritualiste=bbffff|Rôdeur=ccff99|#default=AAAAAA}}; text-align: center; border: 1px solid #{{#switch:{{{1|}}}|Assassin=aa0088|Derviche=7777cc|Elémentaliste=bb3333|Envoûteur=8800aa|Guerrier=eeaa33|Moine=4444bb|Nécromant=00aa55|Parangon=996600|Ritualiste=00aaaa|Rôdeur=55aa00|#default=AAAAAA}}; padding: .5em 1em; margin: 1em;"| | | | valign="top" style="background: #FFBBFF; text-align: center; border: 1px solid #EE00EE; padding: .5em 1em; margin: 0.5em;"| |
| <big>'''[[Fichier:{{{1}}}-icone.png]] [[{{{1}}}]]'''</big> | | <big>'''[[Image:{{{profession}}}-icone.png]] [[Assassin]]'''</big> |
|
| |
|
| |- | | |- |
|
| |
|
| | valign="top" {{#if: {{{height|}}}|height="{{{height}}}"}} style="background: #{{#switch:{{{1|}}}|Assassin=ffccee|Derviche=ddddff|Elémentaliste=ffbbbb|Envoûteur=ddaaff|Guerrier=ffff88|Moine=aaccff|Nécromant=99ffcc|Parangon=ffcc99|Ritualiste=bbffff|Rôdeur=ccff99|#default=AAAAAA}}; border: 1px solid #{{#switch:{{{1|}}}|Assassin=aa0088|Derviche=7777cc|Elémentaliste=bb3333|Envoûteur=8800aa|Guerrier=eeaa33|Moine=4444bb|Nécromant=00aa55|Parangon=996600|Ritualiste=00aaaa|Rôdeur=55aa00|#default=AAAAAA}}; padding: .5em 1em; margin: 1em;"|</includeonly><noinclude>__NOTOC____NOEDITSECTION__ | | | valign="top" style="background: #FFBBFF; border: 1px solid #EE00EE; padding: .5em 1em; margin: 1em;"|</includeonly> |
| == Description ==
| | [[Catégorie:Modèles]] |
| Ce modèle permet de créer facilement un cadre coloré en fonction de la profession mise en paramètre. Il s'utilise conjointement avec le modèle {{lien modèle|fin cadre}}.
| |
| | |
| == Syntaxe ==
| |
| <pre>
| |
| {{debut cadre|height=...px|profession}}
| |
| ...
| |
| {{fin cadre}}
| |
| </pre>
| |
| | |
| == Exemple ==
| |
| <pre>
| |
| {{debut cadre|Moine}}
| |
| ... du texte ...
| |
| {{fin cadre}}
| |
| </pre>
| |
| | |
| <pre>
| |
| {{debut cadre|height=300px|Guerrier}}
| |
| ... du texte ...
| |
| {{fin cadre}}
| |
| </pre>
| |
| | |
| [[Catégorie:Modèle]] | |
| </noinclude>
| |