Modèle:Fiche Région : Différence entre versions

De Wiki'speria
Aller à : navigation, rechercher
 
(34 révisions intermédiaires par 5 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<includeonly>
+
<includeonly><table class="infobox">
<table 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;">
+
<td align="center" colspan="2">
 +
{{#if:{{{Drapeau}}}|[[Fichier:Drapeau {{{1|{{#replace:{{{Drapeau}}}|&#39;|'}}}}}|200px|{{{1|{{#replace:{{{Drapeau}}}|&#39;|'}}}}}}}]]}}
 +
</td>
 
<tr>
 
<tr>
<td align="center" colspan="2" style="text-align:center;background-color:{{#if:{{{Couleur|}}}|{{{Couleur}}}|#dfd}};color:#000000">'''{{{Nom}}}'''</td>
+
<td align="left" colspan="2" style="text-align:center;background-color:{{#if:{{{Couleur|}}}|{{{Couleur}}}|#dfd}};color:#000000">'''{{{Nom}}}'''</td>
 
</tr>
 
</tr>
 +
{{#if:{{{Nation|}}}|
 +
<tr>
 +
<th align="left" scope="row">Nation{{#if:{{{Nation2|}}}{{{Nation3|}}}|s|}}</th>
 +
<td align="left">[[{{{Nation}}}]]</td>
 +
</tr>|}}
 +
{{#if:{{{Nation2|}}}|
 +
<tr>
 +
<th align="left" scope="row"></th>
 +
<td align="left">[[{{{Nation2}}}]]</td>
 +
</tr>|}}
 +
{{#if:{{{Nation3|}}}|
 
<tr>
 
<tr>
<td align="center" colspan="2">
+
<th align="left" scope="row"></th>
<td align="left">{{#if:{{{Drapeau|}}}|[[Fichier:Drapeau {{{Drapeau}}}.png|200px]]|}}</td>
+
<td align="left">[[{{{Nation3}}}]]</td>
</td>
+
</tr>|}}
 
<tr>
 
<tr>
<th align="left" scope="row">Nation</th>
+
<th align="left" scope="row" style="border-top:1px solid #AAAAAA">Gentilé</th>
<td align="left">{{#if:{{{Nation|}}}|[[{{{Nation}}}|{{{Nation}}}]]|}}</td>
+
<td align="left" style="border-top:1px solid #AAAAAA">{{#if:{{{Gentilé|}}}|{{{Gentilé}}}|}}</td>
 
</tr>
 
</tr>
 +
{{#if:{{{Pop|}}}|
 +
<tr>
 +
<th align="left" scope="row">Population totale</th>
 +
<td align="left">{{{Pop}}}</td>
 +
</tr>|}}
 +
{{#if:{{{Qadjarides|}}}|
 +
<tr>
 +
<th align="left" scope="row">Qadjarides</th>
 +
<td align="left">{{{Qadjarides}}}</td>
 +
</tr>|}}
 +
<td align="left" colspan="2" style="text-align:center;background-color:{{#if:{{{Couleur|}}}|{{{Couleur}}}|#dfd}};color:#000000">'''Villes'''</td>
 
<tr>
 
<tr>
<th align="left" scope="row">Ville</th>
+
<td align="left">{{#dpl:
<td align="left">{{#dplvar:set    |Affichage|{{{Perso|}}} }}{{#dpl:
 
 
   |uses=Template:Fiche Ville
 
   |uses=Template:Fiche Ville
 
   |category = Ville:{{{Nom}}}
 
   |category = Ville:{{{Nom}}}
  |format  = {{#if:{{{Affichage|}}}|,{{#ifeq:{{{Affichage|}}}|Perso||\n* }},,|,\n* [[%PAGE%|%TITLE%]],,}}
 
 
   |noresultsheader= &nbsp;
 
   |noresultsheader= &nbsp;
 
}}</td>
 
}}</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
[[Category:Régions]]
+
[[Category:Région]]
{{#if:{{{Région|}}}|[[Category:Région:{{{Nation}}}]]|}}
 
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
Ligne 30 : Ligne 51 :
 
  |Drapeau=
 
  |Drapeau=
 
  |Nation=
 
  |Nation=
 +
|Nation2=
 +
|Nation3=
 +
|Gentilé=
 +
|Pop=
 +
|Qadjarides=
 
  |Couleur=
 
  |Couleur=
 
}}</nowiki>
 
}}</nowiki>
[[Category:HRP]]
+
*Caroggian : #FADA5E
 +
*Qadjaride : #CFA0E9
 +
*Capitalin : #E34234
 +
*Hura : #A76726
 +
*Canatanais : #87E990
 +
*Adaarion : #77B5FE
 +
*Lig Ocolide : #FF8C00
 +
*Les Maahvitts : #CCD4DD
 +
[[Category:Modèle]]
 
</noinclude>
 
</noinclude>

Version actuelle datée du 13 septembre 2020 à 13:40


{{Fiche Région
 |Nom=
 |Drapeau=
 |Nation=
 |Nation2=
 |Nation3=
 |Gentilé=
 |Pop=
 |Qadjarides=
 |Couleur=
}}
  • Caroggian : #FADA5E
  • Qadjaride : #CFA0E9
  • Capitalin : #E34234
  • Hura : #A76726
  • Canatanais : #87E990
  • Adaarion : #77B5FE
  • Lig Ocolide : #FF8C00
  • Les Maahvitts : #CCD4DD