From GamingWiki
Line 17: | Line 17: | ||
-->}}<!-- end ifeq | -->}}<!-- end ifeq | ||
-->}}<!-- | -->}}<!-- | ||
+ | |||
+ | Year navigation | ||
+ | --> | ||
+ | {| class="infobox floatright" | ||
+ | | align="center" | <!-- | ||
+ | -->[[{{#expr:{{#var:theyear}}-1}}]] – [[{{#expr:{{#var:theyear}}+1}}]] | ||
+ | |}<!-- | ||
--><noinclude> | --><noinclude> | ||
Line 49: | Line 56: | ||
--> | --> | ||
{| class="infobox floatright" | {| class="infobox floatright" | ||
− | | | + | | align="center" class="above" | <!-- |
− | {{#hashprint: datahash ||%%%% |@@@@ |<nowiki /> | + | --><div class="floatleft">« [[{{#expr:{{#var:theyear}}-1}}]]</div><!-- |
+ | -->{{#var:theyear}} by topic<!-- | ||
+ | --><div class="floatright">[[{{#expr:{{#var:theyear}}+1}}]] »</div><!-- | ||
+ | -->{{#hashprint: datahash ||%%%% |@@@@ |<nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}} class="subhead" {{!}} %%%% | {{!}} class="subhead" {{!}} %%%% |
Revision as of 21:37, 21 February 2011
Display an infobox linking to the various topics related to this year.
2023 – 2025 |
- We create a variable containing the name of the subtemplate containing data for our infobox. This data will be parsed into a HashTable. The keys of the hash are the sections of the "year in" topics, and each value is a link to the relevant page. The format of the data is:
;; key1 :: value1-1 :: value1-2 ;; key2 :: value2-1 ;; key3 :: value3-1 :: value3-2 :: value3-3
- Et cetera. Each key starts with a double semicolon and may be followed by any number of values, separated from the key and from each other by double colons.
« 2023 2024 by topic2025 »
|
Subject |
Archaeology – Architecture – Art – Aviation – Awards – Comics – Film – Home video – Literature (Poetry) – Meteorology – Music (Country, Metal) – Rail transport – Radio – Science – Sports – Television – Video gaming |
By country |
Australia – Canada – People's Republic of China – Ecuador – France – Germany – Greece – India – Ireland – Israel – Italy – Japan – Luxembourg – Malaysia – Mexico – New Zealand – Norway – Pakistan – Philippines – Russia – Singapore – South Africa – UK – USA – Zimbabwe |
Leaders |
Sovereign states – State leaders – Religious leaders – Law |
Birth and death |
Births – Deaths |
Establishments and disestablishments |
Establishments – Disestablishments |
Works and introductions |
Works – Introductions |
- We also support multiple calendars, if they exist. The mechanism for choosing a template to transclude is similar to the data template: if the 'campaign' parameter has been specified, and if the page Template:Year in other calendars/{{{campaign}}} exists, then we transclude it. If {{{campaign}}} is unset or, or the template does not exist, we use Template:Year in other calendars/default.
Gregorian calendar | 2024 MMXXIV |
Ab urbe condita | 2777 |
Bahá'í calendar | 180 – 181 |
Bengali calendar | 1431 |
Berber calendar | 2974 |
Buddhist calendar | 2568 |
Burmese calendar | 1386 |
Byzantine calendar | 7532 – 7533 |
Coptic calendar | 1740 – 1741 |
Ethiopian calendar | 2016 – 2017 |
Hebrew calendar | 5784 – 5785 |
Holocene calendar | 12024 |
Iranian calendar | 1402 – 1403 |
Islamic calendar | 1445 – 1446 |
Korean calendar | 4357 |
Thai solar calendar | 2567 |
Unix time | 1704067200 – 1735689599 |