Modèle:Fiche Batiment : Différence entre versions

De Wiki'speria
Aller à : navigation, rechercher
m (Ajout du paramètre "Propriétaire_joueur")
m (Affichage de "Habitants" ou "Employés" en fonction du type de parcelle)
Ligne 31 : Ligne 31 :
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<th valign="top" align="left" scope="row">Employés</th>
+
<th valign="top" align="left" scope="row">{{#ifeq:{{{Parcelle|}}}|Habitation|Habitants|Employés}}</th>
 
<td align="left">{{#dpl:
 
<td align="left">{{#dpl:
 
   |category = Personnages
 
   |category = Personnages

Version du 25 avril 2013 à 20:02

Infos à remplir :

{{Fiche Batiment
 |Nom=  
 |Quartier= 
 |Parcelle=(Commerciale, Habitation, Gouvernement)
 |Activité= 
 |Propriétaire= 
 |Propriétaire_joueur= (oui, non) (par défaut=oui)
 |Etat=(Ouvert, Fermé, En Travaux)
 }}


Ajoutez cela à votre fiche perso pour apparaître dans la liste des employés :

|Bâtiment=Nom du bâtiment 1
|Bâtiment2=Nom du bâtiment 2
etc