Template:Infobox month/doc: Difference between revisions
Appearance
>WOSlinker m syntaxhighlight lang="wikitext" |
(No difference)
|
Latest revision as of 06:43, 21 May 2023
| File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox month. It may contain usage information, categories and other content that is not part of the original template page. |
| File:Information icon4.svg | This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
| File:Lua-Logo.svg | This template uses Lua: |
Infobox month is used to create an infobox which summarizes the main information of a particular month.
Usage
| Infobox month/doc | |
|---|---|
| [[File:{{{image}}}|215px|alt={{{alt}}}]] {{{caption}}} | |
| Native name | {{{native_name}}} Error {{native name checker}}: parameter value is malformed (help) |
| Calendar | {{{calendar}}} |
| Month number | {{{num}}} |
| Number of days | {{{days}}} |
| Season | {{{season}}} |
| Gregorian equivalent | {{{gregorian}}} |
| Significant days | {{{holidays}}} |
{{Infobox month
| image =
| alt =
| caption =
| native_name =
| calendar =
| num =
| days =
| season =
| gregorian =
| holidays =
| prev_month =
| next_month =
}}
Parameters
| Parameter | Explanation |
|---|---|
| image | An image, if needed. Wikilinking, "File:", and pixel size not required. |
| alt | Alt text for image per WP:MOSALT. |
| size | Image size in pixels. Defaults to 215px. |
| caption | A caption explaining the image. |
| native_name | The name of the month in the native language. Use {{Native name}}. |
| calendar | A link to the calendar's name the month belongs to. |
| num | The month's number. |
| days | The number of days in the month. |
| season | The season the month takes place in. |
| gregorian | The names of the Gregorian calendar months the month takes place in. |
| holidays | The name of the holidays that take place in the month. Wikilink to article. Separate multiple holidays with bulleted lists (*).
|
| prev_month | A link to the previous month in the calendar. |
| next_month | A link to the next month in the calendar. |
Tracking category