Modèle:LeaderInfoBox : Différence entre versions

De EncyclopAtys

m (tests Zo')
m (tests Zo')
Ligne 12 : Ligne 12 :
 
{{#vardefine:bg|eff}}{{#vardefine:fg|000}}{{#vardefine:light|9cc}}{{#vardefine:dark|003}}{{#vardefine:base|fff}}<!--
 
{{#vardefine:bg|eff}}{{#vardefine:fg|000}}{{#vardefine:light|9cc}}{{#vardefine:dark|003}}{{#vardefine:base|fff}}<!--
 
-->
 
-->
<div style="float:left;margin:2em;top:0;width:30%;border:medium outset #036; vertical-align:top;border-radius:1em;background:#{{#var:fg}};padding:0;{{#if:{{{left|}}} | margin-left:0; | float:right;margin-right:0; }}">
+
<div style="float:left;margin:2em;top:0;width:30%;border:medium outset #{{#var:dark}}; vertical-align:top;border-radius:1em;background:#{{#var:base}};color:#{{#var:fg};padding:0;{{#if:{{{left|}}} | margin-left:0; | float:right;margin-right:0; }}">
 
   <div class="cadre" style="text-align:left; position:relative; left:0; top:0;  border:thin outset #{{#var:dark}}; height:2em; border-radius:.5em;margin:.5em;">
 
   <div class="cadre" style="text-align:left; position:relative; left:0; top:0;  border:thin outset #{{#var:dark}}; height:2em; border-radius:.5em;margin:.5em;">
 
   <div style="position:absolute; left:5px; top:-5px;">[[File:{{{image|R2_scenario_admin.png}}}|38px|link=]]</div>
 
   <div style="position:absolute; left:5px; top:-5px;">[[File:{{{image|R2_scenario_admin.png}}}|38px|link=]]</div>

Version du 17 février 2016 à 14:39


R2 scenario admin.png
LeaderInfoBox
à compléter...
LeaderInfoBox


Description

Usage

{{LeaderInfoBox
|name           = Louis XIV
|race            = Matis
|gender         = none
|title             = [[List of French monarchs|King of France and Navarre]]
|image          = King_yrkanis_(drawing).png
|caption         = Louis XIV by [[Hyacinthe Rigaud]] (1701)
|reign           = 14 May 1643 – 1 September 1715
|predecessor     = [[Louis XIII of France|Louis XIII]]
|successor       = [[Louis XV of France|Louis XV]]
|spouse          = [[Maria Theresa of Spain]]<br />[[Françoise d'Aubigné, marquise de Maintenon|Françoise d'Aubigné]]
|house           = [[House of Bourbon]]
|father          = [[Louis XIII of France]]
|mother          = [[Anne of Austria]]
|birth_date      = 1638-9-5
|birth_place     = [[Château de Saint-Germain-en-Laye]],<br>[[Saint-Germain-en-Laye]],<br>France
|death_date      = 1715-09-01
|death_place     = [[Palace of Versailles]],<br>[[Versailles (city)|Versailles]],<br>France
|place_of_burial = [[Saint Denis Basilica]],<br>[[Saint-Denis]],<br>France
|religion        = [[Catholicism]]
|}}

Non optional parameters

Optional parameters

Example

Ambre de l'Histoire: Les Chefs
Louis XIV
{{{imsize}}}px
Louis XIV by Hyacinthe Rigaud (1701)
King of France and Navarre
Race Matis
Sexe none
Règne 14 May 1643 – 1 September 1715
Succède à Louis XIII
Précède Louis XV
Conjoint Maria Theresa of Spain
Françoise d'Aubigné
Maison House of Bourbon
Père Louis XIII of France
Mère Anne of Austria
Naissance 1638-9-5
Lieu de naissance Château de Saint-Germain-en-Laye,
Saint-Germain-en-Laye,
France
Décès 1715-09-01
Lieu du décès Palace of Versailles,
Versailles,
France
Sépulture Saint Denis Basilica,
Saint-Denis,
France
Religion Catholicism


see also: