Difference between revisions of "Template:LeaderInfoBox"

From EncyclopAtys

Jump to: navigation, search
(Example)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
+
<includeonly>{|style="float: right;    width:25%;  max-width:30%;  margin: 0.1em;  overflow: auto; <!--
{{Trad
 
|DE=Template:LeaderInfoBox
 
|EN=Template:LeaderInfoBox
 
|ES=Template:LeaderInfoBox
 
|FR=Template:LeaderInfoBox
 
|RU=
 
}}
 
==Description==
 
===Usage===
 
 
 
===Non optional parameters===
 
 
 
 
 
===Optional parameters===
 
 
 
 
 
==Example==
 
{{LeaderInfoBox
 
|name          = Louis XIV
 
|race            = [[Portal:Matis|Matis]]
 
|gender        = Male
 
|title            = [[:en:Main_Page|King of Scotland]]
 
|image          = King_yrkanis_(drawing).png
 
|caption        = Louis XIV by [[user:SirCotare|SirCotare]] (1701)
 
|reign          = 14 May 1643 – 1 September 1715
 
|predecessor    = [[Portal:Lore|Louis XIII]]
 
|successor      = [[Portal:Chronicles|Louis XV]]
 
|spouse          =1- [[:es:Página_principal|Mac' Theresa of Spain]]
 
:2- [[Portal:Fyros|Francisca de Pyr]], [[Portal:Game|Kyoto no hakushaku]]
 
|house          = [[:de:Hauptseite|House of Münich]]
 
|father          = [[Portal:Zoraï|Louis XIII of Witherings]]
 
|mother          = [[:ru:Заглавная_страница|An'lor of Saint Petersburg]]
 
|birth_date      = 1638-09-05
 
|birth_place    = [[Portal:Tryker|Château la Pompe]],
 
:[[Fairhaven]],
 
::'''[[Aeden Aqueous]]'''
 
|death_date      = 1715-09-01
 
|death_place    = [[Portal:The Great Library|Palace of Yrkanis]],
 
:[[Portal:X-files|Tylini Ward]],
 
::[[Majestic Garden]]
 
:::'''[[Verdant Heights]]'''
 
|place_of_burial = [[Portal:Atys|The Watchtower]],
 
:[[Almati Wood]]
 
|religion        = [[Portal:Karavan|Karavan]]
 
|}}
 
<pre>
 
{{LeaderInfoBox
 
|name          = Louis XIV
 
|race            = [[Portal:Matis|Matis]]
 
|gender        = Male
 
|title            = [[:en:Main_Page|King of Scotland]]
 
|image          = King_yrkanis_(drawing).png
 
|caption        = Louis XIV by [[user:SirCotare|]] (1701)
 
|reign          = 14 May 1643 – 1 September 1715
 
|predecessor    = [[Portal:Lore|Louis XIII]]
 
|successor      = [[Portal:Chronicles|Louis XV]]
 
|spouse          =1- [[:es:Página_principal|Mac' Theresa of Spain]]
 
:2- [[Portal:Fyros|Francisca de Pyr]], [[Portal:Game|Kyoto no hakushaku]]
 
|house          = [[:de:Hauptseite|House of Münich]]
 
|father          = [[Portal:Zoraï|Louis XIII of Witherings]]
 
|mother          = [[:ru:Заглавная_страница|An'lor of Saint Petersburg]]
 
|birth_date      = 1638-09-05
 
|birth_place    = [[Portal:Tryker|Château la Pompe]],
 
:[[Fairhaven]],
 
::'''[[Aeden Aqueous]]'''
 
|death_date      = 1715-09-01
 
|death_place    = [[Portal:The Great Library|Palace of Yrkanis]],
 
:[[Portal:X-files|Tylini Ward]],
 
::[[Majestic Garden]]
 
:::'''[[Verdant Heights]]'''
 
|place_of_burial = [[Portal:Atys|The Watchtower]],
 
:[[Almati Wood]]
 
|religion        = [[Portal:Karavan|Karavan]]
 
|}}
 
</pre>
 
 
 
</noinclude><includeonly>{|style="float: right;    width:25%;  max-width:30%;  margin: 0.1em;  overflow: auto; <!--
 
 
-->border: thick outset #C90; border-radius:1em;  padding: 0.1em;<!--
 
-->border: thick outset #C90; border-radius:1em;  padding: 0.1em;<!--
 
-->background-color: #C90; background-color: rgba(255, 165, 0, 0.5); background-image: radial-gradient(rgba(255, 255, 255, 0.2),rgba(255, 165, 0, 0.5)); <!--
 
-->background-color: #C90; background-color: rgba(255, 165, 0, 0.5); background-image: radial-gradient(rgba(255, 255, 255, 0.2),rgba(255, 165, 0, 0.5)); <!--
Line 86: Line 9:
 
|-                                <!--Logo and name-->
 
|-                                <!--Logo and name-->
 
|colspan="2" <!--
 
|colspan="2" <!--
-->style="background:transparent; background-color: (rgba(255, 165, 0, 0.2)); background-image: linear-gradient(rgba(255, 255, 255, 0.2),rgba(255, 165, 0, 0.5),#A50);<!--
+
-->style="background:transparent; background-color: (rgba(255, 165, 0, 0.2)); background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2),rgba(255, 165, 0, 0.5),#A50);<!--
 
-->vertical-align:middle;text-align:center;padding:.02em .4em; <!--
 
-->vertical-align:middle;text-align:center;padding:.02em .4em; <!--
 
-->{{#if: {{{logo|}}}| |line-height: 1.6}}; <!--
 
-->{{#if: {{{logo|}}}| |line-height: 1.6}}; <!--
Line 93: Line 16:
 
| colspan="2" align="center" style="font-size:80%;margin:0 1em;padding:0 1em;"|<!--
 
| colspan="2" align="center" style="font-size:80%;margin:0 1em;padding:0 1em;"|<!--
 
-->{{ #if: {{{image|}}}<!--
 
-->{{ #if: {{{image|}}}<!--
   -->|[[image:{{{image}}}|frameless|center]]<!--
+
   -->|[[image:{{{image}}}|frameless|center|{{{imsize}}}px]]<!--
 
-->}}
 
-->}}
 
|-                                <!--caption-->
 
|-                                <!--caption-->
Line 167: Line 90:
 
|-                                <!--Birth place-->
 
|-                                <!--Birth place-->
 
|style="background:transparent; background-color: rgba(255, 165, 0, 0.5); background-image: linear-gradient(to left,#900 1%,rgba(255, 165, 0, 0.5) 4%,rgba(255, 165, 0, 0.2));<!--
 
|style="background:transparent; background-color: rgba(255, 165, 0, 0.5); background-image: linear-gradient(to left,#900 1%,rgba(255, 165, 0, 0.5) 4%,rgba(255, 165, 0, 0.2));<!--
-->text-align:right; padding:.2em .8em; "| {{#if:{{{birth_place|}}}|{{3DText|text='''Birth place'''}}|<small>Birth place</small>}}
+
-->text-align:right; padding:.2em .8em; "| {{#if:{{{birth_place|}}}|{{3DText|text='''Birthplace'''}}|<small>Birthplace</small>}}
 
|style="background:transparent; background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right,#{{ColorAtys|type=dark}} 1%,#{{ColorAtys|type=light}} 2%,#{{ColorAtys|type=bg}});<!--
 
|style="background:transparent; background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right,#{{ColorAtys|type=dark}} 1%,#{{ColorAtys|type=light}} 2%,#{{ColorAtys|type=bg}});<!--
 
-->background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!--
 
-->background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!--
Line 195: Line 118:
 
-->background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!--
 
-->background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!--
 
-->text-align:left; padding:.2em .4em; "| {{3DText|text={{{religion|}}}}}
 
-->text-align:left; padding:.2em .4em; "| {{3DText|text={{{religion|}}}}}
|}</includeonly><noinclude>
+
|}</includeonly>
 +
<noinclude>
 +
{{Trad
 +
|DE=Template:LeaderInfoBox
 +
|EN=Template:LeaderInfoBox
 +
|ES=Template:LeaderInfoBox
 +
|FR=Template:LeaderInfoBox
 +
|RU=шаблон:LeaderInfoBox
 +
}}
 +
==Description==
 +
 
 +
==Usage==
 +
<nowiki>{{LeaderInfoBox
 +
|Name          =
 +
|image          =
 +
|imsize        =
 +
|Caption        =
 +
|Títle          =
 +
|Race          =
 +
|Gender        =
 +
|Reign          =
 +
|Predecessor    =
 +
|Successor      =
 +
|Spouse        =
 +
|Home          =
 +
|Father        =
 +
|Mother        =
 +
|birth_date    =
 +
|birth_place    =
 +
|death_date    =
 +
|death_place    =
 +
|place_of_burial=
 +
|Religion      =
 +
|}}</nowiki>
 +
 
 +
===Non optional parameters===
 +
'''Name'''
 +
 
 +
===Optional parameters===
 +
All others...
 +
 
 +
==Example==
 +
{{LeaderInfoBox
 +
|name          = Louis XIV
 +
|race            = [[Portal:Matis|Matis]]
 +
|gender        = Male
 +
|title            = [[:en:Main_Page|King of Scotland]]
 +
|image          = King_yrkanis_(drawing).png
 +
|imsize          =200
 +
|caption        = Louis XIV by [[user:SirCotare|SirCotare]] (1701)
 +
|reign          = 1643-05-14 – 1715-09-01
 +
|predecessor    = [[Portal:Lore|Louis XIII]]
 +
|successor      = [[Portal:Chronicles|Louis XV]]
 +
|spouse          =1- [[:es:Página_principal|Mac' Theresa of Spain]]
 +
:2- [[Portal:Fyros|Francisca de Pyr]], [[Portal:Game|Kyoto no hakushaku]]
 +
|house          = [[:de:Hauptseite|House of Münich]]
 +
|father          = [[Portal:Zoraï|Louis XIII of Witherings]]
 +
|mother          = [[:ru:Заглавная_страница|An'lor of Saint Petersburg]]
 +
|birth_date      = 1638-09-05
 +
|birth_place    = [[Portal:Tryker|Château la Pompe]],
 +
:[[Fairhaven]],
 +
::'''[[Aeden Aqueous]]'''
 +
|death_date      = 1715-09-01
 +
|death_place    = [[Portal:The Great Library|Palace of Yrkanis]],
 +
:[[Portal:X-files|Tylini Ward]],
 +
::[[Majestic Garden]]
 +
:::'''[[Verdant Heights]]'''
 +
|place_of_burial = [[Portal:Atys|The Watchtower]],
 +
:[[Almati Wood]]
 +
|religion        = [[Portal:Karavan|Karavan]]
 +
|}}
 +
<pre>
 +
{{LeaderInfoBox
 +
|name          = Louis XIV
 +
|race            = [[Portal:Matis|Matis]]
 +
|gender        = Male
 +
|title            = [[:en:Main_Page|King of Scotland]]
 +
|image          = King_yrkanis_(drawing).png
 +
|imsize          =200
 +
|caption        = Louis XIV by [[user:SirCotare|]] (1701)
 +
|reign          = 1643-05-14 – 1715-09-01
 +
|predecessor    = [[Portal:Lore|Louis XIII]]
 +
|successor      = [[Portal:Chronicles|Louis XV]]
 +
|spouse          =1- [[:es:Página_principal|Mac' Theresa of Spain]]
 +
:2- [[Portal:Fyros|Francisca de Pyr]], [[Portal:Game|Kyoto no hakushaku]]
 +
|house          = [[:de:Hauptseite|House of Münich]]
 +
|father          = [[Portal:Zoraï|Louis XIII of Witherings]]
 +
|mother          = [[:ru:Заглавная_страница|An'lor of Saint Petersburg]]
 +
|birth_date      = 1638-09-05
 +
|birth_place    = [[Portal:Tryker|Château la Pompe]],
 +
:[[Fairhaven]],
 +
::'''[[Aeden Aqueous]]'''
 +
|death_date      = 1715-09-01
 +
|death_place    = [[Portal:The Great Library|Palace of Yrkanis]],
 +
:[[Portal:X-files|Tylini Ward]],
 +
::[[Majestic Garden]]
 +
:::'''[[Verdant Heights]]'''
 +
|place_of_burial = [[Portal:Atys|The Watchtower]],
 +
:[[Almati Wood]]
 +
|religion        = [[Portal:Karavan|Karavan]]
 +
|}}
 +
</pre>
 +
 
 +
 
 
[[Category: Infobox templates|LeaderInfoBox]]
 
[[Category: Infobox templates|LeaderInfoBox]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:24, 9 October 2021


de:Template:LeaderInfoBox
en:Template:LeaderInfoBox
es:Template:LeaderInfoBox
fr:Template:LeaderInfoBox
ru:шаблон:LeaderInfoBox
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Dorothée, 2021-10-09)

Description

Usage

{{LeaderInfoBox
 |Name           =
 |image          =
 |imsize         =
 |Caption        = 
 |Títle          =
 |Race           =
 |Gender         =
 |Reign          =
 |Predecessor    =
 |Successor      =
 |Spouse         =
 |Home           =
 |Father         =
 |Mother         =
 |birth_date     =
 |birth_place    =
 |death_date     =
 |death_place    =
 |place_of_burial=
 |Religion       =
 |}}

Non optional parameters

Name

Optional parameters

All others...

Example

Historical amber: The Chiefs
Louis XIV
King yrkanis (drawing).png
Louis XIV by SirCotare (1701)
King of Scotland
Race Matis
Gender Male
Reign 1643-05-14 – 1715-09-01
Predecessor Louis XIII
Successor Louis XV
Spouse 1- Mac' Theresa of Spain
2- Francisca de Pyr, Kyoto no hakushaku
House House of Münich
Father Louis XIII of Witherings
Mother An'lor of Saint Petersburg
Birth date 1638-09-05
Birthplace Château la Pompe,
Fairhaven,
Aeden Aqueous
Death date 1715-09-01
Death place Palace of Yrkanis,
Tylini Ward,
Majestic Garden
Verdant Heights
Burial The Watchtower,
Almati Wood
Religion Karavan
{{LeaderInfoBox
|name           = Louis XIV
|race            = [[Portal:Matis|Matis]]
|gender         = Male
|title             = [[:en:Main_Page|King of Scotland]]
|image          = King_yrkanis_(drawing).png
|imsize          =200
|caption         = Louis XIV by [[user:SirCotare|]] (1701)
|reign           = 1643-05-14 – 1715-09-01
|predecessor     = [[Portal:Lore|Louis XIII]]
|successor       = [[Portal:Chronicles|Louis XV]]
|spouse          =1- [[:es:Página_principal|Mac' Theresa of Spain]]
:2- [[Portal:Fyros|Francisca de Pyr]], [[Portal:Game|Kyoto no hakushaku]]
|house           = [[:de:Hauptseite|House of Münich]]
|father          = [[Portal:Zoraï|Louis XIII of Witherings]]
|mother          = [[:ru:Заглавная_страница|An'lor of Saint Petersburg]]
|birth_date      = 1638-09-05
|birth_place     = [[Portal:Tryker|Château la Pompe]],
:[[Fairhaven]],
::'''[[Aeden Aqueous]]'''
|death_date      = 1715-09-01
|death_place     = [[Portal:The Great Library|Palace of Yrkanis]],
:[[Portal:X-files|Tylini Ward]],
::[[Majestic Garden]]
:::'''[[Verdant Heights]]'''
|place_of_burial = [[Portal:Atys|The Watchtower]],
:[[Almati Wood]]
|religion        = [[Portal:Karavan|Karavan]]
|}}