Modèle:LeaderInfoBox : Différence entre versions

De EncyclopAtys

m (tests Zo')
m
Ligne 7 : Ligne 7 :
 
</div>
 
</div>
 
<div style="margin:.5em; padding:.5em;">
 
<div style="margin:.5em; padding:.5em;">
{|
+
{|width="100%"
 
|-
 
|-
!align="centre" colspan="2" style="background: #{{#var:bg}}; padding: 0px;height:8px;height:1em;border:thin outset #{{#var:dark}}; " | {{#if: {{{title|}}} | {{{title}}}}}
+
!align="centre" colspan="2" style="background: #{{#var:bg}}; padding: 0em;height:1em;border:thin outset #{{#var:dark}}; " | {{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}
 
|-
 
|-
<!--!align="centre" colspan="2" style="background: #{{#var:bg}}; padding: 2px;"| <font color="{{#var:fg}}">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}</font>
 
|--->
 
 
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|250px|{{#if: {{{caption|}}} | {{{caption}}} }}]] }}
 
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|250px|{{#if: {{{caption|}}} | {{{caption}}} }}]] }}
 
|-
 
|-
 
{{#if: {{{caption|}}} | ! align="centre" colspan="2" {{!}} <small>{{{caption}}}</small>
 
{{#if: {{{caption|}}} | ! align="centre" colspan="2" {{!}} <small>{{{caption}}}</small>
 
{{!}}- | }}
 
{{!}}- | }}
 
 
|  
 
|  
 
|-
 
|-
Ligne 23 : Ligne 20 :
 
! align="center" {{!}} <small>{{{race}}}</small>
 
! align="center" {{!}} <small>{{{race}}}</small>
 
{{!}}- | }}
 
{{!}}- | }}
{{#if: {{{gender|}}} | ! align="centre" style="background: #{{#var:bg}}; padding-left:5px;padding-right:5px;" {{!}} <font color="#{{#var:fg}}">'''Gender:'''</font>
+
{{#if: {{{gender|}}} | ! align="centre" style="background: #{{#var:bg}}; padding-left:5px;padding-right:5px;" {{!}} <font color="#{{#var:fg}}">'''Genre:'''</font>
 
! align="center" {{!}} <small>{{{gender}}}</small>
 
! align="center" {{!}} <small>{{{gender}}}</small>
 
{{!}}- | }}
 
{{!}}- | }}

Version du 17 février 2016 à 16:09

R2 scenario admin.png
LeaderInfoBox
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: