Difference between revisions of "Template:Event"
Line 38: | Line 38: | ||
}} {{#if: {{{noproperties|}}} | }} {{#if: {{{noproperties|}}} | ||
| | | | ||
− | | {{#arraymap:{{{date|}}}|,|{date}|{{#subobject: {{# | + | | {{#if: {{{date|}}} |
+ | | {{#arraymap:{{{date|}}}|,|{date}|{{#subobject: {{#time: d m Y|{date} }} | ||
+ | |Has title={{{title|}}} | ||
+ | |Has date={{#time:Y/m/d H:i|{date} {{{time|}}} }} | ||
+ | |Has time={{{time|}}} | ||
+ | |Has address={{{address|}}} | ||
+ | |In venue={{{venue|}}} | ||
+ | |Has link venue={{{linkvenue|}}} | ||
+ | |In city={{{city|}}} | ||
+ | |In postal code={{{postalcode|}}} | ||
+ | |Has coordinates={{#if: {{#varexists:coords}} | ||
+ | | {{#var:coords}} | ||
+ | | {{Coordinates | ||
+ | |address={{{address|}}} | ||
+ | |venue={{{venue|}}} | ||
+ | |city={{{city|}}} | ||
+ | }} | ||
+ | }} | ||
+ | |Has location={{#if: {{{venue|}}} | ||
+ | | {{{venue}}} {{#if: {{{address|}}}{{{city|}}} | – }} | ||
+ | }} {{#if: {{{address|}}} | ||
+ | | {{{address}}}{{#if: {{{city|}}} | , }} | ||
+ | }} {{{city|}}} | ||
+ | |Has url={{fullurl:{{FULLPAGENAME}}}} | ||
+ | |Has event type={{{type|}}} | ||
+ | |Organized by={{{workgroup|}}}|+sep=, | ||
+ | |Has page={{FULLPAGENAME}} | ||
+ | }}| | ||
+ | }} | ||
+ | | {{#set: | ||
|Has title={{{title|}}} | |Has title={{{title|}}} | ||
− | |||
− | |||
|Has address={{{address|}}} | |Has address={{{address|}}} | ||
|In venue={{{venue|}}} | |In venue={{{venue|}}} | ||
Line 64: | Line 91: | ||
|Organized by={{{workgroup|}}}|+sep=, | |Organized by={{{workgroup|}}}|+sep=, | ||
|Has page={{FULLPAGENAME}} | |Has page={{FULLPAGENAME}} | ||
− | }} | + | }} |
}} | }} | ||
}}</includeonly> | }}</includeonly> |