Difference between revisions of "Template:Event popup"

From Pirate Party Belgium
Jump to: navigation, search
m
m
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Event|page={{#if: {{{1|}}} | {{{1}}} }}|title={{#if: {{{2|}}} | {{{2}}} }}|date={{{3|}}}|time={{{6|}}}|location={{{4|}}}|workgroup={{{5|}}}|nocategories=true|noproperties=true|nomap=true}}
+
<includeonly>{{Event|page={{{1|}}}|title={{{2|}}}|date={{{3|}}}|time={{{4|}}}|location={{{5|}}}|workgroup={{{6|}}}|nocat=true|noproperties=true|nomap=true}}</includeonly><noinclude>== Usage ==
 +
 
 +
<nowiki>{{Event popup
 +
|page
 +
|title
 +
|date
 +
|time
 +
|location
 +
|workgroup
 +
}}</nowiki>
 +
 
 +
== Example ==
 +
 
 +
{{#ask: [[Has event type::+]] [[Has coordinates::+]] [[Has date::>{{#time:Y/m/j|now}}]]
 +
| ?Has coordinates
 +
| ?Has page=page
 +
| ?Has title
 +
| ?Has date#ISO
 +
| ?Has time
 +
| ?Has location
 +
| ?Organized by
 +
| format = map
 +
| template = Event popup
 +
| sort = Has date
 +
| order = desc
 +
| limit = 10
 +
| showtitle=off
 +
| enablefullscreen = yes
 +
| scrollwheelzoom = no
 +
| markercluster = yes
 +
}}</noinclude>

Latest revision as of 11:03, 31 January 2018

Usage

{{Event popup
|page
|title
|date
|time
|location
|workgroup
}}

Example