Template:Calendar date/infobox/sandbox
![]() | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Calendar date/infobox (diff). |
Template:Calendar date/infobox is used on infoboxes, such as {{Infobox holiday}} to add event dates.
Usage
{{Calendar date/infobox|year=}}
Parameter list
Parameter | Explanation |
---|---|
year
|
The year the event takes place. Most uses can use one of the preset values: |year=last , |year=current , |year=next or |year=next2 . Can also accept any manual year value.
|
holiday
|
The name of the holiday. If left empty the template uses {{PAGENAMEBASE}} , which uses the name of the article without disambiguation.
|
cite
|
Set to "no" if there is no reference attached to eliminate the citation error. |
Example
<syntaxhighlight lang="wikitext">
| date2024 = Error in {{Calendar date}} - Check |holiday=
unknown holiday Calendar date/infobox/sandbox
| date2025 = Error in {{Calendar date}} - Check |holiday=
unknown holiday Calendar date/infobox/sandbox
| date2026 = Error in {{Calendar date}} - Check |holiday=
unknown holiday Calendar date/infobox/sandbox
| date2027 = Error in {{Calendar date}} - Check |holiday=
unknown holiday Calendar date/infobox/sandbox
</syntaxhighlight>