Changes

Jump to navigation Jump to search
m
→‎Example: add br before date range to narrow the columns
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
== Usage ==

The '''[[French Republican Calendar]]''' was a highly structured, if short-lived, calendar intended to make its users more aware of the natural world around them.

The three templates {{tl|FrRepCalHead}}, {{tl|FrRepCalLine}} and {{tl|FrRepCalFoot}} have been set up to highlight some of the patterns in the structure by using formatted tables to display the calendar information. The three templates will respectively open a table, display a table row of calendar information, and close the table.

== Syntax ==
<nowiki>{{ FrRepCalHead | Legend | PicFile }}</nowiki>
where
* ''Legend''. The month name, and its date range in the Gregorian date system, used as a column header in the calendar table.
* ''PicFile''. An optional image file to display at the top of the month column.

== Example ==
<nowiki>{| style="background:#ffffff;"
|-
{{FrRepCalHead | [[Brumaire]]<br />(22 October ~ 20 November) | Brumaire commence le 23 octobre.jpg }}
{{FrRepCalLine | 1 | 22 Oct | Pomme | [[Apple]] }}
{{FrRepCalLine | 2 | 23 Oct | Céleri | [[Celery]] }}
{{FrRepCalFoot}}
|}</nowiki>

will display as
{| style="background:#ffffff;"
|-
{{FrRepCalHead | [[Brumaire]]<br />(22 October ~ 20 November) | Brumaire commence le 23 octobre.jpg }}
{{FrRepCalLine | 1 | 22 Oct | Pomme | [[Apple]] }}
{{FrRepCalLine | 2 | 23 Oct | Céleri | [[Celery]] }}
{{FrRepCalFoot}}
|}

Each block of calls to format table rows with {{tl|FrRepCalLine}} should be preceded by a call to {{tl|FrRepCalHead}} to start the table, and followed by a {{tl|FrRepCalFoot}} to close it. For more information on the other templates, see their own documentation.

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Time, date and calendar templates|{{PAGENAME}}]]
[[Category:French Republican Calendar|{{PAGENAME}}]]
[[Category:French Republican Calendar templates|{{PAGENAME}}]]

}}</includeonly>
Anonymous user

Navigation menu