Différences entre les versions de « Modèle:Infobox Compétence »

145 octets ajoutés ,  23 août 2007 à 15:05
m
aucun résumé de modification
m (A protégé « Modèle:Infobox Compétence » [edit=sysop:move=sysop])
m
Ligne 2 : Ligne 2 :
{| class="infobox {{{profession}}}" style="margin: 0 0 0.5em 1em; border: 1px solid silver; float: right; font-size: 90%; text-align: left; width: 340px;" cellpadding="5"
{| class="infobox {{{profession}}}" style="margin: 0 0 0.5em 1em; border: 1px solid silver; float: right; font-size: 90%; text-align: left; width: 340px;" cellpadding="5"
! colspan="2" class="infobox-color-{{{profession|defaut}}}" style="font-size: 110%; text-align: center;" |  
! colspan="2" class="infobox-color-{{{profession|defaut}}}" style="font-size: 110%; text-align: center;" |  
<div style="position: relative">[[{{{nom|{{PAGENAME}}}}}]]
<div style="position: relative">[[{{{nom_infobox|{{PAGENAME}}}}}]]
<div style="position: absolute; left: 2px; top: 2px">[[Image:Icone_{{PAGENAME}}.jpg|{{{nom|{{PAGENAME}}}}}]]</div>
<div style="position: absolute; left: 2px; top: 2px">[[Image:Icone_{{PAGENAME}}.jpg|{{{nom_infobox|{{PAGENAME}}}}}]]</div>
</div>
</div>
|-
|-
Ligne 12 : Ligne 12 :
             {{#if:{{{energie|}}}|
             {{#if:{{{energie|}}}|
             <table style="background: transparent;" width="50">
             <table style="background: transparent;" width="50">
               <td width="20">[[Image:Energie.png]]</td>
               <td width="20">[[Image:Energie.png|Energie]]</td>
               <td>'''{{{energie}}}'''</td>
               <td>'''{{{energie}}}'''</td>
             </table>
             </table>
Ligne 20 : Ligne 20 :
             {{#if:{{{adrenaline|}}}|
             {{#if:{{{adrenaline|}}}|
             <table style="background: transparent;" width="50">
             <table style="background: transparent;" width="50">
               <td width="20">[[Image:Adrénaline.png]]</td>
               <td width="20">[[Image:Adrénaline.png|Adrénaline]]</td>
               <td>'''{{{adrenaline}}}'''</td>
               <td>'''{{{adrenaline}}}'''</td>
             </table>
             </table>
Ligne 28 : Ligne 28 :
             {{#if:{{{activation|}}}|
             {{#if:{{{activation|}}}|
             <table style="background: transparent;" width="50">
             <table style="background: transparent;" width="50">
               <td width="20">[[Image:Activation.png]]</td>
               <td width="20">[[Image:Activation.png|Activation]]</td>
               <td>'''{{{activation}}}'''</td>
               <td>'''{{{activation}}}'''</td>
             </table>
             </table>
Ligne 36 : Ligne 36 :
             {{#if:{{{rechargement|}}}|
             {{#if:{{{rechargement|}}}|
             <table style="background: transparent;" width="50">
             <table style="background: transparent;" width="50">
               <td width="20">[[Image:Rechargement.png]]</td>
               <td width="20">[[Image:Rechargement.png|Rechargement]]</td>
               <td>'''{{{rechargement}}}'''</td>
               <td>'''{{{rechargement}}}'''</td>
             </table>
             </table>
Ligne 44 : Ligne 44 :
             {{#if:{{{maintien|}}}|
             {{#if:{{{maintien|}}}|
             <table style="background: transparent;" width="50">
             <table style="background: transparent;" width="50">
               <td width="20">[[Image:Maintien.png]]</td>
               <td width="20">[[Image:Maintien.png|Maintien]]</td>
               <td>'''{{{maintien}}}'''</td>
               <td>'''{{{maintien}}}'''</td>
             </table>
             </table>
Ligne 52 : Ligne 52 :
             {{#if:{{{epuisement|}}}|
             {{#if:{{{epuisement|}}}|
             <table style="background: transparent;" width="50">
             <table style="background: transparent;" width="50">
               <td width="20">[[Image:Epuisement.png]]</td>
               <td width="20">[[Image:Epuisement.png|Epuisement]]</td>
               <td>'''{{{epuisement}}}'''</td>
               <td>'''{{{epuisement}}}'''</td>
             </table>
             </table>
Ligne 83 : Ligne 83 :
{{Infobox Compétence
{{Infobox Compétence
| nom            =  
| nom            =  
| nom_infobox    =
| id              =  
| id              =  
| profession      =  
| profession      =  
Ligne 103 : Ligne 104 :


== Paramètres ==
== Paramètres ==
; nom : Optionnel. Ne l'utiliser que dans le cas d'une homonymie ''(voir [[Empoigne de Grenth (Compétence)|Empoigne de Grenth]] pour l'utilisation).''
; nom : Le titre exacte de la page.
; nom_infobox : Optionnel. Ne l'utiliser que dans le cas d'une homonymie ''(voir [[Empoigne de Grenth (Compétence)|Empoigne de Grenth]] pour l'utilisation).''
; id : L'ID ou code modèle de la compétence ''(ex : 1374).''
; id : L'ID ou code modèle de la compétence ''(ex : 1374).''
; profession : La profession liée à la compétence ''(ex : Moine, Elémentaliste).''
; profession : La profession liée à la compétence ''(ex : Moine, Elémentaliste).''