Template:OutingInfo: Difference between revisions

From SUWS-wiki
mNo edit summary
(Updated template to use event banners)
Line 2: Line 2:
{{TemplateUsage|message=Use this template to add a outing's specifics to the page.  After adding this template to a page, it is important to purge the cache (using the refresh link) of the previous outing's page (which will be automatically linked to by this template), and also of the [[Outings]] page.}}
{{TemplateUsage|message=Use this template to add a outing's specifics to the page.  After adding this template to a page, it is important to purge the cache (using the refresh link) of the previous outing's page (which will be automatically linked to by this template), and also of the [[Outings]] page.}}
{{OutingInfo|date=2009/09/26|time=18:00|enddate=2009/09/27|endtime=02:00|location=Milford-on-Sea}}
{{OutingInfo|date=2009/09/26|time=18:00|enddate=2009/09/27|endtime=02:00|location=Milford-on-Sea}}
</noinclude><includeonly>Outing (to be) held from  
</noinclude><includeonly>{{AdjacentEvents|type=Event|date={{{date}}}|time={{{time}}}}}{{AdjacentEvents|type=Outing|date={{{date}}}|time={{{time}}}}}
 
Outing (to be) held from  
{{#ifeq: {{{date}}} | {{{enddate}}} | {{{time}}}-{{{endtime}}} on {{{date}}} [[has date::{{{date}}} {{{time}}}|]] [[has end date::{{{date}}} {{{endtime}}}|]] | {{{time}}} on {{{date}}} [[has date::{{{date}}} {{{time}}}|]] - {{{endtime}}} on {{{enddate}}} [[has end date::{{{enddate}}} {{{endtime}}}|]]}} in/on {{LocationInfo|{{{location}}}}}
{{#ifeq: {{{date}}} | {{{enddate}}} | {{{time}}}-{{{endtime}}} on {{{date}}} [[has date::{{{date}}} {{{time}}}|]] [[has end date::{{{date}}} {{{endtime}}}|]] | {{{time}}} on {{{date}}} [[has date::{{{date}}} {{{time}}}|]] - {{{endtime}}} on {{{enddate}}} [[has end date::{{{enddate}}} {{{endtime}}}|]]}} in/on {{LocationInfo|{{{location}}}}}
Previous outing: {{PreviousOutingLink|date={{{date}}}|time={{{time|11:00}}}}}
Next outing: {{NextOutingLink|date={{{date}}}|time={{{time|11:00}}}}}


[[Category:Outings]]
[[Category:Outings]]

Revision as of 15:54, 25 March 2018


Suws-logo-yellow.png

Template usage:
Use this template to add a outing's specifics to the page. After adding this template to a page, it is important to purge the cache (using the refresh link) of the previous outing's page (which will be automatically linked to by this template), and also of the Outings page.

[[|]] | Current Event:

 | 

Outing 7 May 2011 11:00:00 >>

[[|]] | Current Outing:

 | 

[[|]]

Outing (to be) held from 18:00 on 2009/09/26 - 02:00 on 2009/09/27 in/on Milford-on-Sea