Difference between revisions of "Template:LeaderInfoBox"
From EncyclopAtys
(→Example) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <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 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 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
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 | |
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 |
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, |
Death date | 1715-09-01 |
Death place | Palace of Yrkanis, |
Burial | The Watchtower, |
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]] |}}