Modèle:Fiche Batiment : Différence entre versions
m (test adaptation) |
m |
||
(18 révisions intermédiaires par 4 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
− | <includeonly><table id="fichebatiment" | + | <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" | + | <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> | ||
− | <td align="left"> | + | <td align="left">{{{Nom}}}</td> |
</tr> | </tr> | ||
− | {{#if:{{{Quartier|}}}|<tr> | + | {{#if:{{{Quartier|}}}| |
+ | <tr> | ||
<th align="left" scope="row">Quartier</th> | <th align="left" scope="row">Quartier</th> | ||
− | <td align="left">[[ | + | <td align="left">[[{{{Quartier}}}|{{{Quartier}}}]]</td> |
</tr>|}} | </tr>|}} | ||
{{#if:{{{Activité|}}}| | {{#if:{{{Activité|}}}| | ||
Ligne 30 : | Ligne 36 : | ||
<td align="left">{{{Parcelle|}}}</td> | <td align="left">{{{Parcelle|}}}</td> | ||
</tr>|}} | </tr>|}} | ||
+ | |||
+ | {{#if:{{{Architecte|}}}| | ||
+ | <tr> | ||
+ | <th align="left" scope="row">Architecte</th> | ||
+ | <td align="left">{{Nom Personnage|page=Utilisateur:{{{Architecte}}}}}</td> | ||
+ | </tr>|}} | ||
+ | |||
+ | <tr> | ||
+ | <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}}}]]|{{Nom Personnage|page=Utilisateur:{{{Propriétaire1}}}}}}}}}</td> | ||
+ | </tr> | ||
+ | |||
+ | {{#if:{{{Propriétaire2|}}}| | ||
+ | <tr> | ||
+ | <th align="left" scope="row"> </th> | ||
+ | <td align="left">{{Nom Personnage|page=Utilisateur:{{{Propriétaire2}}}}}</td> | ||
+ | </tr> | ||
+ | |}} | ||
+ | |||
+ | {{#if:{{{Propriétaire3|}}}| | ||
+ | <tr> | ||
+ | <th align="left" scope="row"> </th> | ||
+ | <td align="left">{{Nom Personnage|page=Utilisateur:{{{Propriétaire3}}}}}</td> | ||
+ | </tr> | ||
+ | |}} | ||
+ | |||
+ | {{#if:{{{Propriétaire4|}}}| | ||
<tr> | <tr> | ||
− | <th align="left" scope="row"> | + | <th align="left" scope="row"> </th> |
− | <td align="left">{{ | + | <td align="left">{{Nom Personnage|page=Utilisateur:{{{Propriétaire4}}}}}</td> |
</tr> | </tr> | ||
+ | |}} | ||
+ | |||
+ | {{#if:{{{Propriétaire5|}}}| | ||
<tr> | <tr> | ||
− | <th valign="top" align="left" scope="row">{{#ifeq:{{{Parcelle|}}}|Habitation|Habitants|{{#ifeq:{{{Parcelle|}}}|Navale| | + | <th align="left" scope="row"> </th> |
− | <td align="left">{{# | + | <td align="left">{{Nom Personnage|page=Utilisateur:{{{Propriétaire5}}}}}</td> |
− | + | </tr> | |
− | + | |}} | |
− | + | {{#if:{{{Membre1|}}}| | |
− | + | <tr><th align="left" scope="row" style="height:5px"></th> </tr> | |
− | + | ||
− | + | <tr> | |
− | + | <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">{{Nom Personnage|page=Utilisateur:{{{Membre1}}}}}</td> | ||
+ | |}} | ||
+ | |||
+ | {{#if:{{{Membre2|}}}| | ||
+ | <tr> | ||
+ | <th align="left" scope="row"> </th> | ||
+ | <td align="left">{{Nom Personnage|page=Utilisateur:{{{Membre2}}}}}</td> | ||
+ | </tr> | ||
+ | |}} | ||
+ | |||
+ | {{#if:{{{Membre3|}}}| | ||
+ | <tr> | ||
+ | <th align="left" scope="row"> </th> | ||
+ | <td align="left">{{Nom Personnage|page=Utilisateur:{{{Membre3}}}}}</td> | ||
+ | </tr> | ||
+ | |}} | ||
+ | |||
+ | {{#if:{{{Membre4|}}}| | ||
+ | <tr> | ||
+ | <th align="left" scope="row"> </th> | ||
+ | <td align="left">{{Nom Personnage|page=Utilisateur:{{{Membre4}}}}}</td> | ||
+ | </tr> | ||
+ | |}} | ||
+ | |||
+ | {{#if:{{{Membre5|}}}| | ||
+ | <tr> | ||
+ | <th align="left" scope="row"> </th> | ||
+ | <td align="left">{{Nom Personnage|page=Utilisateur:{{{Membre5}}}}}</td> | ||
+ | </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> | ||
</table> | </table> | ||
− | [[Category: | + | [[Category:Bâtiment]] |
− | [[Category | + | [[Category:{{{Parcelle}}}]] |
− | {{#if:{{{Quartier|}}}|[[Category | + | {{#if:{{{Quartier|}}}|[[Category:{{{Quartier}}}]]|}} |
− | {{#if:{{{État|{{{Etat|}}}}}}|[[Category | + | {{#if:{{{État|{{{Etat|}}}}}}|[[Category:{{{État|{{{Etat|}}}}}}]]|}} |
</includeonly> | </includeonly> | ||
Ligne 56 : | 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= (Nom du bâtiment) |
+ | |Blason= nomdublason.png ou .jpg | ||
|Quartier= Esperia | |Quartier= Esperia | ||
− | |Parcelle= | + | |Parcelle= (Commerciale, Habitation, Gouvernement, Navale) |
|Activité= | |Activité= | ||
− | |||
− | |||
|Etat=(Ouvert, Fermé, En Travaux) | |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= | ||
}}</nowiki> | }}</nowiki> | ||
− | + | <blockquote>'''Nouvelle fonctionnalité 2020''' (s'appliquant à toutes les fiches bâtiments et personnages déjà créés) :<br> | |
− | + | Les joueurs n'ont pas besoin de lister les bâtiments dans leur fiche personnage. Les bâtiments s'y listeront automatiquement.</blockquote> | |
− | + | ||
− | + | <blockquote>'''Nouvelle fonctionnalité 2020''' :<br> | |
− | + | Vous pouvez dorénavant renseigner plusieurs propriétaires sur la fiche d'un bâtiment.</blockquote> | |
− | + | ||
[[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.