使用說明:Calendar

出自 shoutwiki
前往: 導覽搜尋

The Calendar extension is installed on every ShoutWiki-hosted wiki by default. It allows to display calendars on wiki pages with the <calendar> tag and provides a special page, Special:Events, for displaying upcoming events.

Adding a calendar[編輯]

Adding a calendar to a page is very easy - just type <calendar/>. Alternatively, you can use <calendar>upcoming=off</calendar> in order not to display a list of upcoming events or <calendar>calendar=off</calendar> to display just the list of upcoming events, but not the calendar.

CSS styling[編輯]

You can style the Special:Events special page by CSS changes in your wiki's MediaWiki:Common.css. You can copy the defaults into your wiki's MediaWiki:Common.css and alter them as you like - only heaven is the limit!

Technical info[編輯]

This extension is based on public domain code written by MediaWiki.org user Barrylb. Misza of ShoutWiki's technical staff and Jack Phoenix of ShoutWiki's Customer Support Team did some fixes to the original code, improving the functionality and customizability of the extension.