m FewerElk a déplacé la page Modèle:Lieu vers Modèle:Infobox Lieu
Aucun résumé des modifications
 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>  
<table class="infobox lieu" style="width:250px; background:#fff; border:1px solid #aaa; font-size:90%; line-height:1.4em;">
{{ Infobox
  <tr>
| above = {{{titre|}}}
    <th colspan="2" style="text-align:center; background:#500050; color:white; font-size:120%;">{{{titre}}}</th>
| image = [[Fichier:{{{Image}}}]]
  </tr>
| label10 = Catégorie
  {{#if:{{{Image|}}}|<tr>
| data10 = {{{catégorie_|}}}
    <td colspan="2" style="text-align:center;">[[Fichier:{{{Image}}}|250px]]<br /><small>{{{caption-Image|}}}</small></td>
| label20 = [[Fairy Soul|Fairy Souls]]
  </tr>}}
| data20 = {{{fairy_souls|}}}
  {{#if:{{{catégorie_|}}}|<tr><th>Catégorie</th><td>{{{catégorie_}}}</td></tr>}}
| label30 = Prérequis
  {{#if:{{{fairy_souls|}}}|<tr><th>[[Fairy Soul|Fairy Souls]]</th><td>{{{fairy_souls}}}</td></tr>}}
| data30 = {{{prérequis|}}}
  {{#if:{{{prérequis|}}}|<tr><th>Prérequis</th><td>{{{prérequis}}}</td></tr>}}
| headerstyle = background:lightgrey
 
| header40 = Localisation
  <!-- Groupe : Localisation -->
| label50 = Coordonnées
  {{#if:{{{localisation|}}}{{{coordonnées|}}}{{{accès|}}}{{{zones|}}}|
| data50 = {{{coordonnées|}}}
  <tr><th colspan="2" style="text-align:center; background:#500050; color:white;">Localisation</th></tr>}}
| label60 = Accès
  {{#if:{{{coordonnées|}}}|<tr><th>Coordonnées</th><td>{{{coordonnées}}}</td></tr>}}
| data60 = {{{accès|}}}
  {{#if:{{{accès|}}}|<tr><th>Accès</th><td>{{{accès}}}</td></tr>}}
| label70 = Zones
  {{#if:{{{zones|}}}|<tr><th>Zones</th><td>{{{zones}}}</td></tr>}}
| data70 = {{{zones|}}}
 
| header80 = Occupants
  <!-- Groupe : Occupants -->
| label90 = P.N.J.
  {{#if:{{{occupants|}}}{{{p.n.j.|}}}{{{créatures|}}}|
| data90 = {{{p.n.j.|}}}
  <tr><th colspan="2" style="text-align:center; background:#500050; color:white;">Occupants</th></tr>}}
| label100 = Créatures
  {{#if:{{{p.n.j.|}}}|<tr><th>P.N.J.</th><td>{{{p.n.j.}}}</td></tr>}}
| data100 = {{{créatures|}}}
  {{#if:{{{créatures|}}}|<tr><th>Créatures</th><td>{{{créatures}}}</td></tr>}}
}}
 
</table>
</includeonly>
</includeonly>
<noinclude>
== Exemple ==
<pre>
{{Lieu
| titre = Hub de la Guilde des Aventuriers
| Image = Exemple.jpg
| caption-Image = Vue du hub
| catégorie_ = Lieu
| fairy_souls = 0
| prérequis = Aucun
| localisation = Univers parallèle
| coordonnées = Inconnues
| accès = Portail vers /ag
| zones = Hall, Tour, Arène
| occupants = Prép. de la Guilde
| p.n.j. = Prép. de la Guilde [...]
| créatures = -
}}
</pre>
</noinclude>

Dernière version du 26 juillet 2025 à 08:37