Template:Eventseries: Difference between revisions

From Karlswiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>template
 
<noinclude>template
 
<nowiki>{{</nowiki>{{PAGENAME}}}}
 
<nowiki>{{</nowiki>{{PAGENAME}}}}
<nowiki>{{</nowiki>{{PAGENAME}}|English Speakers’ Stammtisch}}
+
<nowiki>{{</nowiki>{{PAGENAME}}|Events of English Speakers’ Stammtisch}}
 
<nowiki>{{</nowiki>{{PAGENAME}}|English Speakers’ Stammtisch|future=1|past=0}}
 
<nowiki>{{</nowiki>{{PAGENAME}}|English Speakers’ Stammtisch|future=1|past=0}}
</noinclude><onlyinclude>{{#ask: [[Belongs to event series::{{{1|{{PAGENAME}}}}}]][[Has event start::>{{#calendarstartdate:}}]]
+
</noinclude><onlyinclude>{{#ask: [[Belongs to event series::{{{1|{{PAGENAME}}}}}]][[Has event start::>{{#time: Y-m-d }}]][[Has event type::!planned]]
|intro=<h2> Events of {{{1|{{PAGENAME}}}}}</h2>
+
|intro=<h2>{{{1|Events of {{PAGENAME}}}}}</h2>
|mainlabel=Details
+
|mainlabel=-
 
|?Has event=Event
 
|?Has event description=Description
 
|?Has event description=Description
|?Has event start#ISO = Start
+
|?Has event start = Start
|?Has event end#ISO = End
+
|?Has event end = End
 
|?=Details
|?Has event type = Type
 
 
|sort=Has event start
 
|sort=Has event start
 
|limit={{{future|100}}}
 
|limit={{{future|100}}}
 
|headers=plain
 
|headers=plain
 
|searchlabel=
 
|searchlabel=
  +
}}{{#vardefine:limitplanned|
}}{{#ask: [[Belongs to event series::{{PAGENAME}}]][[Has event start::<{{#calendarstartdate:}}]]
 
  +
{{#expr: {{{future|100}}} -
|intro=<h2> Past Events of {{{1|{{PAGENAME}}}}}</h2>
 
 
{{#ask: [[Belongs to event series::{{{1|{{PAGENAME}}}}}]][[Has event start::>{{#time: Y-m-d }}]][[Has event type::!planned]]
|mainlabel=Details
 
  +
|format=count}}}} }}{{#ifexpr: {{#var:limitplanned}} > 0 | {{#ask:
  +
[[Belongs to event series::{{{1|{{PAGENAME}}}}}]][[Has event start::>{{#time: Y-m-d }}]][[Has event type::planned]]
  +
|intro=<h2>{{{1|Events of {{PAGENAME}}}}} (Planned)</h2>
  +
|mainlabel=-
 
|?Has event=Event
  +
|?Has event description=Planned description
  +
|?Has event start = Planned start
  +
|?=Details
  +
|sort=Has event start
  +
|limit={{#var:limitplanned}}
  +
|headers=plain
  +
|searchlabel=
  +
}}}}{{#ifexpr: {{{past|100}}} > 0 |{{#ask: [[Belongs to event series::{{{1|{{PAGENAME}}}}}]][[Has event start::<{{#time: Y-m-d }}]][[Has event type::!canceled]]
 
|intro=<h2>{{{1|Events of {{PAGENAME}}}}} (Past)</h2>
  +
|mainlabel=-
  +
|?Has event=Event
 
|?Has event description=Description
 
|?Has event description=Description
|?Has event start#ISO = start
+
|?Has event start = start
 
|order=descending
|?Has event end#ISO = end
 
  +
|?=Details
 
|headers=plain
 
|headers=plain
 
|sort=Has event start
 
|sort=Has event start
|order=reverse
 
 
|limit={{{past|100}}}
 
|limit={{{past|100}}}
  +
|searchlabel=
}}</onlyinclude><noinclude>
+
}}}}</onlyinclude><noinclude>
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 17:11, 14 February 2015

template

{{Eventseries}}
{{Eventseries|Events of English Speakers’ Stammtisch}}
{{Eventseries|English Speakers’ Stammtisch|future=1|past=0}}