Modèle:InfoboxMétier : Différence entre versions

De Le wiki de DwarfFortress
Aller à : navigation, rechercher
m
m
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>

Version du 16 août 2020 à 15:02


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> => Ligne à omettre si aucun !
| 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)