« Modèle:InfoboxMétier » : différence entre les versions
mAucun résumé des modifications |
mAucun résumé des modifications |
||
(6 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<includeonly> | <includeonly> | ||
{| style="float: right;min-width: 20em;max-width: | {| style="float: right;min-width: 20em;max-width: 25em;border-collapse: collapse;border: 1px #000 solid; margin: 1%;" | ||
|- | |- | ||
| style="background: {{fgcolor|{{{couleur|5:1}}}}}; text-align: center;" | | | style="background: {{fgcolor|{{{couleur|5:1}}}}}; text-align: center;" | | ||
| style="width: 0.5em; background: {{fgcolor|{{{couleur|5:1}}}}}" rowspan="0"| | | style="width: 0.5em; background: {{fgcolor|{{{couleur|5:1}}}}}" rowspan="0"| | ||
|- | |- | ||
! | ! style="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" | | | 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" | | | 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" | | | style="padding: 0.1em 0.25em; text-align: center" | {{{compétence}}} | ||
|- | |- | ||
! style=" | ! style="background: #eee; padding: 0.1em 0.25em" | Tâches (tasks) | ||
|- | |- | ||
| {{{tâches|<div style='text-align: center; padding: 0.2em 0'>''Aucune''</div>}}} | | {{{tâches|<div style='text-align: center; padding: 0.2em 0'>''Aucune''</div>}}} | ||
|- | |- | ||
! | ! style="background: #eee; padding: 0.1em 0.25em" | [[Ateliers (workshops)]] | ||
|- | |- | ||
| {{{ateliers|<div style='text-align: center; padding: 0.2em 0'>''Aucun''</div>}}} | | {{{ateliers|<div style='text-align: center; padding: 0.2em 0'>''Aucun''</div>}}} | ||
|- | |- | ||
! | ! style="background: #eee; padding: 0.1em 0.25em" | Attributs (attributes) | ||
|- | |- | ||
| {{{attributs|<div style='text-align: center; padding: 0.2em 0'>''Aucun''</div>}}} | | {{{attributs|<div style='text-align: center; padding: 0.2em 0'>''Aucun''</div>}}} | ||
Ligne 38 : | Ligne 34 : | ||
<noinclude> | <noinclude> | ||
'''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= | | compétence=Architecture (architecture) | ||
| | | tâches= => Ligne à omettre si aucune ! | ||
<ul> | <ul> | ||
<li> Concevoir des | <li>Concevoir des bâtiments</li> | ||
</ul> | </ul> | ||
| ateliers= | | 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= | | compétence=Architecture (architecture) | ||
| tâches= | | tâches= | ||
<ul> | <ul> | ||
<li> Concevoir des | <li>Concevoir des bâtiments</li> | ||
</ul> | </ul> | ||
| attributs = | | attributs = | ||
<ul> | <ul> |