Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Calendar/doc: Difference between revisions

Template page
Content added Content deleted
(removed one category)
(one category added)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{doc-sub}}</noinclude>
<noinclude>{{doc-sub}}</noinclude>
The {{tp|calendar}} template displays the calendar for a particular month.
==Usage==
==Usage==
* <code><nowiki>{{calendar|month name}}</nowiki></code>
To place the calendar on any page use the following code: <code><nowiki>{{calendar|month name}}</nowiki></code> Simply substitute ''month name'' for any month of the year. For months with less than 31 days, use the following parameters to hide those days from the calendar.
==Parameters==
==TemplateData==
<templatedata>
*hide29=yes
{
*hide30=yes
"params": {
*hide31=yes
"1": {
"label": "Month",
"description": "Month name you wish to display a calendar for",
"example": "August",
"type": "string",
"required": true,
"suggested": true
}
},
"description": "Displays the calendar for a particular month",
"format": "inline"
}
</templatedata>


Example: <code><nowiki>{{calendar|month name|hide31=yes}}</nowiki></code>
<!-- template categories and interwiki links -->
<!-- template categories and interwiki links -->
<includeonly>
<includeonly>
[[Category:Navplate templates]]
[[Category:Calendar templates]]
[[Category:Calendar templates]]
[[Category:Formatting templates]]
[[Category:Formatting templates]]

Latest revision as of 22:10, 9 July 2023

This is a documentation subpage for Template:Calendar.
It contains usage information, categories and other content that is not part of the original template page.


The {{calendar}} template displays the calendar for a particular month.

Usage

  • {{calendar|month name}}

TemplateData

Displays the calendar for a particular month

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Month1

Month name you wish to display a calendar for

Example
August
Stringrequired


Cookies help us deliver our services. By using our services, you agree to our use of cookies.