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

De Le wiki de DwarfFortress
Aller à la navigation Aller à la recherche
Yoplala (discussion | contributions)
mAucun résumé des modifications
Yoplala (discussion | contributions)
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: 20em;border-collapse: collapse;border: 1px #000 solid;"
{| 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;" | &nbsp;
| style="background: {{fgcolor|{{{couleur|5:1}}}}}; text-align: center;" | &nbsp;
| style="width: 0.5em; background: {{fgcolor|{{{couleur|5:1}}}}}" rowspan="0"| &nbsp;
| style="width: 0.5em; background: {{fgcolor|{{{couleur|5:1}}}}}" rowspan="0"| &nbsp;
|-
|-
! colspan="3" style="border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | {{{métier|Métier}}}
! 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" | <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="background: #eee; padding: 0.1em 0.25em" | Tâches (tasks)
|-
| 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
|-
|-
| {{{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>}}}
|-
|-
! colspan="3" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | [[Ateliers (workshops)]]
! 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>}}}
|-
|-
! colspan="3" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Attributs (attributes)
! 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>
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>
| 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>

Dernière version du 16 août 2020 à 15:37


Utilisation

{{InfoboxMétier
| couleur= 5:0
| catégorie=Administrateur (administrator)
| métier=Architecte (architect)
| compétence=Architecture (architecture)
| tâches=                           => Ligne à omettre si aucune !
<ul>
  <li>Concevoir des bâtiments</li>
</ul>
| ateliers=                         => Ligne à omettre si aucun !                         
| attributs =
<ul>
  <li>Habilité analytique  (analytical ability)
  <li>Créativité (creativity)
  <li>Sens spatial (spatial sense)
</ul>
}}

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


   
Architecte (architect)
Catégorie
Administrateur (administrator)
Métier
Architecte (architect)
Compétence
Architecture (architecture)
Tâches (tasks)
  • Concevoir des bâtiments
Ateliers (workshops)
Aucun
Attributs (attributes)
  • Habilité analytique (analytical ability)
  • Créativité (creativity)
  • Sens spatial (spatial sense)