Difference between revisions of "Template:LeaderInfoBox"

From EncyclopAtys

Jump to: navigation, search
m
m
Line 13: Line 13:
 
|-
 
|-
 
{{#if: {{{race|}}} | ! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Race:'''</font>
 
{{#if: {{{race|}}} | ! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Race:'''</font>
! align="center" {{!}} {{{race}}}
+
! align="center" {{!}} <small>{{{race}}}</small>
 
{{!}}- | }}
 
{{!}}- | }}
 
{{#if: {{{gender|}}} | ! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Gender:'''</font>
 
{{#if: {{{gender|}}} | ! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Gender:'''</font>
! align="center" {{!}} {{{gender}}}
+
! align="center" {{!}} <small>{{{gender}}}</small>
 
{{!}}- | }}
 
{{!}}- | }}
 
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 0px;height:8px;" |
 
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 0px;height:8px;" |
 
|-
 
|-
 
{{#if: {{{reign|}}} | ! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Reign:'''</font>
 
{{#if: {{{reign|}}} | ! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Reign:'''</font>
! align="center" {{!}} {{{reign}}}
+
! align="center" {{!}} <small>{{{reign}}}</small>
 
{{!}}- | }}
 
{{!}}- | }}
 
{{#if: {{{predecessor|}}} | ! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Predecessor:'''</font>
 
{{#if: {{{predecessor|}}} | ! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Predecessor:'''</font>
! align="center" {{!}} {{{predecessor}}}
+
! align="center" {{!}} <small>{{{predecessor}}}</small>
 
{{!}}- | }}
 
{{!}}- | }}
 
{{#if: {{{successor|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Successor:'''</font>
 
{{#if: {{{successor|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Successor:'''</font>
! align="center" {{!}} {{{successor}}}
+
! align="center" {{!}} <small>{{{successor}}}</small>
 
{{!}}- | }}
 
{{!}}- | }}
 
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 0px;height:8px;" |
 
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 0px;height:8px;" |
 
|-
 
|-
 
{{#if: {{{spouse|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Spouse:'''</font>
 
{{#if: {{{spouse|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Spouse:'''</font>
! align="center" {{!}} {{{spouse}}}
+
! align="center" {{!}} <small>{{{spouse}}}</small>
 
{{!}}- | }}
 
{{!}}- | }}
 
{{#if: {{{house|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''House:'''</font>
 
{{#if: {{{house|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''House:'''</font>
! align="center" {{!}} {{{house}}}
+
! align="center" {{!}} <small>{{{house}}}</small>
 
{{!}}- | }}
 
{{!}}- | }}
 
{{#if: {{{father|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Father:'''</font>
 
{{#if: {{{father|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Father:'''</font>
! align="center" {{!}} {{{father}}}
+
! align="center" {{!}} <small>{{{father}}}</small>
 
{{!}}- | }}
 
{{!}}- | }}
 
{{#if: {{{mother|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Mother:'''</font>
 
{{#if: {{{mother|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Mother:'''</font>
! align="center" {{!}} {{{mother}}}
+
! align="center" {{!}} <small>{{{mother}}}</small>
 
{{!}}- | }}
 
{{!}}- | }}
 
{{#if: {{{birth_date|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Born:'''</font>
 
{{#if: {{{birth_date|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Born:'''</font>
! align="center" {{!}} {{{birth_date}}} {{#if: {{{birth_place|}}} | <br>{{{birth_place}}} }}
+
! align="center" {{!}} <small>{{{birth_date}}} {{#if: {{{birth_place|}}} | <br>{{{birth_place}}} }}</small>
 
{{!}}- | }}
 
{{!}}- | }}
 
{{#if: {{{death_date|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Died:'''</font>
 
{{#if: {{{death_date|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Died:'''</font>
! align="center" {{!}} {{{death_date}}}{{#if: {{{death_place|}}} | <br>{{{death_place}}} | }}
+
! align="center" {{!}} <small>{{{death_date}}}{{#if: {{{death_place|}}} | <br>{{{death_place}}} | }}</small>
 
{{!}}- | }}
 
{{!}}- | }}
 
{{#if: {{{place_of_burial|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Burial:'''</font>
 
{{#if: {{{place_of_burial|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Burial:'''</font>
! align="center" {{!}} {{{place_of_burial}}}
+
! align="center" {{!}} <small>{{{place_of_burial}}}</small>
 
{{!}}- | }}
 
{{!}}- | }}
 
{{#if: {{{religion|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Religion:'''</font>
 
{{#if: {{{religion|}}} |! align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Religion:'''</font>
! align="center" {{!}} {{{religion}}}
+
! align="center" {{!}} <small>{{{religion}}}</small>
 
{{!}}- | }}
 
{{!}}- | }}
 
|}<!--
 
|}<!--
Line 75: Line 75:
 
|father          = [[Louis XIII of France]]
 
|father          = [[Louis XIII of France]]
 
|mother          = [[Anne of Austria]]
 
|mother          = [[Anne of Austria]]
|birth_date      = {{Birth date|df=yes|1638|9|5}}
+
|birth_date      = 1638-9-5
|birth_place    = [[Château de Saint-Germain-en-Laye]], [[Saint-Germain-en-Laye]], France
+
|birth_place    = [[Château de Saint-Germain-en-Laye]],<br>[[Saint-Germain-en-Laye]],<br>France
|death_date      = {{Death date and age|df=yes|1715|9|1|1638|9|5}}
+
|death_date      = 1715-09-01
|death_place    = [[Palace of Versailles]], [[Versailles (city)|Versailles]], France
+
|death_place    = [[Palace of Versailles]],<br>[[Versailles (city)|Versailles]],<br>France
|place_of_burial = [[Saint Denis Basilica]], [[Saint-Denis]], France
+
|place_of_burial = [[Saint Denis Basilica]],<br>[[Saint-Denis]],<br>France
 
|religion        = [[Catholicism]]
 
|religion        = [[Catholicism]]
 
|}}
 
|}}
Line 116: Line 116:
 
|father          = [[Louis XIII of France]]
 
|father          = [[Louis XIII of France]]
 
|mother          = [[Anne of Austria]]
 
|mother          = [[Anne of Austria]]
|birth_date      = {{Birth date|df=yes|1638|9|5}}
+
|birth_date      = 1638-9-5
|birth_place    = [[Château de Saint-Germain-en-Laye]], [[Saint-Germain-en-Laye]], France
+
|birth_place    = [[Château de Saint-Germain-en-Laye]],<br>[[Saint-Germain-en-Laye]],<br>France
|death_date      = {{Death date and age|df=yes|1715|9|1|1638|9|5}}
+
|death_date      = 1715-09-01
|death_place    = [[Palace of Versailles]], [[Versailles (city)|Versailles]], France
+
|death_place    = [[Palace of Versailles]],<br>[[Versailles (city)|Versailles]],<br>France
|place of burial = [[Saint Denis Basilica]], [[Saint-Denis]], France
+
|place_of_burial = [[Saint Denis Basilica]],<br>[[Saint-Denis]],<br>France
 
|religion        = [[Catholicism]]
 
|religion        = [[Catholicism]]
 
|}}
 
|}}

Revision as of 12:22, 22 August 2014

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

domain
Specifies the domain a spell belongs to, i.e. Desert, Forest, Jungle, Lakes or Prime Roots
skill
Specifies the skill tree to which the spell belongs to
lvl
Specifies the level at which the spell is encountered

Optional parameters

type
Specifies the spell type, i.e. celestial, atysian or primal
tooltip
Sets a tooltip that shows when a user hovers his cursor over the infobox's image

Example

Historical amber: The Chiefs
Louis XIV
{{{imsize}}}px
Louis XIV by Hyacinthe Rigaud (1701)
King of France and Navarre
Race Matis
Gender none
Reign 14 May 1643 – 1 September 1715
Predecessor Louis XIII
Successor Louis XV
Spouse Maria Theresa of Spain
Françoise d'Aubigné
House House of Bourbon
Father Louis XIII of France
Mother Anne of Austria
Birth date 1638-9-5
Birthplace Château de Saint-Germain-en-Laye,
Saint-Germain-en-Laye,
France
Death date 1715-09-01
Death place Palace of Versailles,
Versailles,
France
Burial Saint Denis Basilica,
Saint-Denis,
France
Religion Catholicism