User:Deb/sandbox: Difference between revisions
Appearance
< User:Deb
Content deleted Content added
←Created page with '{| class="infobox" style="text-align: center; width: 270px; font-size:100%;" |- |style="background-color:#f3f3f3"|<small>«««<br /> {{#ifexpr:{{{1|{{CURRENTYEA...' |
No edit summary |
||
(30 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
===Family tree=== |
|||
{| class="infobox" style="text-align: center; width: 270px; font-size:100%;" |
|||
{{Chart top}} |
|||
|- |
|||
{{Tree chart/start}} |
|||
|style="background-color:#f3f3f3"|<small>«««<br /> {{#ifexpr:{{{1|{{CURRENTYEAR}}}}}>=800|[[{{dr|y|y|{{{1|{{CURRENTYEAR}}}}}|-1|n}} in Sweden|{{dr|y|y|{{{1|{{CURRENTYEAR}}}}}|-1|n}}]]|{{dr|y|y|{{{1}}}|-1|y}}}}<br />{{#ifexpr:{{{1|{{CURRENTYEAR}}}}}>=801|[[{{dr|y|y|{{{1|{{CURRENTYEAR}}}}}|-2|n}} in Sweden|{{dr|y|y|{{{1|{{CURRENTYEAR}}}}}|-2|n}}]]|{{dr|y|y|{{{1}}}|-2|y}}}}<br />{{#ifexpr:{{{1|{{CURRENTYEAR}}}}}>=802|[[{{dr|y|y|{{{1|{{CURRENTYEAR}}}}}|-3|n}} in Sweden|{{dr|y|y|{{{1|{{CURRENTYEAR}}}}}|-3|n}}]]|{{dr|y|y|{{{1}}}|-3|y}}}}</small> |
|||
{{Tree chart|border=1| | | | | | | | |Bill| | | | | |Henry| | | | | |Jim |
|||
| style="background:white;" align="center" |<table style="background:inherit"><tr valign="top" width="60px"><td align="center"> |
|||
|Bill=[[William the Silent|William the Silent, Prince of Orange]] |
|||
-->{{#ifexpr: 1905 <= {{{1|{{CURRENTYEAR}}}}} | [[File:Flag of Sweden.svg|border|right|80px]]}}<!-- |
|||
|Henry=[[King Henry IV of France]] |
|||
--></td><td align="center"><big><span style="font-size:130%">'''{{{1|{{CURRENTYEAR}}}}}</span><br /> in<br /> [[Sweden]]'''</big></td></tr></table> |
|||
|Jim=[[James VI and I|King James I of England]] |
|||
|style="background-color:#f3f3f3"|<small>»»»<br /> [[{{#expr: {{{1|{{CURRENTYEAR}}}}} +1}} in Sweden|{{#expr: {{{1|{{CURRENTYEAR}}}}}+1}}]]<br /> [[{{#expr: {{{1|{{CURRENTYEAR}}}}} + 2}} in Sweden|{{#expr: {{{1|{{CURRENTYEAR}}}}}+2}}]]<br /> [[{{#expr: {{{1|{{CURRENTYEAR}}}}} + 3}} in Sweden|{{#expr: {{{1|{{CURRENTYEAR}}}}}+3}}]]</small> |
|||
}} |
|||
|- valign="top" |
|||
{{Tree chart|border=1| | | | | | | | | |!| | | | | | | |!| | | |,|-|-|-|^|-|-|-|.| |
|||
|colspan="3"| |
|||
}} |
|||
{| style="border-width:0; margin:0; padding:0; border-collapse:yes" <!-- |
|||
{{Tree chart|border=1| | | | |Amalia|y|Fred| | | | | |Henrietta|y|Charlie| | | | | |Betty |
|||
** begin sub-table --> |
|||
|Amalia=[[Amalia of Solms-Braunfels]] |
|||
|- valign="top" |
|||
|Fred=[[Frederick Henry, Prince of Orange]] |
|||
! style="text-align:left; font-size:smaller;" |<small>'''Decades:'''</small> <!-- |
|||
|Henrietta=[[Henrietta Maria]] |
|||
** Link to the decade category [[Category:yyy0s in Sweden]] |
|||
|Charlie=King [[Charles I]] (1600-1649) |
|||
** for the current decade, and for two decades before and after, but only |
|||
|Betty=[[Elizabeth Stuart, Queen of Bohemia|Elizabeth of Bohemia]] (1596-1662) |
|||
** if the categories exist --> |
|||
}} |
|||
|<div><small>{{#ifexist: Category:{{DECADE|{{#expr:{{{1|{{CURRENTYEAR}}}}}-20}}}} in Sweden | |
|||
{{Tree chart|border=1| |,|-|-|-|v|-|^|-|.| | | | | | | |,|-|^|-|v|-|-|-|.| | | |!| |
|||
[[:Category:{{DECADE|{{#expr:{{{1|{{CURRENTYEAR}}}}}-20}}}} in Sweden|{{DECADE|{{#expr:{{{1|{{CURRENTYEAR}}}}}-20}}}}]]{{•}} |}} {{#ifexist: Category:{{DECADE|{{#expr:{{{1|{{CURRENTYEAR}}}}}-10}}}} in Sweden| |
|||
}} |
|||
[[:Category:{{DECADE|{{#expr:{{{1|{{CURRENTYEAR}}}}}-10}}}} in Sweden|{{DECADE|{{#expr:{{{1|{{CURRENTYEAR}}}}}-10}}}}]]{{•}} |}} {{#ifexist: Category:{{DECADE|{{{1|{{CURRENTYEAR}}}}}}} in Sweden| |
|||
{{Tree chart|border=1|Louise| |Albertine| |Bill|~|~|y|~|~|Mary| |Charlie| |Jim| |Sophia |
|||
'''[[:Category:{{DECADE|{{{1|{{CURRENTYEAR}}}}}}} in Sweden|{{DECADE|{{{1|{{CURRENTYEAR}}}}}}}]]'''|}}{{#ifexist: Category:{{DECADE|{{#expr:{{{1|{{CURRENTYEAR}}}}}+10}}}} in Sweden|{{•}} |
|||
|Louise=[[Countess Louise Henriette of Nassau|Louise Henriette of Nassau]] |
|||
[[:Category:{{DECADE|{{#expr:{{{1|{{CURRENTYEAR}}}}}+10}}}} in Sweden|{{DECADE|{{#expr:{{{1|{{CURRENTYEAR}}}}}+10}}}}]]|}}{{#ifexist: Category:{{DECADE|{{#expr:{{{1|{{CURRENTYEAR}}}}}+20}}}} in Sweden |{{•}} [[:Category:{{DECADE|{{#expr:{{{1|{{CURRENTYEAR}}}}}+20}}}} in Sweden|{{DECADE|{{#expr:{{{1|{{CURRENTYEAR}}}}}+20}}}}]] |}}</small></div><!-- |
|||
|Albertine=[[Albertine Agnes of Nassau]] |
|||
** End of the decade-categories links --> |
|||
|Bill=[[William II, Prince of Orange]] (1626-1650) |
|||
|- valign="top" |
|||
|Mary=[[Mary, Princess Royal and Princess of Orange|Mary Henrietta]] (1631-1660) |
|||
! style="text-align:left; font-size:smaller;" |<small>'''Centuries:'''</small> <!-- |
|||
|Charlie=[[King Charles II]] (1630-1685) |
|||
** Link to [[Category:years of the xxth century in Sweden]] |
|||
|Jim=[[King James II of England]] (1633-1701) |
|||
** for the current century, and two centuries before and after, but only |
|||
|Sophia=[[Sophia of Hanover]] |
|||
** if the categories exist --> |
|||
}} |
|||
|<div><small>{{#ifexist: Category:Years of the {{Ordinal|{{#expr:{{CENTURY|{{{1|{{CURRENTYEAR}}}}}}}-2}}}} century in Sweden | [[:Category:Years of the {{Ordinal|{{#expr:{{CENTURY|{{{1|{{CURRENTYEAR}}}}}}}-2}}}} century in Sweden|{{Ordinal|{{#expr:{{CENTURY|{{{1|{{CURRENTYEAR}}}}}}}-2}}}}]] }}{{•}} {{#ifexist: Category:Years of the {{Ordinal|{{#expr:{{CENTURY|{{{1|{{CURRENTYEAR}}}}}}}-1}}}} century in Sweden| [[:Category:Years of the {{Ordinal|{{#expr:{{CENTURY|{{{1|{{CURRENTYEAR}}}}}}}-1}}}} century in Sweden|{{Ordinal|{{#expr:{{CENTURY|{{{1|{{CURRENTYEAR}}}}}}}-1}}}}]] }}{{•}} '''{{#ifexist: Category:Years of the {{Ordinal|{{CENTURY|{{{1|{{CURRENTYEAR}}}}}}}}} century in Sweden | [[:Category:Years of the {{Ordinal|{{CENTURY|{{{1|{{CURRENTYEAR}}}}}}}}} century in Sweden|{{Ordinal|{{CENTURY|{{{1|{{CURRENTYEAR}}}}}}}}}]] }}'''{{#ifexist: Category:Years of the {{Ordinal|{{#expr:{{CENTURY|{{{1|{{CURRENTYEAR}}}}}}}+1}}}} century in Sweden |{{•}} [[:Category:Years of the {{Ordinal|{{#expr:{{CENTURY|{{{1|{{CURRENTYEAR}}}}}}}+1}}}} century in Sweden|{{Ordinal|{{#expr:{{CENTURY|{{{1|{{CURRENTYEAR}}}}}}}+1}}}}]]}}{{#ifexist: Category:Years of the {{Ordinal|{{#expr:{{CENTURY|{{{1|{{CURRENTYEAR}}}}}}}+2}}}} century in Sweden |{{•}} [[:Category:Years of the {{Ordinal|{{#expr:{{CENTURY|{{{1|{{CURRENTYEAR}}}}}}}+2}}}} century in Sweden|{{Ordinal|{{#expr:{{CENTURY|{{{1|{{CURRENTYEAR}}}}}}}+2}}}}]] }} </small></div><!-- |
|||
{{Tree chart|border=1| |!| | | |!| | | | | | | |!| | | |,|-|-|-|v|-|-|-|(| | | |!| |
|||
** End of the century-categories links --> |
|||
}} |
|||
|-valign="top" |
|||
{{Tree chart|border=1|Fred| |Henry| | | | | |Bill|-|Mary| |Anne| |Jim| |Geo |
|||
! style="text-align:left; font-size:smaller;" |<small>'''See also:'''</small> |
|||
|Bill='''William III''' (1650-1702) |
|||
|<small> |
|||
|Mary=[[Mary II]] (1662-1694) |
|||
-->{{#ifexpr: {{{1|{{CURRENTYEAR}}}}} >= 1814 | {{#ifexpr: {{{1|{{CURRENTYEAR}}}}} <= 1905 |[[{{{1|}}} in Sweden]]<br /> |}}}} [[List of years in Sweden]]</small> |
|||
|Anne=[[Anne]], later Queen Anne |
|||
|}<!-- |
|||
|Jim=[[James Francis Edward Stuart|James Francis Edward]] |
|||
** end sub-table --> |
|||
|Fred=[[Frederick I of Prussia]] |
|||
|}<!-- |
|||
|Henry=[[Henry Casimir II, Prince of Nassau-Dietz]] |
|||
** Check that a parameter has been supplied. |
|||
|Geo=[[King George I of Great Britain]] |
|||
** If it is missing, then display a big red bold warning |
|||
}} |
|||
-->{{#if:{{{1|}}}||<span style="color:red; font-size:130%">'''Template:Year in Sweden''': Parameter 1=''year'' required!</span>}}<!-- |
|||
{{Tree chart|border=1| | | | | |!| | | | | | | | | | | | | | | |! |
|||
** Now we apply categories, unless the nocat=yes parameter is supplied |
|||
}} |
|||
** This parameter is intentionally undocumented, because its purpose |
|||
{{Tree chart|border=1| | | | |Friso| | | | | | | | | | | | | |Will |
|||
** is solely to allow the documentation to display examples of template usage |
|||
|Friso=[[John William Friso|John William Friso, Prince of Orange]] |
|||
** without categorising the documentation |
|||
|Will=[[William, Duke of Gloucester]] (1689-1700) |
|||
-->{{#ifeq: {{{nocat|<noinclude>yes</noinclude>}}} | yes | <!-- |
|||
}} |
|||
** Begin categorisation check |
|||
{{Tree chart/end}} |
|||
** if nocat=yes, do nothing |
|||
{{Chart bottom}} |
|||
-->|<!-- |
|||
** OK, nocat parameter not set, or value is not "yes", so generate the categories |
|||
-->{{#ifexpr: {{{1|}}} >= 1100| [[Category:{{{1|}}} in Sweden{{!}}{{PAGENAME}}]] |}} |
|||
[[Category:{{DECADE|{{{1|}}}}} in Sweden{{!}} ]][[Category:{{{1|}}} in Europe{{!}}Sweden]][[Category:Years of the {{Ordinal|{{CENTURY|{{{1|}}}}}}} century in Sweden{{!}}{{PAGENAME}}]][[Category:{{{1|}}} by country{{!}}Sweden]]<!-- |
|||
** end categorisation check |
|||
--><!-- |
|||
*********************************************************************** |
|||
** This is the end of the template. |
|||
** The remainder is only the documentation |
|||
--><noinclude> |
|||
{{Documentation}} |
|||
<!---Please add metadata to the <includeonly> section at the bottom of the /doc subpage---> |
|||
</noinclude> |
Latest revision as of 15:57, 29 November 2022
Family tree
[edit]Family of Deb/sandbox | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|