Difference between revisions of "Template:Event calendar item"

From Karlswiki
Jump to navigation Jump to search
Line 16: Line 16:
 
; End: [[Has event end::{{{end|}}}| ]] {{#time: D | {{{end|}}} |{{{lang|en}}} }}: {{#time: d F Y H:i |{{{end|}}}|{{{lang|en}}} }} ({{#time: l | {{{end|}}} | de }}){{#if:{{{location|}}}|; Location: {{#ifexist: {{{location}}} | [[{{{location}}}]]| {{{location}}} }} {{#set:Has event location={{{location}}}}}}}{{#if:{{{organization|}}}|; Organization: {{#ifexist: {{{organization}}} | [[{{{organization}}}]]| {{{organization}}} }} {{#set:Organization is={{{organization}}}}}}}
 
; End: [[Has event end::{{{end|}}}| ]] {{#time: D | {{{end|}}} |{{{lang|en}}} }}: {{#time: d F Y H:i |{{{end|}}}|{{{lang|en}}} }} ({{#time: l | {{{end|}}} | de }}){{#if:{{{location|}}}|; Location: {{#ifexist: {{{location}}} | [[{{{location}}}]]| {{{location}}} }} {{#set:Has event location={{{location}}}}}}}{{#if:{{{organization|}}}|; Organization: {{#ifexist: {{{organization}}} | [[{{{organization}}}]]| {{{organization}}} }} {{#set:Organization is={{{organization}}}}}}}
 
; Language: [[Language used::{{{lang|de}}}]] {{#if:{{{lang2|}}}| and [[Language used::{{{lang2}}}]]}}
 
; Language: [[Language used::{{{lang|de}}}]] {{#if:{{{lang2|}}}| and [[Language used::{{{lang2}}}]]}}
  +
{{#if: {{{tags|}}}|; Schlagworte: {{Semantic-Array|{{{tags}}}|has tag}} }}
 
{{#ifexpr: <!-- show only until 2h/7200 sec after start -->
 
{{#ifexpr: <!-- show only until 2h/7200 sec after start -->
 
{{#expr: {{#timel: U | now }} - 7200 }} < {{#time: U | {{{start|2000-01-01}}} }}
 
{{#expr: {{#timel: U | now }} - 7200 }} < {{#time: U | {{{start|2000-01-01}}} }}

Revision as of 14:42, 6 December 2014

Template for Category:Events