Modèle:LeaderInfoBox : Différence entre versions
De EncyclopAtys
m (tests Zo') |
m (tests Zo') |
||
Ligne 20 : | Ligne 20 : | ||
{| | {| | ||
|- | |- | ||
− | !align="centre" colspan="2" style="background: #{{#var: | + | !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}}} }}]] }} | ||
Ligne 26 : | Ligne 26 : | ||
{{#if: {{{caption|}}} | ! align="centre" colspan="2" {{!}} <small>{{{caption}}}</small> | {{#if: {{{caption|}}} | ! align="centre" colspan="2" {{!}} <small>{{{caption}}}</small> | ||
{{!}}- | }} | {{!}}- | }} | ||
− | !align="centre" colspan="2" style="background: #{{#var: | + | !align="centre" colspan="2" style="background: #{{#var:bg}}; padding: 0px;height:8px;" | {{#if: {{{title|}}} | {{{title}}}}} |
|- | |- | ||
| | | | ||
|- | |- | ||
− | {{#if: {{{race|}}} | ! align="centre" style="background: #{{#var: | + | {{#if: {{{race|}}} | ! align="centre" style="background: #{{#var:bg}}; padding-left:5px;padding-right:5px;" {{!}} <font color="#{{#var:fg}}">'''Race:'''</font> |
! align="center" {{!}} <small>{{{race}}}</small> | ! align="center" {{!}} <small>{{{race}}}</small> | ||
{{!}}- | }} | {{!}}- | }} | ||
− | {{#if: {{{gender|}}} | ! align="centre" style="background: #{{#var: | + | {{#if: {{{gender|}}} | ! align="centre" style="background: #{{#var:bg}}; padding-left:5px;padding-right:5px;" {{!}} <font color="#{{#var:fg}}">'''Gender:'''</font> |
! align="center" {{!}} <small>{{{gender}}}</small> | ! align="center" {{!}} <small>{{{gender}}}</small> | ||
{{!}}- | }} | {{!}}- | }} | ||
− | !align="centre" colspan="2" style="background: #{{#var: | + | !align="centre" colspan="2" style="background: #{{#var:bg}}; padding: 0px;height:8px;" | |
|- | |- | ||
− | {{#if: {{{reign|}}} | ! align="centre" style="background: #{{#var: | + | {{#if: {{{reign|}}} | ! align="centre" style="background: #{{#var:bg}}; padding-left:5px;padding-right:5px;" {{!}} <font color="#{{#var:fg}}">'''Reign:'''</font> |
! align="center" {{!}} <small>{{{reign}}}</small> | ! align="center" {{!}} <small>{{{reign}}}</small> | ||
{{!}}- | }} | {{!}}- | }} | ||
− | {{#if: {{{predecessor|}}} | ! align="centre" style="background: #{{#var: | + | {{#if: {{{predecessor|}}} | ! align="centre" style="background: #{{#var:bg}}; padding-left:5px;padding-right:5px;" {{!}} <font color="#{{#var:fg}}">'''Predecessor:'''</font> |
! align="center" {{!}} <small>{{{predecessor}}}</small> | ! align="center" {{!}} <small>{{{predecessor}}}</small> | ||
{{!}}- | }} | {{!}}- | }} | ||
− | {{#if: {{{successor|}}} |! align="centre" style="background: #{{#var: | + | {{#if: {{{successor|}}} |! align="centre" style="background: #{{#var:bg}}; padding-left:5px;padding-right:5px;" {{!}} <font color="#{{#var:fg}}">'''Successor:'''</font> |
! align="center" {{!}} <small>{{{successor}}}</small> | ! align="center" {{!}} <small>{{{successor}}}</small> | ||
{{!}}- | }} | {{!}}- | }} | ||
− | !align="centre" colspan="2" style="background: #{{#var: | + | !align="centre" colspan="2" style="background: #{{#var:bg}}; padding: 0px;height:8px;" | |
|- | |- | ||
− | {{#if: {{{spouse|}}} |! align="centre" style="background: #{{#var: | + | {{#if: {{{spouse|}}} |! align="centre" style="background: #{{#var:bg}}; padding-left:5px;padding-right:5px;" {{!}} <font color="#{{#var:fg}}">'''Spouse:'''</font> |
! align="center" {{!}} <small>{{{spouse}}}</small> | ! align="center" {{!}} <small>{{{spouse}}}</small> | ||
{{!}}- | }} | {{!}}- | }} | ||
− | {{#if: {{{house|}}} |! align="centre" style="background: #{{#var: | + | {{#if: {{{house|}}} |! align="centre" style="background: #{{#var:bg}}; padding-left:5px;padding-right:5px;" {{!}} <font color="#{{#var:fg}}">'''House:'''</font> |
! align="center" {{!}} <small>{{{house}}}</small> | ! align="center" {{!}} <small>{{{house}}}</small> | ||
{{!}}- | }} | {{!}}- | }} | ||
− | {{#if: {{{father|}}} |! align="centre" style="background: #{{#var: | + | {{#if: {{{father|}}} |! align="centre" style="background: #{{#var:bg}}; padding-left:5px;padding-right:5px;" {{!}} <font color="#{{#var:fg}}">'''Father:'''</font> |
! align="center" {{!}} <small>{{{father}}}</small> | ! align="center" {{!}} <small>{{{father}}}</small> | ||
{{!}}- | }} | {{!}}- | }} | ||
− | {{#if: {{{mother|}}} |! align="centre" style="background: #{{#var: | + | {{#if: {{{mother|}}} |! align="centre" style="background: #{{#var:bg}}; padding-left:5px;padding-right:5px;" {{!}} <font color="#{{#var:fg}}">'''Mother:'''</font> |
! align="center" {{!}} <small>{{{mother}}}</small> | ! align="center" {{!}} <small>{{{mother}}}</small> | ||
{{!}}- | }} | {{!}}- | }} | ||
− | {{#if: {{{birth_date|}}} |! align="centre" style="background: #{{#var: | + | {{#if: {{{birth_date|}}} |! align="centre" style="background: #{{#var:bg}}; padding-left:5px;padding-right:5px;" {{!}} <font color="#{{#var:fg}}">'''Born:'''</font> |
! align="center" {{!}} <small>{{{birth_date}}} {{#if: {{{birth_place|}}} | <br>{{{birth_place}}} }}</small> | ! align="center" {{!}} <small>{{{birth_date}}} {{#if: {{{birth_place|}}} | <br>{{{birth_place}}} }}</small> | ||
{{!}}- | }} | {{!}}- | }} | ||
− | {{#if: {{{death_date|}}} |! align="centre" style="background: #{{#var: | + | {{#if: {{{death_date|}}} |! align="centre" style="background: #{{#var:bg}}; padding-left:5px;padding-right:5px;" {{!}} <font color="#{{#var:fg}}">'''Died:'''</font> |
! align="center" {{!}} <small>{{{death_date}}}{{#if: {{{death_place|}}} | <br>{{{death_place}}} | }}</small> | ! align="center" {{!}} <small>{{{death_date}}}{{#if: {{{death_place|}}} | <br>{{{death_place}}} | }}</small> | ||
{{!}}- | }} | {{!}}- | }} | ||
− | {{#if: {{{place_of_burial|}}} |! align="centre" style="background: #{{#var: | + | {{#if: {{{place_of_burial|}}} |! align="centre" style="background: #{{#var:bg}}; padding-left:5px;padding-right:5px;" {{!}} <font color="#{{#var:fg}}">'''Burial:'''</font> |
! align="center" {{!}} <small>{{{place_of_burial}}}</small> | ! align="center" {{!}} <small>{{{place_of_burial}}}</small> | ||
{{!}}- | }} | {{!}}- | }} | ||
− | {{#if: {{{religion|}}} |! align="centre" style="background: #{{#var: | + | {{#if: {{{religion|}}} |! align="centre" style="background: #{{#var:bg}}; padding-left:5px;padding-right:5px;" {{!}} <font color="#{{#var:fg}}">'''Religion:'''</font> |
! align="center" {{!}} <small>{{{religion}}}</small> | ! align="center" {{!}} <small>{{{religion}}}</small> | ||
{{!}}- | }} | {{!}}- | }} |
Version du 17 février 2016 à 14:52
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 | |
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: