Modèle:Unité : Différence entre versions

De Apocalypsis
Sauter à la navigation Sauter à la recherche
m (Correction documentation)
Ligne 14 : Ligne 14 :
 
| Apocium={{{Apocium|0}}}
 
| Apocium={{{Apocium|0}}}
 
| Habitants={{{Habitants|0}}}
 
| Habitants={{{Habitants|0}}}
 +
| Ordre1={{{Ordre1|}}}
 +
| Ordre2={{{Ordre2|}}}
 +
| Ordre3={{{Ordre3|}}}
 +
| Ordre4={{{Ordre4|}}}
 +
| Ordre5={{{Ordre5|}}}
 
| Technologie1={{{Technologie1|}}}
 
| Technologie1={{{Technologie1|}}}
 
| Technologie2={{{Technologie2|}}}
 
| Technologie2={{{Technologie2|}}}
Ligne 19 : Ligne 24 :
 
| Technologie4={{{Technologie4|}}}
 
| Technologie4={{{Technologie4|}}}
 
| Technologie5={{{Technologie5|}}}
 
| Technologie5={{{Technologie5|}}}
| Technologie6={{{Technologie6|}}}
 
| Technologie7={{{Technologie7|}}}
 
| Technologie8={{{Technologie8|}}}
 
| Technologie9={{{Technologie9|}}}
 
| Technologie1={{{Technologie1|}}}
 
| Technologie2={{{Technologie2|}}}
 
| Technologie3={{{Technologie3|}}}
 
| Technologie4={{{Technologie4|}}}
 
| Technologie5={{{Technologie5|}}}
 
| Technologie6={{{Technologie6|}}}
 
| Technologie7={{{Technologie7|}}}
 
| Technologie8={{{Technologie8|}}}
 
| Technologie9={{{Technologie9|}}}
 
 
| Infrastructure1=[[Chantier spatial]]
 
| Infrastructure1=[[Chantier spatial]]
 
| Infrastructure2={{{Infrastructure1|}}}
 
| Infrastructure2={{{Infrastructure1|}}}
Ligne 37 : Ligne 29 :
 
| Infrastructure4={{{Infrastructure3|}}}
 
| Infrastructure4={{{Infrastructure3|}}}
 
| Infrastructure5={{{Infrastructure4|}}}
 
| Infrastructure5={{{Infrastructure4|}}}
| Infrastructure6={{{Infrastructure5|}}}
 
| Infrastructure7={{{Infrastructure6|}}}
 
| Infrastructure8={{{Infrastructure7|}}}
 
| Infrastructure9={{{Infrastructure8|}}}
 
 
}}
 
}}
 
<noinclude>
 
<noinclude>
Ligne 50 : Ligne 38 :
  
 
;Syntaxe :
 
;Syntaxe :
: <code><nowiki>{{</nowiki>Article pour unité|Description|Observations|Image|Attaque|Défense|Frêt|Leems|Métaux|Diamants|Energie|Apocium|Habitants|Technologie1|...|Infrastructure1|...}}</code>
+
: <code><nowiki>{{</nowiki>Unité
 +
: |Description|Observations|Image|Attaque|Défense|Frêt|Leems|Métaux|Diamants|Energie|Apocium|Habitants
 +
: |Ordre1|...|Technologie1|...|Infrastructure1|...}}</code>
  
 
;Paramètres :
 
;Paramètres :
Ligne 66 : Ligne 56 :
 
:* '''<tt>Apocium</tt>''' = coût de la construction en apocium (facultatif, champ masqué par défaut ou si le paramètre est nul).
 
:* '''<tt>Apocium</tt>''' = coût de la construction en apocium (facultatif, champ masqué par défaut ou si le paramètre est nul).
 
:* '''<tt>Habitants</tt>''' = coût de la construction en habitants (facultatif, 0 par défaut).
 
:* '''<tt>Habitants</tt>''' = coût de la construction en habitants (facultatif, 0 par défaut).
:* '''<tt>Technologie1 à 9</tt>''' = technologies requises (facultatif).
+
:* '''<tt>Ordre1 à 5</tt>''' = ordres associés à l'infrastructure, déplacements exceptés (facultatif).
:* '''<tt>Infrastructure1 à 8</tt>''' = infrastructures requises en-dehors du chantier spatial (facultatif).
+
:* '''<tt>Technologie1 à 5</tt>''' = technologies requises (facultatif).
 +
:* '''<tt>Infrastructure1 à 4</tt>''' = infrastructures requises en-dehors du chantier spatial (facultatif).
  
 
;Exemples :
 
;Exemples :

Version du 31 octobre 2007 à 22:05


Présentation
Aucune image disponible
Caractéristiques
Type TypeUnité incorrect
Profil Tous
Attaque 0
Défense ?
Vitesse ?
Résistance Ionique ?


'


Technologies requises
Aucune
Infrastructures requises
Chantier spatial
Coûts de construction
Leems 0
Métaux 0
Diamants 0
Energie 0
Habitants 0




Utilisation 
Ce modèle expose les informations relatives à une unité.
Syntaxe 
{{Unité
|Description|Observations|Image|Attaque|Défense|Frêt|Leems|Métaux|Diamants|Energie|Apocium|Habitants
|Ordre1|...|Technologie1|...|Infrastructure1|...}}
Paramètres 
  • Description = la description de cette infrastructure, telle que donnée dans le jeu.
  • Observations = observations complémentaires sur le fonctionnement de cette infrastructure.
  • Image = le nom de l'image de l'infrastucture, sans l'espace de noms "Image" (facultatif, "Logo Apocalypsis.png" par défaut).
  • Maximum = le nombre maximal d'instrasturtcures de ce type par planète (facultatif, champ masqué par défaut).
  • Attaque = le coefficient offensif, i.e. le bonus offensif pour dix points de facteur offensif de civilisation (facultatif, 0 par défaut).
  • Défense = le coefficient défensif, i.e. le bonus défensif pour dix points de facteur défensif de civilisation (facultatif, "?" par défaut).
  • Frêt = le capacité de frêt de l'unité (facultatif, masqué par défaut).
  • Leems = coût de la construction en leems (facultatif, 0 par défaut).
  • Métaux = coût de la construction en métaux (facultatif, 0 par défaut).
  • Diamants = coût de la construction en diamants (facultatif, 0 par défaut).
  • Energie = coût de la construction en énergie (facultatif, 0 par défaut).
  • Apocium = coût de la construction en apocium (facultatif, champ masqué par défaut ou si le paramètre est nul).
  • Habitants = coût de la construction en habitants (facultatif, 0 par défaut).
  • Ordre1 à 5 = ordres associés à l'infrastructure, déplacements exceptés (facultatif).
  • Technologie1 à 5 = technologies requises (facultatif).
  • Infrastructure1 à 4 = infrastructures requises en-dehors du chantier spatial (facultatif).
Exemples 
L'exemple suivant est extrait de Zone de colonisation
{{{{Article pour infrastructure
| Image=Zone de colonisation.jpg
| Maximum=10
| Technologie1=[[Urbanisme avancé]]
| Leems=200000
| Métaux=100000
| Diamants=20
| Energie=15000
| Description=(...)
| Observations=(...)}}
English