PrivacyGroupEvents: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| No edit summary | mNo edit summary | ||
| Line 1: | Line 1: | ||
| {{Demo/Help|format=Recurring events}} | |||
| {{HIDE CAT PREFIX|Demo:}} | |||
| [[Category:Parserhook examples]] | |||
| <pre> | |||
| {{#set_recurring_event:some             | |||
|  |property=has date           | |||
|  |has title=Some recurring title | |||
|  |has group=Recurring events           | |||
|  |start=June 8, 2010                                      | |||
|  |unit=day                              | |||
|  |period=1              | |||
|  |limit=10       | |||
|  |duration=7200 | |||
|  |include=March 16, 2010;March 23, 2010|+sep=; | |||
|  |exclude=March 15, 2010;March 22, 2010|+sep=; | |||
| }}   | |||
| </pre> | |||
| {{#set_recurring_event:some              | {{#set_recurring_event:some              | ||
|   |property=has date            |   |property=has date            | ||
|   |has title= |   |has title=Some recurring title | ||
|   |has group=Recurring events            |   |has group=Recurring events            | ||
|   |start= |   |start=June 8, 2010                                      | ||
|   | |   |unit=day                              | ||
|   | |  |period=1              | ||
|   | |   |limit=10       | ||
|   | |   |duration=7200 | ||
|   |include=March 16, 2010;March 23, 2010|+sep=; | |||
|   |exclude=March 15, 2010;March 22, 2010|+sep=; | |||
| }}    | }}    | ||
| ==Events== | == Events == | ||
| {{#ask: [[has group::Recurring events]]|limit=100|format=datatables|?has title|?has group}} | {{#ask: [[has group::Recurring events]]|limit=100|format=datatables|?Has date|?has title|?has group}} | ||
| {{#ask: [[has group::Recurring events]]|limit=10|format=eventcalendar|?Has date|start=latest}} | |||
Revision as of 07:01, 20 January 2015
Template:Demo/Help Template:HIDE CAT PREFIX
{{#set_recurring_event:some            
 |property=has date          
 |has title=Some recurring title
 |has group=Recurring events          
 |start=June 8, 2010                                     
 |unit=day                             
 |period=1             
 |limit=10      
 |duration=7200
 |include=March 16, 2010;March 23, 2010|+sep=;
 |exclude=March 15, 2010;March 22, 2010|+sep=;
}}  
{{#set_recurring_event:some
|property=has date |has title=Some recurring title |has group=Recurring events |start=June 8, 2010 |unit=day |period=1 |limit=10 |duration=7200 |include=March 16, 2010;March 23, 2010|+sep=; |exclude=March 15, 2010;March 22, 2010|+sep=;
}}
Events
{{#ask: has group::Recurring events|limit=100|format=datatables|?Has date|?has title|?has group}}
{{#ask: has group::Recurring events|limit=10|format=eventcalendar|?Has date|start=latest}}