« Modèle:InfoboxMétier » : différence entre les versions

Yoplala (discussion | contributions)
mAucun résumé des modifications
Yoplala (discussion | contributions)
mAucun résumé des modifications
Ligne 5 : Ligne 5 :
| style="width: 0.5em; background: {{fgcolor|{{{couleur|5:1}}}}}" rowspan="0"|  
| style="width: 0.5em; background: {{fgcolor|{{{couleur|5:1}}}}}" rowspan="0"|  
|-
|-
! colspan="3" style="border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | {{{métier|Métier}}}
! colspan="3" style="border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | {{{métier}}}
|-
|-
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | '''Catégorie'''
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | '''Catégorie'''
|-
|-
| style="padding: 0.1em 0.25em" | <center>{{{catégorie}}}</center>
| style="padding: 0.1em 0.25em; text-align: center" | {{{catégorie}}}
|-
|-
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | '''Métier'''
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | '''Métier'''
|-
|-
| style="padding: 0.1em 0.25em" | <center>{{{métier}}}</center>
| style="padding: 0.1em 0.25em; text-align: center" | {{{métier}}}
|-
|-
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | '''Compétence'''
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | '''Compétence'''
|-
|-
| style="padding: 0.1em 0.25em" | <center>{{{compétence}}}</center>
| style="padding: 0.1em 0.25em; text-align: center" | {{{compétence}}}
|-
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | '''Compétence(s) liée(s)'''
|-
| style="padding: 0.1em 0.25em" | <center>{{{compétence_liée}}}</center>
|-
|-
! colspan="3" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Tâches (tasks)
! colspan="3" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Tâches (tasks)
Ligne 38 : Ligne 34 :


<noinclude>
<noinclude>
Usages :
'''Utilisation'''


<pre><nowiki>
<pre><nowiki>
Ligne 45 : Ligne 41 :
| catégorie=Administrateur (administrator)
| catégorie=Administrateur (administrator)
| métier=Architecte (architect)
| métier=Architecte (architect)
| compétence=Concepteur de constructions (building designer)
| compétence=Architecture (architecture)
| compétence_liée=--
| tâches=                           => Ligne à omettre si aucune !
| tâches=  
<ul>
<ul>
   <li> Concevoir des constructions
   <li>Concevoir des bâtiments</li>
</ul>
</ul> => Ligne à omettre si aucun !
| ateliers= => ligne à omettre si aucun atelier associé !
| ateliers=                         => Ligne à omettre si aucun !                        
| attributs =
| attributs =
<ul>
<ul>
Ligne 60 : Ligne 55 :
}}
}}


Administrateurs : 5:0 => #800080
Couleur des métiers par catégorie :
Ingénieurs : 4:1 => #FF0000
- Administrateurs : 5:0 => #800080
Artisans : 1:1 => => #0000FF
- Ingénieurs : 4:1 => #FF0000
Joailliers : 2:1 => #00FF00
- Artisans : 1:1 => => #0000FF
Forgerons : 0:1 => #808080
- Joailliers : 2:1 => #00FF00
Poissonniers : 1:0 => #000080
- Forgerons : 0:1 => #808080
Fermiers : 6:0 => #808000
- Poissonniers : 1:0 => #000080
Docteurs : 5:0 => #800080
- Fermiers : 6:0 => #808000
Forestiers : 2:0 => #008000
- Docteurs : 5:0 => #800080
Travailleurs de la pierre : 7:1 => #FFFFFF
- Forestiers : 2:0 => #008000
Travailleurs du bois : 6:1 => #FFFF00
- Travailleurs de la pierre : 7:1 => #FFFFFF
Mineurs : 7:0 => #C0C0C0
- Travailleurs du bois : 6:1 => #FFFF00
- Mineurs : 7:0 => #C0C0C0


</nowiki></pre>
</nowiki></pre>
Ligne 79 : Ligne 75 :
| catégorie=Administrateur (administrator)
| catégorie=Administrateur (administrator)
| métier=Architecte (architect)
| métier=Architecte (architect)
| compétence=Concepteur de constructions (building designer)
| compétence=Architecture (architecture)
| compétence_liée=--
| tâches=
| tâches=
<ul>
<ul>
   <li> Concevoir des constructions
   <li>Concevoir des bâtiments</li>
</ul>
</ul>                              
| attributs =
| attributs =
<ul>
<ul>