Difference between revisions of "Template:House of Estridsen/sandbox"
Jump to navigation
Jump to search
imported>Frietjes (Frietjes moved page Template:House of Estridsen/Sandbox to Template:House of Estridsen/testcases) |
imported>Frietjes |
||
| Line 1: | Line 1: | ||
| − | # | + | {{sidebar |
| − | + | | name = House of Estridsen | |
| + | | bodystyle = background: #FFFFFF; border: 1px solid #8888AA; border-spacing: 0px; padding: 0px; | ||
| + | | headingstyle = background: #C5C5DD; border-top: 1px solid #8888AA; border-bottom: 1px solid #8888AA; padding: 2px 5px 2px 5px; text-align: left; | ||
| + | | contentstyle = padding-left: 5px; padding-right: 5px; text-align: left; | ||
| + | | navbarstyle = padding-right: 5px; | ||
| + | | cellspacing = 0 | ||
| + | | wraplinks = true | ||
| + | | pretitlestyle = font-weight:bold; | ||
| + | | pretitle = [[Monarchy of Denmark|Danish Royalty]] | ||
| + | | title = [[House of Estridsen]] | ||
| + | | image = {{#if:{{{1|}}}|[[File:National Coat of arms of Denmark no crown.svg|150px]]|}} | ||
| + | |||
| + | | heading1 = {{#switch:{{{1|}}}|sweyn2 | harald3 | olaf1 | = [[Sweyn II of Denmark|Sweyn II Estridsson]] }} | ||
| + | | content1 = {{#switch:{{{1|}}}|sweyn2 | harald3 | olaf1 | = | ||
| + | ;''Children'' | ||
| + | : Sweyn Svendsen | ||
| + | : Magnus Svendsen | ||
| + | ;''Illegitimate Children'' | ||
| + | : [[Harald III of Denmark|Harald III Hen]] | ||
| + | : [[Canute IV of Denmark|Canute IV the Saint]] | ||
| + | : [[Olaf I of Denmark|Olaf I Hunger]] | ||
| + | : [[Eric I of Denmark|Eric I Evergood]] | ||
| + | : [[Sweyn the Crusader]] | ||
| + | : [[Svend Tronkræver]] | ||
| + | : [[Niels, King of Denmark|Niels]] | ||
| + | : [[Ingerid of Denmark|Ingerid, Queen of Norway]] | ||
| + | : [[Sigrid Svendsdatter|Sigrid, Princess of the Obotrites]] | ||
| + | }} | ||
| + | | heading2 = {{#switch:{{{1|}}}|harald3 |= [[Harald III of Denmark|Harald III Hen]]}} | ||
| + | | content2 = | ||
| + | |||
| + | | heading3 = {{#switch:{{{1|}}}|canute4 |= [[Canute IV of Denmark|Canute IV the Saint]]}} | ||
| + | | content3 = {{#switch:{{{1|}}}|canute4 |= | ||
| + | ;''Children'' | ||
| + | : [[Charles I, Count of Flanders|Blessed Charles the Good]] | ||
| + | : Ingrid Knudsdatter | ||
| + | : Cecilia Knudsdatter | ||
| + | }} | ||
| + | | heading4 = {{#switch:{{{1|}}}|olaf1 |= [[Olaf I of Denmark|Olaf I Hunger]]}} | ||
| + | | content4 = {{#switch:{{{1|}}}|olaf1 |= | ||
| + | ;''Children'' | ||
| + | : Ulvhild Olofsdatter | ||
| + | }} | ||
| + | | heading5 = {{#switch:{{{1|}}}|eric1 |= [[Eric I of Denmark|Eric I Evergood]]}} | ||
| + | | content5 = {{#switch:{{{1|}}}|eric1 |= | ||
| + | ;''Children'' | ||
| + | : [[Canute Lavard|Saint Canute Lavard, Duke of Sønderjylland]] | ||
| + | ;''Illegitimate Children'' | ||
| + | : [[Harald Kesja]] | ||
| + | : Ragnhild Eriksdatter | ||
| + | : Benedikt Eriksen | ||
| + | : [[Eric II of Denmark|Eric II the Memorable]] | ||
| + | ;''Grandchildren'' | ||
| + | : [[Valdemar I of Denmark|Valdemar I the Great]] | ||
| + | : Margaret Knudsdatter | ||
| + | : [[Christina of Denmark, Queen of Norway|Christina, Queen of Norway]] | ||
| + | : Catherine, Duchess of Mecklenburg | ||
| + | : [[Björn Haraldsen Ironside]] | ||
| + | : [[Olaf Haraldsen|Olaf (II) Haraldsen]] | ||
| + | : [[Eric III of Denmark|Eric III Lamb]] (maternal) | ||
| + | ;''Great-Grandchildren'' | ||
| + | : [[Christina of Denmark, Queen of Sweden|Christina, Queen of Sweden]] | ||
| + | }} | ||
| + | | heading6 = {{#switch:{{{1|}}}|niels |= [[Niels, King of Denmark|Niels]]}} | ||
| + | | content6 = {{#switch:{{{1|}}}|niels |= | ||
| + | ;''Children'' | ||
| + | : [[Magnus I of Sweden]] | ||
| + | : Inge Nielsen | ||
| + | ;''Illegitimate Children'' | ||
| + | : Ingerid Nielsdatter | ||
| + | ;''Grandchildren'' | ||
| + | : [[Canute V of Denmark|Canute V]] | ||
| + | : Niels Magnussen | ||
| + | }} | ||
| + | | heading7 = {{#switch:{{{1|}}}|eric2 |= [[Eric II of Denmark|Eric II the Memorable]] }} | ||
| + | | content7 = {{#switch:{{{1|}}}|eric2 |= | ||
| + | ;''Illegitimate Children'' | ||
| + | : [[Sweyn III of Denmark|Sweyn III Grathe]] | ||
| + | }} | ||
| + | | heading8 = {{#switch:{{{1|}}}|eric3 |= [[Eric III of Denmark|Eric III Lamb]] }} | ||
| + | | content8 = {{#switch:{{{1|}}}|eric3 |= | ||
| + | ;''Illegitimate Children'' | ||
| + | : Magnus Eriksen | ||
| + | }} | ||
| + | | heading9 = {{#switch:{{{1|}}}|sweyn3 |= [[Sweyn III of Denmark|Sweyn III Grathe]] }} | ||
| + | | content9 = {{#switch:{{{1|}}}|sweyn3 |= | ||
| + | ;''Children'' | ||
| + | : Eric Svendsen | ||
| + | : Luitgard, Margravinve of Istria | ||
| + | }} | ||
| + | | heading10 = {{#switch:{{{1|}}}|canute5 |= [[Canute V of Denmark|Canute V]] }} | ||
| + | | content10 = {{#switch:{{{1|}}}|canute5 |= | ||
| + | ;''Illegitimate Children'' | ||
| + | : Saint [[Niels of Aarhus]] | ||
| + | : Canute Knudsen | ||
| + | : [[Valdemar of Denmark (bishop)|Valdemar, Bishop of Schleswig]] | ||
| + | : Brigitte, Countess of Anhalt | ||
| + | : Hildegard, Princess of Rügen | ||
| + | : Ingrid, Duchess of Pomerania | ||
| + | }} | ||
| + | | heading11 = {{#switch:{{{1|}}}|valdemar1|canute6 |= [[Valdemar I of Denmark|Valdemar I the Great]] }} | ||
| + | | content11 = {{#switch:{{{1|}}}|valdemar1|canute6 |= | ||
| + | ;''Children'' | ||
| + | : Sophia, Countess of Orlamünde | ||
| + | : [[Canute VI of Denmark|Canute VI]] | ||
| + | : Maria Valdemarsdatter | ||
| + | : Margaret Valdemarsdatter | ||
| + | : [[Valdemar II of Denmark|Valdemar II the Victorious]] | ||
| + | : [[Ingeborg of Denmark, Queen of France|Ingeborg, Queen of France]] | ||
| + | : Helena, Lady of Lüneburg | ||
| + | : [[Richeza of Denmark|Richeza, Queen of Sweden]] | ||
| + | ;''Illegitimate Children'' | ||
| + | : Christopher, Duke of Schleswig | ||
| + | }} | ||
| + | | heading12 = {{#switch:{{{1|}}}|canute6 |= [[Canute VI of Denmark|Canute VI]] }} | ||
| + | | content12 = | ||
| + | |||
| + | | heading13 = {{#switch:{{{1|}}}|valdemar2 |= [[Valdemar II of Denmark|Valdemar II the Victorious]] }} | ||
| + | | content13 = {{#switch:{{{1|}}}|valdemar2 |= | ||
| + | ;''Children'' | ||
| + | : [[Valdemar the Young]] | ||
| + | : [[Eric IV of Denmark|Eric IV Ploughpenny]] | ||
| + | : Sophia, Margravine of Brandenburg | ||
| + | : [[Abel, King of Denmark|Abel]] | ||
| + | : [[Christopher I of Denmark|Christopher I]] | ||
| + | ;''Illegitimate Children'' | ||
| + | : [[Canute, Duke of Estonia]] | ||
| + | : [[Niels, Count of Halland]] | ||
| + | }} | ||
| + | | heading14 = {{#switch:{{{1|}}}|eric4 |= [[Eric IV of Denmark|Eric IV Ploughpenny]] }} | ||
| + | | content14 = {{#switch:{{{1|}}}|eric4 |= | ||
| + | ;''Children'' | ||
| + | : Christopher Eriksen | ||
| + | : Canute Eriksen | ||
| + | : [[Sophia of Denmark|Sophia, Queen of Sweden]] | ||
| + | : [[Ingeborg of Denmark, Queen of Norway|Ingeborg, Queen of Norway]] | ||
| + | : [[Jutta of Denmark|Jutta, Abbess of St. Agneta]] | ||
| + | : [[Agnes of Denmark|Agnes, Abbess of St. Agneta]] | ||
| + | }} | ||
| + | | heading15 = {{#switch:{{{1|}}}|abel |valdemar3 |= [[Abel, King of Denmark|Abel]] }} | ||
| + | | content15 = {{#switch:{{{1|}}}|abel |valdemar3 |= | ||
| + | ;''Children'' | ||
| + | : [[Valdemar III, Duke of Schleswig]] | ||
| + | : Sophia, Princess of Anhalt-Bernburg | ||
| + | : [[Eric I, Duke of Schleswig]] | ||
| + | : [[Abel, Lord of Langeland]] | ||
| + | ;''Grandchildren'' | ||
| + | : Margaret, Countess of Schwerin | ||
| + | : [[Valdemar IV, Duke of Schleswig]] | ||
| + | : [[Eric Longbone, Lord of Langeland]] | ||
| + | : Margaret, Abbess of Zarrentin | ||
| + | ;''Great Grandchildren'' | ||
| + | : [[Eric II, Duke of Schleswig]] | ||
| + | ;''Great-Great Grandchildren'' | ||
| + | : [[Valdemar III of Denmark|Valdemar III]] | ||
| + | : [[Helvig of Schleswig|Helvig, Queen of Denmark]] | ||
| + | }} | ||
| + | | heading16 = {{#switch:{{{1|}}}|christopher1 |= [[Christopher I of Denmark|Christopher I]] }} | ||
| + | | content16 = {{#switch:{{{1|}}}|christopher1 |= | ||
| + | ;''Children'' | ||
| + | : [[Eric V of Denmark|Eric V Klipping]] | ||
| + | : Valdemar Christoffersen | ||
| + | : Niels Christoffersen | ||
| + | : Matilda, Margravine of Brandenburg-Salzwedel | ||
| + | : Margaret, Countess of Holstein-Kiel | ||
| + | }} | ||
| + | | heading17 = {{#switch:{{{1|}}}|eric5 |= [[Eric V of Denmark|Eric V Klipping]] }} | ||
| + | | content17 = {{#switch:{{{1|}}}|eric5 |= | ||
| + | ;''Children'' | ||
| + | : [[Eric VI of Denmark|Eric VI Menved]] | ||
| + | : [[Christopher II of Denmark|Christopher II]] | ||
| + | : [[Martha of Denmark|Martha, Queen of Sweden]] | ||
| + | : Valdemar Eriksen | ||
| + | : Richeza, Lady of Werle | ||
| + | : Catherine Eriksdatter | ||
| + | : Elisabeth Eriksdatter | ||
| + | }} | ||
| + | | heading18 = {{#switch:{{{1|}}}|eric6 |= [[Eric VI of Denmark|Eric VI Menved]] }} | ||
| + | | content18 = {{#switch:{{{1|}}}|eric6 |= | ||
| + | ;''Children'' | ||
| + | : Valdemar Eriksen | ||
| + | : Eric Eriksen | ||
| + | : Magnus Eriksen | ||
| + | }} | ||
| + | | heading19 = {{#switch:{{{1|}}}|valdemar3 |= [[Valdemar III of Denmark|Valdemar III]] }} | ||
| + | | content19 = {{#switch:{{{1|}}}|valdemar3 |= | ||
| + | ;''Children'' | ||
| + | : Valdemar Valdemarsen | ||
| + | : [[Henry, Duke of Schleswig]] | ||
| + | }} | ||
| + | | heading20 = {{#switch:{{{1|}}}|christopher2 |= [[Christopher II of Denmark|Christopher II]] }} | ||
| + | | content20 = {{#switch:{{{1|}}}|christopher2 |= | ||
| + | ;''Children'' | ||
| + | : Margaret, Margravine of Brandenburg | ||
| + | : [[Eric Christoffersen of Denmark|Eric Christoffersen]] | ||
| + | : [[Otto, Duke of Lolland and Estonia]] | ||
| + | : Agnes Christofferdatter | ||
| + | : Hedwig Christofferdatter | ||
| + | : [[Valdemar IV of Denmark|Valdemar IV Atterdag]] | ||
| + | }} | ||
| + | | heading21 = {{#switch:{{{1|}}}|valdemar4|margaret1 |= [[Valdemar IV of Denmark|Valdemar IV Atterdag]] }} | ||
| + | | content21 = {{#switch:{{{1|}}}|valdemar4|margaret1 |= | ||
| + | ;''Children'' | ||
| + | : [[Christopher, Duke of Lolland]] | ||
| + | : Margaret Valdemarsdatter | ||
| + | : [[Ingeborg of Denmark, Duchess of Mecklenburg|Ingeborg, Duchess of Mecklenburg]] | ||
| + | : Catherine Valdemarsdatter | ||
| + | : Valdemar Valdemarsen | ||
| + | : [[Margaret I of Denmark|Margaret I]] | ||
| + | }} | ||
| + | | heading22 = {{#switch:{{{1|}}}|margaret1 |= [[Margaret I of Denmark|Lady Margaret]] }} | ||
| + | | content22 = {{#switch:{{{1|}}}|margaret1 |= | ||
| + | ;''Children'' | ||
| + | : [[Olaf II of Denmark|Olaf II & IV]] | ||
| + | }} | ||
| + | |||
| + | }}<noinclude> | ||
| + | {| | ||
| + | |{{documentation|content= | ||
| + | ==Usage== | ||
| + | This template should be called by passing a variable to it for the closest monarch of the House of Estridsen. For example, '''<nowiki>{{House of Estridsen|sweyn2}}</nowiki>'''. This calls only the relevant part of the template, as well as getting around the fair use violation that would occur if the arms images were directly on this template. | ||
| + | |||
| + | ==Variables== | ||
| + | *'''sweyn2''' - for Sweyn II and his descendants | ||
| + | *'''harald3''' - for Harald III | ||
| + | *'''canute4''' - for Canute IV and his descendants | ||
| + | *'''olaf1''' - for Olaf I and his descendants | ||
| + | *'''eric1''' - for Eric I and his descendants | ||
| + | *'''niels''' - for Niels and his descendants | ||
| + | *'''eric2''' - for Eric II and his descendants | ||
| + | *'''eric3''' - for Eric III and his descendants | ||
| + | *'''sweyn3''' - for Sweyn III and his descendants | ||
| + | *'''canute5''' - for Canute V and his descendants | ||
| + | *'''valdemar1''' - for Valdemar I and his descendants | ||
| + | *'''canute6''' - for Canute VI | ||
| + | *'''valdemar2''' - for Valdemar II and his descendants | ||
| + | *'''eric4''' - for Eric IV and his descendants | ||
| + | *'''abel''' - for Abel and his descendants | ||
| + | *'''christopher1''' - for Christopher I and his descendants | ||
| + | *'''eric5''' - for Eric V and his descendants | ||
| + | *'''eric6''' - for Eric VI and his descendants | ||
| + | *'''christopher2''' - for Christopher II and his descendants | ||
| + | *'''valdemar3''' - for Valdemar III and his descendants | ||
| + | *'''valdemar4''' - for Valdemar IV and his descendants | ||
| + | *'''margaret1''' - for Margaret I and her descendants | ||
| + | |||
| + | [[Category:Denmark royal house templates|Estridsen]] | ||
| + | }}</noinclude> | ||
Revision as of 15:10, 8 August 2015
| Danish Royalty |
| House of Estridsen |
|---|
| Sweyn II Estridsson |
|
| Harald III Hen |
| Canute IV the Saint |
|
| Olaf I Hunger |
|
| Eric I Evergood |
|
| Niels |
|
| Eric II the Memorable |
|
| Eric III Lamb |
|
| Sweyn III Grathe |
|
| Canute V |
|
| Valdemar I the Great |
|
| Canute VI |
| Valdemar II the Victorious |
|
| Eric IV Ploughpenny |
|
| Abel |
|
| Christopher I |
|
| Eric V Klipping |
|
| Eric VI Menved |
|
| Valdemar III |
|
| Christopher II |
|
| Valdemar IV Atterdag |
|
| Lady Margaret |
|
UsageThis template should be called by passing a variable to it for the closest monarch of the House of Estridsen. For example, {{House of Estridsen|sweyn2}}. This calls only the relevant part of the template, as well as getting around the fair use violation that would occur if the arms images were directly on this template. Variables
|