Difference between revisions of "Template:ShowEvent"

From Pirate Party Belgium
Jump to: navigation, search
m (fix time bug)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
   | ?Has title  
 
   | ?Has title  
 
   | ?Has date  
 
   | ?Has date  
 +
  | ?Has time
 
   | ?Has location  
 
   | ?Has location  
 
   | ?Organized by  
 
   | ?Organized by  
  | ?Has time
 
 
   | format = ul
 
   | format = ul
 
   | template = Event popup
 
   | template = Event popup
Line 15: Line 15:
 
   }}
 
   }}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{ShowEvent|Crew BW/Event/18 08 2017/1}}
+
== Usage ==
 +
 
 +
<nowiki>{{ShowEvent|page1, page2|sort=false|order=asc}}</nowiki>
 +
 
 +
== Example ==
 +
 
 +
=== Events sorted by title only ===
 +
 
 +
<nowiki>{{ShowEvent|Crew BW/Event/04 09 2017/1, Pirate Lab/Meeting/26 08 2017}}</nowiki>
 +
 
 +
{{ShowEvent|Crew BW/Event/04 09 2017/1, Pirate Lab/Meeting/26 08 2017}}
 +
 
 +
=== Events sorted by date and title ===
 +
 
 +
<nowiki>{{ShowEvent|Crew BW/Event/04 09 2017/1, Pirate Lab/Meeting/26 08 2017|sort=true}}</nowiki>
 +
 
 +
{{ShowEvent|Crew BW/Event/04 09 2017/1, Pirate Lab/Meeting/26 08 2017|sort=true}}
 
</noinclude>
 
</noinclude>

Latest revision as of 22:34, 4 November 2017

Usage

{{ShowEvent|page1, page2|sort=false|order=asc}}

Example

Events sorted by title only

{{ShowEvent|Crew BW/Event/04 09 2017/1, Pirate Lab/Meeting/26 08 2017}}

Events sorted by date and title

{{ShowEvent|Crew BW/Event/04 09 2017/1, Pirate Lab/Meeting/26 08 2017|sort=true}}