|
|
| Zeile 1: |
Zeile 1: |
| <includeonly>__NOTOC__ __NOEDITSECTION__<!-- | | <includeonly>{{#cargo_query:tables=Events|fields=_pageName=Event,EventDate=Date,Summary,Participants,Location|format=calendar|calendar field=EventDate|start date={{{year}}}-{{{month}}}-01|end date={{{year}}}-{{{month}}}-31}}</includeonly> |
| -->{{#vardefine:width|{{{width|}}}}}<!--
| |
| -->{{#vardefine:noadd|{{{noadd|}}}}}<!--
| |
| -->{{#vardefine:nolink|{{{nolink|}}}}}<!--
| |
| -->{{#vardefine:purpose|{{{purpose|}}}}}<!--
| |
| -->{{#vardefine:show|{{{show|}}}}}<!--
| |
| -->{{#vardefine:namespace|{{{namespace|}}}}}
| |
| {| width="{{{width|}}}" class="submers-calendar-wrapper"
| |
| |{{CalendarSingle|year={{{year}}}|month={{{month}}}|show_year=yes|basepage={{{basepage}}}|eventList={{{eventList|}}}}}
| |
| |}
| |
| {{#dpl:debug=1
| |
| |{{#if:{{{namespace|}}}|namespace={{{namespace}}}}}
| |
| |{{#if:{{{purpose|}}}|category={{{purpose}}}}}
| |
| |notnamespace=Vorlage
| |
| |category=Events
| |
| |{{#ifeq:{{{eventList|}}}|no|category=does not exist ..}}
| |
| |{{#ifeq:{{{eventList|}}}|all||titlematch={{{year}}}-{{{month}}}-%{{!}}YYYY-{{{month}}}-%{{!}}YYYY-MM-%}}
| |
| |include=#Summary,#Participants,#Location
| |
| |mode=userformat
| |
| |resultsheader=There are %PAGES% events planned{{#ifeq:{{{eventList|}}}|current| this month}}.¶
| |
| |noresultsheader={{#ifeq:{{{eventList|}}}|no||No events planned.¶}}
| |
| |listseparators={¦ class="sortable" ¶!Date / Event name ¶!Event summary ¶!Participants ¶!Location ¶!Categories,¶¦-¶¦<h5>[[%PAGE%|%TITLE%]]</h5>,¶¦ %CATLIST%,¶¦}
| |
| |secseparators=¶¦
| |
| |ordermethod=title
| |
| |addcategories=true
| |
| |shownamespace=no
| |
| |order=ascending
| |
| }} | |
| </includeonly><noinclude>[[Category:Calendar Templates]]</noinclude> | |