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

De Wiki'speria
Aller à : navigation, rechercher
m (MAJ template ~navale)
m
 
(10 révisions intermédiaires par 4 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<includeonly><table id="fichebatiment" style="background: none repeat scroll 0 0 #F9F9F9; border: 1px solid #AAAAAA; clear: right; color: #000000; float: right; font-size: 90%; line-height: 1.1em; margin: 0 0 0.5em 1em; padding: 0.1em; width: 210px;">
+
<includeonly><table id="fichebatiment" class="ficheperso">
 +
<tr>
 +
<td align="center" colspan="2">
 +
{{#if:{{{Blason|}}}|[[Fichier:{{{Blason|}}}|200px|{{{Nom}}}]] | }}
 +
</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td align="center" colspan="2">'''{{{Nom}}}'''</td>
 
<td align="center" colspan="2">'''{{{Nom}}}'''</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td align="center" colspan="2" style="text-align:center;background-color:#dfd;color:#000000">'''Informations RP'''</td>
+
<td align="center" colspan="2" class="ficheperso-sep">'''Informations RP'''</td>
 
</tr>
 
</tr>
 
 
<tr>
 
<tr>
 
<th align="left" scope="row">Nom</th>
 
<th align="left" scope="row">Nom</th>
Ligne 14 : Ligne 18 :
 
<tr>
 
<tr>
 
<th align="left" scope="row">Quartier</th>
 
<th align="left" scope="row">Quartier</th>
<td align="left">[[Quartier:{{{Quartier}}}|{{{Quartier}}}]]</td>
+
<td align="left">[[{{{Quartier}}}|{{{Quartier}}}]]</td>
 
</tr>|}}
 
</tr>|}}
 
{{#if:{{{Activité|}}}|
 
{{#if:{{{Activité|}}}|
Ligne 33 : Ligne 37 :
 
</tr>|}}
 
</tr>|}}
  
 +
{{#if:{{{Architecte|}}}|
 +
<tr>
 +
<th align="left" scope="row">Architecte</th>
 +
<td align="left">{{Nom Personnage|page=Utilisateur:{{{Architecte}}}}}</td>
 +
</tr>|}}
  
 
<tr>
 
<tr>
 
<th align="left" scope="row">{{#if:{{{Propriétaire2|}}}|Propriétaires|Propriétaire}}</th>
 
<th align="left" scope="row">{{#if:{{{Propriétaire2|}}}|Propriétaires|Propriétaire}}</th>
<td align="left">{{#if:{{{Propriétaire1|}}}|{{#ifeq:{{{Propriétaire1_joueur|}}}|non|[[{{{Propriétaire1}}}]]|[[Utilisateur:{{{Propriétaire1}}}|{{{Propriétaire1}}}]]}}}}</td>
+
<td align="left">{{#if:{{{Propriétaire1|}}}|{{#ifeq:{{{Propriétaire1_joueur|}}}|non|[[{{{Propriétaire1}}}]]|{{Nom Personnage|page=Utilisateur:{{{Propriétaire1}}}}}}}}}</td>
 
</tr>
 
</tr>
  
Ligne 42 : Ligne 51 :
 
<tr>
 
<tr>
 
<th align="left" scope="row"> </th>
 
<th align="left" scope="row"> </th>
<td align="left">[[Utilisateur:{{{Propriétaire2}}}|{{{Propriétaire2}}}]]</td>
+
<td align="left">{{Nom Personnage|page=Utilisateur:{{{Propriétaire2}}}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
Ligne 49 : Ligne 58 :
 
<tr>
 
<tr>
 
<th align="left" scope="row"> </th>
 
<th align="left" scope="row"> </th>
<td align="left">[[Utilisateur:{{{Propriétaire3}}}|{{{Propriétaire3}}}]]</td>
+
<td align="left">{{Nom Personnage|page=Utilisateur:{{{Propriétaire3}}}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
Ligne 56 : Ligne 65 :
 
<tr>
 
<tr>
 
<th align="left" scope="row"> </th>
 
<th align="left" scope="row"> </th>
<td align="left">[[Utilisateur:{{{Propriétaire4}}}|{{{Propriétaire4}}}]]</td>
+
<td align="left">{{Nom Personnage|page=Utilisateur:{{{Propriétaire4}}}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
Ligne 63 : Ligne 72 :
 
<tr>
 
<tr>
 
<th align="left" scope="row"> </th>
 
<th align="left" scope="row"> </th>
<td align="left">[[Utilisateur:{{{Propriétaire5}}}|{{{Propriétaire5}}}]]</td>
+
<td align="left">{{Nom Personnage|page=Utilisateur:{{{Propriétaire5}}}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
Ligne 72 : Ligne 81 :
 
<th valign="top" align="left" scope="row">{{#ifeq:{{{Parcelle|}}}|Habitation|{{#if:{{{Membre2|}}}|Habitants|Habitant}}|{{#ifeq:{{{Parcelle|}}}|Navale|Équipage|{{#if:{{{Membre2|}}}|Employés|Employé}}}}}}</th>
 
<th valign="top" align="left" scope="row">{{#ifeq:{{{Parcelle|}}}|Habitation|{{#if:{{{Membre2|}}}|Habitants|Habitant}}|{{#ifeq:{{{Parcelle|}}}|Navale|Équipage|{{#if:{{{Membre2|}}}|Employés|Employé}}}}}}</th>
  
<td align="left">[[Utilisateur:{{{Membre1}}}|{{{Membre1}}}]]</td>
+
<td align="left">{{Nom Personnage|page=Utilisateur:{{{Membre1}}}}}</td>
 
|}}
 
|}}
  
Ligne 78 : Ligne 87 :
 
<tr>
 
<tr>
 
<th align="left" scope="row"> </th>
 
<th align="left" scope="row"> </th>
<td align="left">[[Utilisateur:{{{Membre2}}}|{{{Membre2}}}]]</td>
+
<td align="left">{{Nom Personnage|page=Utilisateur:{{{Membre2}}}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
Ligne 85 : Ligne 94 :
 
<tr>
 
<tr>
 
<th align="left" scope="row"> </th>
 
<th align="left" scope="row"> </th>
<td align="left">[[Utilisateur:{{{Membre3}}}|{{{Membre3}}}]]</td>
+
<td align="left">{{Nom Personnage|page=Utilisateur:{{{Membre3}}}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
Ligne 92 : Ligne 101 :
 
<tr>
 
<tr>
 
<th align="left" scope="row"> </th>
 
<th align="left" scope="row"> </th>
<td align="left">[[Utilisateur:{{{Membre4}}}|{{{Membre4}}}]]</td>
+
<td align="left">{{Nom Personnage|page=Utilisateur:{{{Membre4}}}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
Ligne 99 : Ligne 108 :
 
<tr>
 
<tr>
 
<th align="left" scope="row"> </th>
 
<th align="left" scope="row"> </th>
<td align="left">[[Utilisateur:{{{Membre5}}}|{{{Membre5}}}]]</td>
+
<td align="left">{{Nom Personnage|page=Utilisateur:{{{Membre5}}}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
  
 +
{{#if:{{{Membre6|}}}|
 +
<tr>
 +
<th align="left" scope="row"> </th>
 +
<td align="left">{{Nom Personnage|page=Utilisateur:{{{Membre6}}}}}</td>
 +
</tr>
 +
|}}
 +
 +
{{#if:{{{Membre7|}}}|
 +
<tr>
 +
<th align="left" scope="row"> </th>
 +
<td align="left">{{Nom Personnage|page=Utilisateur:{{{Membre7}}}}}</td>
 +
</tr>
 +
|}}
 +
 +
{{#if:{{{Membre8|}}}|
 +
<tr>
 +
<th align="left" scope="row"> </th>
 +
<td align="left">{{Nom Personnage|page=Utilisateur:{{{Membre8}}}}}</td>
 +
</tr>
 +
|}}
 +
 +
{{#if:{{{Membre9|}}}|
 +
<tr>
 +
<th align="left" scope="row"> </th>
 +
<td align="left">{{Nom Personnage|page=Utilisateur:{{{Membre9}}}}}</td>
 +
</tr>
 +
|}}
 +
 +
{{#if:{{{Membre10|}}}|
 +
<tr>
 +
<th align="left" scope="row"> </th>
 +
<td align="left">{{Nom Personnage|page=Utilisateur:{{{Membre10}}}}}</td>
 +
</tr>
 +
|}}
 
</tr>
 
</tr>
 
</table>
 
</table>
  
[[Category:Bâtiments]]
+
[[Category:Bâtiment]]
[[Category:Parcelle:{{{Parcelle}}}]]
+
[[Category:{{{Parcelle}}}]]
{{#if:{{{Quartier|}}}|[[Category:Quartier:{{{Quartier}}}]]|}}
+
{{#if:{{{Quartier|}}}|[[Category:{{{Quartier}}}]]|}}
{{#if:{{{État|{{{Etat|}}}}}}|[[Category:Etat_Batiment:{{{État|{{{Etat|}}}}}}]]|}}
+
{{#if:{{{État|{{{Etat|}}}}}}|[[Category:{{{État|{{{Etat|}}}}}}]]|}}
  
 
</includeonly>
 
</includeonly>
Ligne 116 : Ligne 159 :
 
Pour creer la page de votre bâtiment, mettez ce code dans la page :  
 
Pour creer la page de votre bâtiment, mettez ce code dans la page :  
 
  <nowiki>{{Fiche Batiment
 
  <nowiki>{{Fiche Batiment
  |Nom= (Nom du batiment)
+
  |Nom= (Nom du bâtiment)
 +
|Blason= nomdublason.png ou .jpg
 
  |Quartier= Esperia
 
  |Quartier= Esperia
 
  |Parcelle= (Commerciale, Habitation, Gouvernement, Navale)
 
  |Parcelle= (Commerciale, Habitation, Gouvernement, Navale)
 
  |Activité=  
 
  |Activité=  
 
  |Etat=(Ouvert, Fermé, En Travaux)
 
  |Etat=(Ouvert, Fermé, En Travaux)
 +
|Architecte=
 
  |Propriétaire1=  
 
  |Propriétaire1=  
 
  |Propriétaire1_joueur= (oui, non) (par défaut=oui)
 
  |Propriétaire1_joueur= (oui, non) (par défaut=oui)
Ligne 138 : Ligne 183 :
  
 
<blockquote>'''Nouvelle fonctionnalité 2020''' :<br>
 
<blockquote>'''Nouvelle fonctionnalité 2020''' :<br>
Vous pouvez dorénavent renseigner plusieurs propriétaires sur la fiche d'un bâtiment.</blockquote>
+
Vous pouvez dorénavant renseigner plusieurs propriétaires sur la fiche d'un bâtiment.</blockquote>
  
[[Category:HRP]]
 
 
[[Category:Modèle]]</noinclude>
 
[[Category:Modèle]]</noinclude>

Version actuelle datée du 22 mars 2024 à 13:58


Pour creer la page de votre bâtiment, mettez ce code dans la page :

{{Fiche Batiment
 |Nom= (Nom du bâtiment)
 |Blason= nomdublason.png ou .jpg
 |Quartier= Esperia
 |Parcelle= (Commerciale, Habitation, Gouvernement, Navale)
 |Activité= 
 |Etat=(Ouvert, Fermé, En Travaux)
 |Architecte=
 |Propriétaire1= 
 |Propriétaire1_joueur= (oui, non) (par défaut=oui)
 |Propriétaire2= 
 |Propriétaire3= 
 |Propriétaire4= 
 |Propriétaire5= 
 |Membre1=
 |Membre2=
 |Membre3=
 |Membre4=
 |Membre5=
 }}

Nouvelle fonctionnalité 2020 (s'appliquant à toutes les fiches bâtiments et personnages déjà créés) :
Les joueurs n'ont pas besoin de lister les bâtiments dans leur fiche personnage. Les bâtiments s'y listeront automatiquement.

Nouvelle fonctionnalité 2020 :
Vous pouvez dorénavant renseigner plusieurs propriétaires sur la fiche d'un bâtiment.