Template:Infobox holiday: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
(Created page with "<!-- Template:Infobox holiday --> <includeonly>{{Infobox | name = {{PAGENAME}} | title = {{{title|}}} | image = {{{image|}}} | image_size = {{{image_size|}}} | alt = {{{alt|}}} | caption = {{{caption|}}} | holiday_name = {{{holiday_name|}}} | type = {{{type|}}} | official_name = {{{official_name|}}} | nickname = {{{nickname|}}} | observedby = {{{observedby|}}} | longtype = {{{longtype|}}} | si...") |
No edit summary |
||
Line 1: | Line 1: | ||
< | <includeonly> | ||
{{Infobox | |||
| name = {{PAGENAME}} | | name = {{PAGENAME}} | ||
| title = {{{title|}}} | | title = {{{title|}}} | ||
Line 21: | Line 21: | ||
| relatedto = {{{relatedto|}}} | | relatedto = {{{relatedto|}}} | ||
}} | }} | ||
[[Category:National holidays]]</includeonly><noinclude> | [[Category:National holidays]] | ||
</includeonly> | |||
<noinclude> | |||
{{Documentation | {{Documentation | ||
|content = ==Usage== | |content = ==Usage== |
Revision as of 22:22, 25 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 | |
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. |