Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Humanipedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:Calendar widget/doc
(section)
Module
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Linking parameters=== *{{para|lk}} β various date component linking options: *:<code>d</code> β link days in calendar to calendar day of calendar month β <code><nowiki>[[</nowiki>{{CURRENTMONTHNAME}} {{CURRENTDAY}}]]</code> *:<code>m</code> β link month in calendar header to month article β <code><nowiki>[[</nowiki>{{CURRENTMONTHNAME}}]] 2019</code> *:<code>y</code> β link year in calendar header to year article β <code>{{CURRENTMONTHNAME}} <nowiki>[[</nowiki>{{CURRENTYEAR}}]]</code> *:<code>dm</code> β link to days and month *:<code>dy</code> β link to days and year *:<code>my</code> β link to month and year *:<code>yes</code> β individually link all date components *:<code>m&y</code> β stand-alone month calendars only; link month and year together as a single composite link β <code><nowiki>[[</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}]]</code> *:<code>dm&y</code> β stand-alone month calendars only; link to days and composite month/year ====Link prefixes and suffixes==== These parameters require {{para|lk}}: *{{para|lk_pref}} β prefix for all day, month, and year links enabled by {{para|lk}}; yields to specific {{para|lk_pref_{{var|x}}}} parameters *{{para|lk_suff}} β suffix for all day, month, and year links enabled by {{para|lk}}; yields to specific {{para|lk_suff_{{var|x}}}} parameters These parameters automatically set {{para|lk}} to the appropriate value; override values assigned to {{para|lk_pref}} and {{para|lk_suff}}: *{{para|lk_pref_d}} β prefix for day links *{{para|lk_pref_m}} β prefix for month and composite month/year links *{{para|lk_pref_y}} β prefix for year links *{{para|lk_suff_d}} β suffix for day links *{{para|lk_suff_m}} β suffix for month links and composite month/year links *{{para|lk_suff_y}} β suffix for year links For stand-alone month calendars only, links to previous- and next-month targets: *{{para|prevnext}} β accepts the single value <code>yes</code>; adds generic << and >> links to month header linked to the preceding and next month articles; automatically set if any of the following parameters are set: **{{para|lk_pref_mprev}} β prefix for previous-month link **{{para|lk_suff_mprev}} β suffix for previous-month link **{{para|lk_pref_mnext}} β prefix for next-month link **{{para|lk_suff_mnext}} β suffix for next-month link =====Examples===== if the current page and section is <code><nowiki>[[An example page#May]]</nowiki></code> and there is a May calendar there, to offer links to the previous month (April) and next month (June) sections set: :{{para|k_pref_mprev|#}} β creates link to <code><nowiki>[[An example page#April]]</nowiki></code> :{{para|k_pref_mnext|#}} β creates link to <code><nowiki>[[An example page#June]]</nowiki></code> if the current page is a subpage <code><nowiki>[[An example page/May]]</nowiki></code> and there is a May calendar there, to offer links to the previous month and next month subpages set: :{{para|k_pref_mprev|../}} β creates link to <code><nowiki>[[An example page/April]]</nowiki></code> :{{para|k_pref_mnext|../}} β creates link to <code><nowiki>[[An example page/June]]</nowiki></code> ::in <code>../</code>, <code>..</code> is the parent (<code><nowiki>[[An example page]]</nowiki></code>) and <code>/</code> is the required path separator; see [[Uniform Resource Identifier]] <includeonly>{{Sandbox other|| [[Category:Time, date and calendar modules]] }}</includeonly> <noinclude> [[Category:Module documentation pages]] </noinclude>
Summary:
Please note that all contributions to Humanipedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Humanipedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)