Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
BRUS Wikipedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:Current events calendar/doc
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
Get shortened URL
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!
{{module rating|protected}} {{Uses TemplateStyles|Module:Current events calendar/styles.css}} {{high-use|543}} This module generates calendars for [[Portal:Current events]] and [[:Category:Current events archives]]. The current day and the previous six days are linked to the corresponding section of the page. The module also supports archival calendars when month and year parameters are passed. Note that the Current Month version will only link the previous six days and will include a link of form: [[Portal:Current events/{{CURRENTMONTHNAME}} {{CURRENTYEAR}}|More {{CURRENTMONTHNAME}} {{CURRENTYEAR}} events...]]. == Usage on [[Portal:Current events]] == {{#invoke:current events calendar|main}} == Usage on [[:Category:Current events archives]] pages == {{#invoke:current events calendar|main|year='''[four digit numerical year]'''|month='''[One or two digit number from 1 to 12]'''}} == Example: Current Events front page version == This version assumes that it is displayed in a page that will set padding/margins/gutters in parent containing elements. It will expand to a maximum of 350px wide and remain centered in the column. It includes a link to the full month's page in the footer. Only the six most recent days of the month will have hyperlinks, reflecting the 6 most recent days of content on the [[Portal:Current events]] page. {{#invoke:current events calendar|main}} {{clear}} == Example: Current Events archive version == This version assumes that it is displayed in a page that uses a table-based layout and expect individual children to set their margins and padding. It will expand to a maximum of 350px wide and puts an 8px margin on the top and left side of the calendar. It has no footer. All days will have links to the appropriate section of the page it is displayed in. {{#invoke:current events calendar|main|year=1997|month=1}} {{clear}} == Sandbox version == {{#invoke:current events calendar/sandbox|main}} <includeonly>{{Sandbox other|| [[Category:Time, date and calendar modules]] }}</includeonly><noinclude> [[Category:Module documentation pages]] </noinclude>
Summary:
Please note that all contributions to BRUS Wikipedia 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
BRUS Wikipedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Templates used on this page:
Template:Clear
(
edit
)
Template:High-use
(
edit
)
Template:Module rating
(
edit
)
Template:Uses TemplateStyles
(
edit
)
Module:Arguments
(
edit
)
Module:Current events calendar
(
edit
)
Module:Current events calendar/sandbox
(
edit
)
Module:High-use
(
edit
)
Module:List
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:TNT
(
edit
)
Module:TableTools
(
edit
)
Module:Transclusion count
(
edit
)
Module:Transclusion count/data/C
(
edit
)
Module:Uses TemplateStyles
(
edit
)
Module:Uses TemplateStyles/config
(
edit
)
Module:Yesno
(
edit
)