Template:MeetingSidebar: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(use css class pirate-sidebar + topics support) |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine: time | {{TimeRegex | {{{time|}}} }} }}{| style=" | <includeonly>{{#vardefine: time | {{TimeRegex | {{{time|}}} }} }}{| class="pirate-sidebar" | ||
| style="padding:0" colspan=2 | | |||
{| cellspacing=0 style="width:100%;" | |||
! class="title" | {{{meetingname|Meeting}}} | |||
| class="icon" | [[File:Community Noun project 2280.svg|x25px|link=Category:Meeting]] | |||
|} | |||
|- | |- | ||
{{#if: {{{workgroup|}}} | | |||
! {{int:sidebar-workgroup}} | |||
{{!}} {{#arraymap:{{{workgroup}}}|,|x|[[x|{{ShowTitle|x}}]]|<br />}} | |||
! | {{!}}- }} | ||
! {{int:sidebar-date}} | |||
| {{#if: {{{date|}}} | | {{#if: {{{date|}}} | ||
| {{#time:D j F Y|{{{date}}}|{{int:language-code}} }}{{#vardefine: next | | {{#time:D j F Y|{{{date}}}|{{int:language-code}} }}{{#vardefine: next | ||
Line 37: | Line 42: | ||
}} | }} | ||
|- | |- | ||
! | ! {{int:sidebar-time}} | ||
| {{#if: {{{time|}}} | {{#time:{{int:sidebar-time-format}}|{{#var:time}} }} | ? }} | | {{#if: {{{time|}}} | {{#time:{{int:sidebar-time-format}}|{{#var:time}} }} | ? }} | ||
|- | |- | ||
{{#if: {{{venue|}}} | | {{#if: {{{venue|}}} | | ||
! | ! {{int:sidebar-venue}} | ||
{{!}} {{#if: {{{linkvenue|}}} | [{{{linkvenue}}} {{{venue}}}] | {{{venue}}} }} | {{!}} {{#if: {{{linkvenue|}}} | [{{{linkvenue}}} {{{venue}}}] | {{{venue}}} }} | ||
{{!}}- }} | {{!}}- }} | ||
{{#ifeq: {{{venue|}}} | Internet | {{#ifeq: {{{venue|}}} | Internet | ||
| | |||
| | | | ||
! {{int:sidebar-address}} | |||
{{!}} rowspan=2 style="padding:0" {{!}} | |||
{{!}} rowspan=2 style="padding: | |||
{{{!}} cellspacing="0" style="width:100%;" | {{{!}} cellspacing="0" style="width:100%;" | ||
{{!}} {{#if: {{{address|}}} | {{{address}}} | ? }} | {{!}} {{#if: {{{address|}}} | {{{address}}} | ? }} | ||
Line 55: | Line 60: | ||
{{!}}} | {{!}}} | ||
{{!}}- | {{!}}- | ||
! | ! {{int:sidebar-city}} | ||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{attendees|}}} | | {{#if: {{{attendees|}}} | | ||
! | ! {{int:sidebar-attendees}} | ||
{{!}} {{{attendees}}} | {{!}} {{{attendees}}} | ||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{absentees|}}} | | {{#if: {{{absentees|}}} | | ||
! | ! {{int:sidebar-absentees}} | ||
{{!}} {{{absentees}}} | {{!}} {{{absentees}}} | ||
{{!}}- }} | {{!}}- }} | ||
Line 76: | Line 81: | ||
}} | }} | ||
{{!}}} | {{!}}} | ||
{{!}}- }} | |||
{{#if: {{{topics|}}} | | |||
! Topics | |||
{{!}} {{#arraymap:{{{topics}}}|,|x|[[x|{{ShowTitle|x}}]]|<br />}} | |||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{city|}}} | {{#if: {{{city|}}} | ||
Line 93: | Line 102: | ||
}} | }} | ||
{{#if: {{{date|}}} | | {{#if: {{{date|}}} | | ||
! | ! {{int:sidebar-export}} | ||
{{!}} style="text-align:center;" {{!}} {{ExportEvent|{{FULLPAGENAME}}|workgroup={{{workgroup|}}}|date={{{date|}}} }} | {{!}} style="text-align:center;" {{!}} {{ExportEvent|{{FULLPAGENAME}}|workgroup={{{workgroup|}}}|date={{{date|}}} }} | ||
{{!}}- }} | {{!}}- }} | ||
| colspan="2" style="text-align: center;" | {{#formlink:form=Meeting event|preload={{FULLPAGENAME}}|link text={{int:sidebar-clone-meeting}} }} | | colspan="2" style="text-align: center;" | '''{{#formlink:form=Meeting event|preload={{FULLPAGENAME}}|link text={{int:sidebar-clone-meeting}} }}''' | ||
|}{{#switch: {{SUBPAGENAME}} | |}{{#switch: {{SUBPAGENAME}} | ||
| fr = | nl = | en = | de = | | fr = | nl = | en = | de = | ||
Line 105: | Line 114: | ||
}} | }} | ||
| Organized by={{{workgroup|}}}|+sep=, | | Organized by={{{workgroup|}}}|+sep=, | ||
| In topic={{{topics|}}}|+sep=, | |||
| Has date={{#time:Y/m/d H:i|{{{date}}} {{#var: time}} }} | | Has date={{#time:Y/m/d H:i|{{{date}}} {{#var: time}} }} | ||
| Has time={{#if: {{#var:time}} | {{#time:H:i|{{#var: time}} }} }} | | Has time={{#if: {{#var:time}} | {{#time:H:i|{{#var: time}} }} }} | ||
Line 131: | Line 141: | ||
|meetingname = Our awesome meeting | |meetingname = Our awesome meeting | ||
|workgroup = An awesome team, Another team | |workgroup = An awesome team, Another team | ||
|topics = Some good topic | |||
|date = 14 nov 2016 | |date = 14 nov 2016 | ||
|time = 12am | |time = 12am | ||
Line 147: | Line 158: | ||
|meetingname = Our awesome meeting | |meetingname = Our awesome meeting | ||
|workgroup = An awesome team, Another team | |workgroup = An awesome team, Another team | ||
|topics = Some good topic | |||
|date = 14 nov 2016 | |date = 14 nov 2016 | ||
|time = 12am | |time = 12am |
Revision as of 10:56, 25 September 2017
| |||
Workgroup | An awesome team Another team | ||
---|---|---|---|
Date | Mon 14 November 2016 | ||
Time | 12:00am | ||
Venue | Flying Dutchman | ||
Address |
| ||
City | |||
Attendees | Jack, Mary, Jurgen | ||
Absentees | Paul, Eve | ||
Topics | Some good topic | ||
Find routes on OpenStreetMap | |||
Export | iCalendar | ||
Clone this meeting |
Usage
{{MeetingSidebar |meetingname = Our awesome meeting |workgroup = An awesome team, Another team |topics = Some good topic |date = 14 nov 2016 |time = 12am |venue = Flying Dutchman |linkvenue = http://www.the-flying-dutchman.nl/ |address = Treasure Island 666 |postalcode = 9000 |city = Atlantica |attendees = Jack, Mary, Jurgen |absentees = Paul, Eve }}