Difference between revisions of "Template:Livery Companies in the City of London"
Jump to navigation
Jump to search
imported>Mabelina |
(Added some template magic so the order of precedence is correctly computed. Changes at 00:00 Easter sunday, but caching will delay that, and who knows what time zone.) |
||
Line 13: | Line 13: | ||
* [[Worshipful Company of Fishmongers|Fishmongers]] | * [[Worshipful Company of Fishmongers|Fishmongers]] | ||
* [[Worshipful Company of Goldsmiths|Goldsmiths]] | * [[Worshipful Company of Goldsmiths|Goldsmiths]] | ||
− | * [[Worshipful Company of Merchant Taylors|Merchant Taylors]] | + | {{#ifexpr:{{#time:Y|{{{date|}}}}} mod 2 = ({{#time:z|{{{date|}}}}} < {{#invoke:Easter|Calculate|{{#time:Y|{{{date|}}}}}|format=z}})| |
− | * [[Worshipful Company of Skinners|Skinners]] | + | * [[Worshipful Company of Skinners|Skinners]] <!--Even years after Easter--> |
+ | * [[Worshipful Company of Merchant Taylors|Merchant Taylors]]| | ||
+ | * [[Worshipful Company of Merchant Taylors|Merchant Taylors]] <!--Odd years after Easter--> | ||
+ | * [[Worshipful Company of Skinners|Skinners]]}} | ||
* [[Worshipful Company of Haberdashers|Haberdashers]] | * [[Worshipful Company of Haberdashers|Haberdashers]] | ||
* [[Worshipful Company of Salters|Salters]] | * [[Worshipful Company of Salters|Salters]] | ||
Line 134: | Line 137: | ||
}}<noinclude> | }}<noinclude> | ||
{{collapsible option}} | {{collapsible option}} | ||
+ | * Because the order of precedence varies with time (the Skinners and Merchant Taylors switch places each Easter), you may optionally include a <code>date=</code> parameter to specify the effective date of the list. The default is the current date. | ||
[[Category:London politics and government templates|Organisations]] | [[Category:London politics and government templates|Organisations]] | ||
</noinclude> | </noinclude> |
Revision as of 03:57, 19 August 2014
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state=
parameter may be used:
|state=collapsed
:{{Livery Companies in the City of London|state=collapsed}}
to show the template collapsed, i.e., hidden apart from its title bar|state=expanded
:{{Livery Companies in the City of London|state=expanded}}
to show the template expanded, i.e., fully visible|state=autocollapse
:{{Livery Companies in the City of London|state=autocollapse}}
If the |state=
parameter in the template on this page is not set, the template's initial visibility is taken from the |default=
parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse
.
- Because the order of precedence varies with time (the Skinners and Merchant Taylors switch places each Easter), you may optionally include a
date=
parameter to specify the effective date of the list. The default is the current date.