Template:Infobox holiday: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{Infobox | {{Infobox | ||
| | | bodyclass = vcard | ||
| title | | bodystyle = {{{bodystyle|}}} | ||
| image | | titleclass = fn org | ||
| image_size | | title = {{{title|{{{holiday_name|{{PAGENAME}}}}}}}} | ||
| alt | | imageclass = logo | ||
| caption | | image = {{{image|}}} | ||
| | | image_size = {{{image_size|}}} | ||
| | | alt = {{{alt|}}} | ||
| | | caption = {{{caption|}}} | ||
| | | label1 = Holiday Name | ||
| | | data1 = {{{holiday_name|}}} | ||
| | | label2 = Type | ||
| | | data2 = {{{type|}}} | ||
| | | label3 = Official Name | ||
| | | data3 = {{{official_name|}}} | ||
| | | label4 = Nickname | ||
| | | data4 = {{{nickname|}}} | ||
| | | label5 = Observed by | ||
| | | data5 = {{{observedby|}}} | ||
| label6 = Long Type | |||
| data6 = {{{longtype|}}} | |||
| label7 = Significance | |||
| data7 = {{{significance|}}} | |||
| label8 = Date | |||
| data8 = {{{date|}}} | |||
| label9 = Scheduling | |||
| data9 = {{{scheduling|}}} | |||
| label10 = Duration | |||
| data10 = {{{duration|}}} | |||
| label11 = Frequency | |||
| data11 = {{{frequency|}}} | |||
| label12 = First Time | |||
| data12 = {{{firsttime|}}} | |||
| label13 = Related to | |||
| data13 = {{{relatedto|}}} | |||
}} | }} | ||
[[Category:National holidays]] | [[Category:National holidays]] |
Revision as of 01:08, 26 May 2024
Usage
This template is used to create an infobox for holidays, providing key details in a structured format. It is designed to be comprehensive and widely applicable across the MicrasWiki.
Parameters
- `title` - The title of the holiday (default is the page name).
- `image` - An image representing the holiday.
- `image_size` - Size of the image.
- `alt` - Alternative text for the image.
- `caption` - Caption for the image.
- `holiday_name` - The name of the holiday.
- `type` - The type of holiday (e.g., National, Religious).
- `official_name` - The official name of the holiday.
- `nickname` - Common nickname(s) for the holiday.
- `observedby` - Who observes the holiday.
- `longtype` - Additional details on the type of holiday.
- `significance` - The significance of the holiday.
- `date` - The date the holiday is observed.
- `scheduling` - Scheduling details (e.g., fixed, variable).
- `duration` - Duration of the holiday.
- `frequency` - How often the holiday occurs.
- `firsttime` - The first time the holiday was celebrated.
- `relatedto` - Related holidays or events.
Example
Example.jpg Fireworks during Natopia Day | |
Holiday Name | Natopia Day |
---|---|
Type | National |
Observed by | Natopia |
Significance | Commemorates the founding of Natopia |
Date | August 23 |
Scheduling | same day each year |
Duration | 1 day |
Frequency | annual |
First Time | 1482 |
Template Code
{{Infobox holiday | title = | image = | image_size = | alt = | caption = | holiday_name = | type = | official_name = | nickname = | observedby = | longtype = | significance = | date = | scheduling = | duration = | frequency = | firsttime = | relatedto = }}
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this template. |