Difference between revisions of "Template:Event"
(10 intermediate revisions by the same user not shown) | |||
Line 20: | Line 20: | ||
}} {{#if: {{{address|}}} | – {{{address}}} }} | }} {{#if: {{{address|}}} | – {{{address}}} }} | ||
| {{#if: {{{address|}}} | {{{address}}} | ? }} | | {{#if: {{{address|}}} | {{{address}}} | ? }} | ||
− | }}<br />{{#if: {{{postalcode|}}} | + | }}{{#switch: {{lc:{{{venue|}}}}} | internet = | online = |
− | + | | #default = <br />{{#if: {{{postalcode|}}} | |
− | + | | {{{postalcode}}} {{#if: {{{city|}}} | {{{city}}} | ? }} | |
+ | | {{#if: {{{city|}}} | {{{city}}} | ? }} | ||
+ | }} | ||
}} | }} | ||
}}{{#ifeq: {{{nomap|}}} | true | }}{{#ifeq: {{{nomap|}}} | true | ||
Line 32: | Line 34: | ||
|city={{{city|}}} | |city={{{city|}}} | ||
}} | }} | ||
− | }}{{#display_map: {{#var: coords}} | height=225px | width=300px}} | + | }}{{#display_map: {{#var: coords}} | height=225px | width=300px | enablefullscreen = yes | scrollwheelzoom = no }} |
}} {{#if: {{{nocat|}}} | }} {{#if: {{{nocat|}}} | ||
| | | | ||
Line 38: | Line 40: | ||
}} {{#if: {{{noproperties|}}} | }} {{#if: {{{noproperties|}}} | ||
| | | | ||
− | | {{# | + | | {{#switch: {{SUBPAGENAME}} |
− | + | | fr = | nl = | en = | de = | |
+ | | {{#arraymap:{{#if: {{{date|}}} | {{{date}}} | ? }}|,|{date}|{{#subobject: | ||
+ | {{#ifeq: {date} | ? | ||
+ | | | ||
+ | | {{#time: d m Y|{date} }} | ||
+ | }} | ||
|Has title={{{title|}}} | |Has title={{{title|}}} | ||
− | |Has date={{#time:Y/m/d H:i|{date} {{{time|}}} }} | + | |Has date={{#ifeq: {date} | ? |
+ | | | ||
+ | | {{#time:Y/m/d H:i|{date} {{{time|}}} }} | ||
+ | }} | ||
+ | |Has end date={{#ifeq: {date} | ? | ||
+ | | | ||
+ | | {{#time:Y/m/d H:i|{date} {{{time|}}} }} | ||
+ | }} | ||
|Has time={{{time|}}} | |Has time={{{time|}}} | ||
+ | |Has end time={{{time|}}} | ||
|Has address={{{address|}}} | |Has address={{{address|}}} | ||
|In venue={{{venue|}}} | |In venue={{{venue|}}} | ||
Line 66: | Line 81: | ||
|Has page={{FULLPAGENAME}} | |Has page={{FULLPAGENAME}} | ||
}}| | }}| | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
}} | }} | ||
}}</includeonly> | }}</includeonly> |