|
|
(Une version intermédiaire par le même utilisateur non affichée) |
Ligne 2 : |
Ligne 2 : |
| {{ Infobox | | {{ Infobox |
| | above = {{{titre|}}} | | | above = {{{titre|}}} |
| | image = {{{Image|}}} | | | image = [[Fichier:{{{Image}}}]] |
| | label10 = Catégorie | | | label10 = Catégorie |
| | data10 = {{{catégorie_|}}} | | | data10 = {{{catégorie_|}}} |
Ligne 12 : |
Ligne 12 : |
| | header40 = Localisation | | | header40 = Localisation |
| | label50 = Coordonnées | | | label50 = Coordonnées |
| | data50 = @todo | | | data50 = {{{coordonnées|}}} |
| | | | label60 = Accès |
| | | data60 = {{{accès|}}} |
| | | label70 = Zones |
| | | data70 = {{{zones|}}} |
| | | header80 = Occupants |
| | | label90 = P.N.J. |
| | | data90 = {{{p.n.j.|}}} |
| | | label100 = Créatures |
| | | data100 = {{{créatures|}}} |
| }} | | }} |
| <table class="infobox lieu" style="width:250px; background:#fff; border:1px solid #aaa; font-size:90%; line-height:1.4em;">
| |
| <tr>
| |
| <th colspan="2" style="text-align:center; background:#500050; color:white; font-size:120%;">{{{titre}}}</th>
| |
| </tr>
| |
| {{#if:{{{Image|}}}|<tr>
| |
| <td colspan="2" style="text-align:center;">[[Fichier:{{{Image}}}|250px]]<br /><small>{{{caption-Image|}}}</small></td>
| |
| </tr>}}
| |
| {{#if:{{{catégorie_|}}}|<tr><th>Catégorie</th><td>{{{catégorie_}}}</td></tr>}}
| |
| {{#if:{{{fairy_souls|}}}|<tr><th>[[Fairy Soul|Fairy Souls]]</th><td>{{{fairy_souls}}}</td></tr>}}
| |
| {{#if:{{{prérequis|}}}|<tr><th>Prérequis</th><td>{{{prérequis}}}</td></tr>}}
| |
|
| |
| <!-- Groupe : Localisation -->
| |
| {{#if:{{{localisation|}}}{{{coordonnées|}}}{{{accès|}}}{{{zones|}}}|
| |
| <tr><th colspan="2" style="text-align:center; background:#500050; color:white;">Localisation</th></tr>}}
| |
| {{#if:{{{coordonnées|}}}|<tr><th>Coordonnées</th><td>{{{coordonnées}}}</td></tr>}}
| |
| {{#if:{{{accès|}}}|<tr><th>Accès</th><td>{{{accès}}}</td></tr>}}
| |
| {{#if:{{{zones|}}}|<tr><th>Zones</th><td>{{{zones}}}</td></tr>}}
| |
|
| |
| <!-- Groupe : Occupants -->
| |
| {{#if:{{{occupants|}}}{{{p.n.j.|}}}{{{créatures|}}}|
| |
| <tr><th colspan="2" style="text-align:center; background:#500050; color:white;">Occupants</th></tr>}}
| |
| {{#if:{{{p.n.j.|}}}|<tr><th>P.N.J.</th><td>{{{p.n.j.}}}</td></tr>}}
| |
| {{#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>
| |