Jump to content

Template:Republican Calendar: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Chameleon (talk | contribs)
m typo
m fixed overflow after midnight
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RepCalendar/1|MO={{#if:{{{1|}}}|{{{2|0}}}|1}}|y={{#ifexpr:{{{1|0}}}|{{{1}}}|{{LOCALREPYEAR}}}}
{{Republican Calendar/1|MO={{#if:{{{1|}}}|{{{2|0}}}|1}}|y={{#ifexpr:{{{1|0}}}|{{{1}}}|{{LOCALREPYEAR}}}}
|gy={{LOCALYEAR}}|gm={{LOCALMONTH}}|gd={{LOCALDAY2}}
|gy={{LOCALYEAR}}|gm={{LOCALMONTH}}|gd={{LOCALDAY2}}
|pt={{#if:{{{3|}}}|2|{{#ifexpr:{{{1|0}}}|0|1}}}}
|pt={{#if:{{{3|}}}|2|{{#ifexpr:{{{1|0}}}|0|1}}}}
|dnr={{#expr:{{{2|1}}}*30+{{{3|1}}}-31}}
|dnr={{#expr:{{{2|1}}}*30+{{{3|1}}}-31}}
|t={{LOCALHOUR}}:{{#time:i}}:{{#time:s}}|{{#expr:({{LOCALHOUR}}+{{#time:i}}/60+{{#time:s}}/3600)/2.4}}}}<noinclude>
|t={{LOCALHOUR}}:{{#time:i}}:{{#time:s}}|{{#expr:({{#time:U}}+561)mod86400/8640}}}}<noinclude>{{doc}}<!-- place category and language links on the /doc sub-page, not here -->


__NOTOC__

Template '''<nowiki>{{Republican Calendar}}</nowiki>''' shows sheets of the French republican calendar.
* Without parameters the current month is shown, with the current day highlighted.
* With parameter 0 the current year is shown, with the current day highlighted.
* With one parameter the indicated year is shown.
* With two parameters, year + month, the indicated month is shown.
* With three parameters, year + month + day, the indicated date is highlighted.
* The complementary days are indicated as month 13.

====Examples====
<pre>
* {{Republican Calendar}} shows the current month
* {{Republican Calendar|0}} current year
* {{Republican Calendar|123}} year 123
* {{Republican Calendar|123|4}} fourth month of the year 123
* {{Republican Calendar|123|4|26}} with day 26 highlighted
</pre>

====Adaptation for other Wikis====
* [[template:GregMonthName]] + [[template:GregDayName]] contain the names of the months and days of the week.
* [[template:RepMonthNames]] contains the links to the pages about the months.
* [[French Republican Calendar/RommeSystem]] contains the leap year remarks.
* [[template:14RepMonths/3]] contains the header text for the collapsible conversion table.
* [[template:RepMonth]] and [[template:JoursComplement]] contain [[template:Roman]]; this template converts to Roman numerals, and probably has another name, for instance template:Nombre&nbsp;en&nbsp;romain.
* Change the subpage names (French Republican Calendar/...) according to your own page name, and adapt [[template:NavigationRepYears]].

[[Category:Time, date and calendar templates|{{PAGENAME}}]]
[[Category:French Republican Calendar|{{PAGENAME}}]]
[[Category:French Republican Calendar templates|{{PAGENAME}}]]

[[de:Vorlage:RepublikanischerKalender]]
[[fr:modèle:Calendrier Républicain]]
[[nl:sjabloon:Republikeinse Kalender]]
</noinclude>

Latest revision as of 11:05, 21 March 2016

Year: 233 Month: Nivôse Year: CCXXXIII
Day of the 10-day
week (décade)
Primidi
Duodi
Tridi
Quartidi
Quintidi
Sextidi
Septidi
Octidi
Nonidi
Décadi
décade 10
1 Saturday
21 December 2024
2 Sunday
22 December 2024
3 Monday
23 December 2024
4 Tuesday
24 December 2024
5 Wednesday
25 December 2024
6 Thursday
26 December 2024
7 Friday
27 December 2024
8 Saturday
28 December 2024
9 Sunday
29 December 2024
10 Monday
30 December 2024
décade 11
11 Tuesday
31 December 2024
12 Wednesday
1 January 2025
13 Thursday
2 January 2025
14 Friday
3 January 2025
15 Saturday
4 January 2025
16 Sunday
5 January 2025
17 Monday
6 January 2025
18 Tuesday
7 January 2025
19 Wednesday
8 January 2025
20 Thursday
9 January 2025
décade 12
21 Friday
10 January 2025
22 Saturday
11 January 2025
23 Sunday
12 January 2025
24 Monday
13 January 2025
25 Tuesday
14 January 2025
26 Wednesday
15 January 2025
27 Thursday
16 January 2025
28 Friday
17 January 2025
29 Saturday
18 January 2025
30 Sunday
19 January 2025
Decimal time – 10 h/day
Paris
1h33m94s
Nivôse
Nivôse
03:03:32
Time of day - 24 h/day
Greenwich