Différences entre les versions de « Modèle:Infobox Lieu »

183 octets ajoutés ,  4 novembre 2016 à 22:08
aucun résumé de modification
m
Ligne 1 : Ligne 1 :
__NOTOC____NOEDITSECTION__
<includeonly>__NOTOC____NOEDITSECTION__
<table class="infobox" style="margin: 0 0 0.5em 1em; border: 1px solid silver; float: right; font-size: 90%; text-align: left; width: 346px;" cellpadding="5">
<table class="infobox" style="margin: 0 0 0.5em 1em; border: 1px solid silver; float: right; font-size: 90%; text-align: left; width: 346px;" cellpadding="5">
     <tr valign="top">
     <tr valign="top">
Ligne 30 : Ligne 30 :
         <td>[[Est de type::{{{type}}}]] {{ #if: {{{nom_mission|}}} | ([[{{{nom_mission}}}|Voir la mission]]) |}} [[Catégorie:{{{type}}} - {{{campagne}}}]]</td>
         <td>[[Est de type::{{{type}}}]] {{ #if: {{{nom_mission|}}} | ([[{{{nom_mission}}}|Voir la mission]]) |}} [[Catégorie:{{{type}}} - {{{campagne}}}]]</td>
     </tr>
     </tr>
{{ #if: {{{continent|}}} |
     <tr valign="top">
     <tr valign="top">
         <th class="infobox-color-defaut">[[Continent]]</th>
         <th class="infobox-color-defaut">[[Continent]]</th>
         <td>[[Fait partie du continent::{{{continent|Indéfini}}}]]</td>
         <td>[[Fait partie du continent::{{{continent|Indéfini}}}]]</td>
     </tr>
     </tr>
}}<!--
-->{{ #if: {{{region|}}} |
     <tr valign="top">
     <tr valign="top">
         <th class="infobox-color-defaut">[[Région]]</th>
         <th class="infobox-color-defaut">[[Région]]</th>
         <td>[[Fait partie de la région‎::{{{region|Indéfini}}}]]</td>
         <td>[[Fait partie de la région‎::{{{region|Indéfini}}}]]</td>
     </tr>
     </tr>
{{ #if: {{{region_adjacente|}}} |
}}<!--
-->{{ #if: {{{region_adjacente|}}} |
     <tr valign="top">
     <tr valign="top">
         <th class="infobox-color-defaut">Sortie</th>
         <th class="infobox-color-defaut">Sortie</th>
Ligne 47 : Ligne 51 :
     <tr valign="top">
     <tr valign="top">
         <th class="infobox-color-defaut">[[Niveau]]</th>
         <th class="infobox-color-defaut">[[Niveau]]</th>
         <td>[[{{BASEPAGENAME}}/Niveau 1|Niveau 1]]
         <td>[[{{BASEPAGENAME}}/Niveau 1|Niveau 1]]<!--
         {{ #ifexpr: {{{nbr_niveau|}}} >=2 | <br>[[{{BASEPAGENAME}}/Niveau 2|Niveau 2]] |}}
         -->{{ #ifexpr: {{{nbr_niveau|}}} >=2 | <br>[[{{BASEPAGENAME}}/Niveau 2|Niveau 2]] |}}<!--
         {{ #ifexpr: {{{nbr_niveau|}}} >=3 | <br>[[{{BASEPAGENAME}}/Niveau 3|Niveau 3]] |}}
         -->{{ #ifexpr: {{{nbr_niveau|}}} >=3 | <br>[[{{BASEPAGENAME}}/Niveau 3|Niveau 3]] |}}<!--
         {{ #ifexpr: {{{nbr_niveau|}}} >=4 | <br>[[{{BASEPAGENAME}}/Niveau 4|Niveau 4]] |}}
         -->{{ #ifexpr: {{{nbr_niveau|}}} >=4 | <br>[[{{BASEPAGENAME}}/Niveau 4|Niveau 4]] |}}<!--
         {{ #ifexpr: {{{nbr_niveau|}}} >=5 | <br>[[{{BASEPAGENAME}}/Niveau 5|Niveau 5]] |}}
         -->{{ #ifexpr: {{{nbr_niveau|}}} >=5 | <br>[[{{BASEPAGENAME}}/Niveau 5|Niveau 5]] |}}<!--
         {{ #ifexpr: {{{nbr_niveau|}}} >=6 | <br>[[{{BASEPAGENAME}}/Niveau 6|Niveau 6]] |}}</td>
         -->{{ #ifexpr: {{{nbr_niveau|}}} >=6 | <br>[[{{BASEPAGENAME}}/Niveau 6|Niveau 6]] |}}</td>
     </tr>
     </tr>
}}<!--
}}<!--
Ligne 112 : Ligne 116 :
     <tr valign="top">
     <tr valign="top">
         <th class="infobox-color-defaut">[[Evènement]]</th>
         <th class="infobox-color-defaut">[[Evènement]]</th>
         <td>[[{{PAGENAME}}/{{{evenement1}}}|{{PAGENAME}} pendant {{{evenement1}}}]]
         <td>[[{{PAGENAME}}/{{{evenement1}}}|{{PAGENAME}} pendant {{{evenement1}}}]]<!--
         {{ #if: {{{evenement2|}}} | <br>[[{{PAGENAME}}/{{{evenement2}}}|{{PAGENAME}} pendant {{{evenement2}}}]] |}}
         -->{{ #if: {{{evenement2|}}} | <br>[[{{PAGENAME}}/{{{evenement2}}}|{{PAGENAME}} pendant {{{evenement2}}}]] |}}<!--
         {{ #if: {{{evenement3|}}} | <br>[[{{PAGENAME}}/{{{evenement3}}}|{{PAGENAME}} pendant {{{evenement3}}}]] |}}
         -->{{ #if: {{{evenement3|}}} | <br>[[{{PAGENAME}}/{{{evenement3}}}|{{PAGENAME}} pendant {{{evenement3}}}]] |}}<!--
         {{ #if: {{{evenement4|}}} | <br>[[{{PAGENAME}}/{{{evenement4}}}|{{PAGENAME}} pendant {{{evenement4}}}]] |}}
         -->{{ #if: {{{evenement4|}}} | <br>[[{{PAGENAME}}/{{{evenement4}}}|{{PAGENAME}} pendant {{{evenement4}}}]] |}}<!--
         {{ #if: {{{evenement5|}}} | <br>[[{{PAGENAME}}/{{{evenement5}}}|{{PAGENAME}} pendant {{{evenement5}}}]] |}}</td>
         -->{{ #if: {{{evenement5|}}} | <br>[[{{PAGENAME}}/{{{evenement5}}}|{{PAGENAME}} pendant {{{evenement5}}}]] |}}</td>
     </tr>
     </tr>
}}
}}
Ligne 147 : Ligne 151 :
     </tr>
     </tr>
}}
}}
</table><noinclude>__NOEDITSECTION__
</table></includeonly><noinclude>__NOEDITSECTION__{{sommaire à droite}}
== Description ==
== Description ==
Ce modèle sert à décrire un lieu.
Ce modèle sert à décrire un lieu.