|
|
Zeile 1: |
Zeile 1: |
| == Usage ==
| |
|
| |
|
| This template offers a unified way to present basic information about events.
| |
|
| |
| === As part of a calendar (table) ===
| |
|
| |
| This template can also be used to list several events assembled into a calendar, in conjunction with {{tlx|event header}} and {{tlx|table footer}}:
| |
| <pre>
| |
| {{TNT|Event header}}
| |
| {{event
| |
| | date =
| |
| | enddate = (optional)
| |
| | type = pick among: IRL, meeting, QA-features, QA-browser, QA-freshbugs, QA-oldbugs, other
| |
| | description =
| |
| | contact =
| |
| }}
| |
| {{Table footer}}
| |
| </pre>
| |
|
| |
| ;Example:
| |
| <pre>
| |
| {{TNT|Event header}}
| |
| {{event
| |
| | date = 2013-08-07
| |
| | enddate = 2013-08-11
| |
| | type = IRL
| |
| | description = [[wm2013:|Wikimania 2013]] (Hong Kong, China)
| |
| | contact = [[wm2013:Contact|Wikimania 2013 team]]
| |
| }}
| |
| {{event
| |
| | date = 2013-09-12
| |
| | type = QA-freshbugs
| |
| | description = Triage of fresh bugs
| |
| | contact = [[User:AKlapper (WMF)|Andre Klapper]]
| |
| }}
| |
| {{Table footer}}
| |
| </pre>
| |
| :will show:
| |
| {{TNT|Event header}}
| |
| {{event
| |
| | date = 2013-08-07
| |
| | enddate = 2013-08-11
| |
| | type = IRL
| |
| | description = [[wm2013:|Wikimania 2013]] (Hong Kong, China)
| |
| | contact = [[wm2013:Contact|Wikimania 2013 team]]
| |
| }}
| |
| {{event
| |
| | date = 2013-09-12
| |
| | type = QA-freshbugs
| |
| | description = Triage of fresh bugs
| |
| | contact = [[User:AKlapper (WMF)|Andre Klapper]]
| |
| }}
| |
| {{Table footer}}
| |
|
| |
| <!--
| |
| === As standalone ===
| |
|
| |
| This template can be used as standalone, for example as header on an event page:
| |
| <pre>
| |
| {{event
| |
| | date = 2013-08-07
| |
| | enddate = 2013-08-11
| |
| | type = IRL
| |
| | description = [[wm2013:|Wikimania 2013]] (Hong Kong, China)
| |
| | contact = [[wm2013:Contact|Wikimania 2013 team]]
| |
| | standalone = yes
| |
| }}
| |
| </pre>
| |
| :will show:
| |
| {{event
| |
| | date = 2013-08-07
| |
| | enddate = 2013-08-11
| |
| | type = IRL
| |
| | description = [[wm2013:|Wikimania 2013]] (Hong Kong, China)
| |
| | contact = [[wm2013:Contact|Wikimania 2013 team]]
| |
| | standalone = yes
| |
| }}-->
| |
| == Parameters ==
| |
|
| |
| ;Supported times: This template supports any time supported by the <code><nowiki>{{</nowiki>[[Help:Extension:ParserFunctions#.23time|#time:]]<nowiki>}}</nowiki></code> parser function.
| |
|
| |
| ;Supported event types:The icons are part of the [[Project:Visual identity]] set.
| |
|
| |
| {| class="wikitable"
| |
| ! Type code
| |
| ! align="center" | Icon
| |
| ! Used for
| |
| |-
| |
| | <code>IRL</code>
| |
| | align="center" | [[File:Community Noun project 2280.svg|30px]]
| |
| | Physical meetings, conferences, workshops
| |
| |-
| |
| | <code>meeting</code>
| |
| | align="center" | [[File:Noun project 2472.svg|30px]]
| |
| | [[Meetings|Online meetings and chats]]
| |
| |-
| |
| | <code>QA-features</code>
| |
| | align="center" | [[File:Hammer - Noun project 1306.svg|30px]]
| |
| | [[QA/Features testing|Features testing]]
| |
| |-
| |
| | <code>QA-browser</code>
| |
| | align="center" | [[File:Noun project 8974.svg|30px]]
| |
| | [[QA/Browser testing|Browser testing]]
| |
| |-
| |
| | <code>QA-freshbugs</code>
| |
| | align="center" | [[File:Bug_icon_-_Noun_project_198.svg|30px]]
| |
| | [[Bug management|Fresh bugs]]
| |
| |-
| |
| | <code>QA-oldbugs</code>
| |
| | align="center" | [[File:Spider Web - Noun project 813.svg|30px]]
| |
| | [[Bug management|Old bugs]]
| |
| |-
| |
| | <code>other</code>
| |
| | align="center" | [[File:Calendar Noun project 1194.svg|30px]]
| |
| | Other events
| |
| |-
| |
| {{table footer}}
| |
|
| |
| == See also ==
| |
|
| |
| * [[MediaWiki:Editnotice-4-Calendar]] — The [[Help:Edit notice|edit notice]] used for [[Project:Calendar]]
| |