Difference between pages "Partners' Programme" and "Template:!-"

From LCA2015 Delegate wiki
(Difference between pages)
Jump to: navigation, search
(Welcome!)
 
(Created a metatemplate for the pipe and dash character combo for table rows.)
 
Line 1: Line 1:
 +
<includeonly>|-</includeonly><noinclude>
 +
This is an auxiliary template allowing "|-" to be encoded within template parameters. The "|-" delimiter for a Wiki table has to be escaped by a template if it's used within a template.
  
== '''Linux.conf.au 2015 Partner's Programme''' ==
+
This template can be used to parse tables correctly in templates. For example, the table:
 
+
<pre>
   
+
{| some table
 
+
|- some row
'''Welcome! '''
+
| some cell
 
+
|
== Partner’s Programme Itinerary ==
+
|}
 
+
}}
 
+
</pre>
'''Monday January 12th:'''
+
Can be written as:
 
+
<pre>
8:45am - Official Maori Welcome @ Auckland University.
+
{{sometemplate|someparameter={
 
+
    {{!}} some table
10:30am - On the bus and away to the Maritime Museum.  
+
    {{!-}} some row
 
+
    {{!}} some cell
1pm - Lunch on the Navigator Outrigger (an above ground Hāngi).
+
    {{!}}
 
+
    {{!}}
And for the afternoon a cruise up the Viaduct on the TE AURERE.
+
  }
 
+
}}
 
+
</pre>
'''Tuesday January 13th:'''
+
[[Category:Metatemplates]]
 
+
</noinclude>
9:30am - Meet at the University to catch the bus for Auckland's Museum Of Transport And Technology (MOTAT).
+
 
+
1:30pm - A wander in the beautiful Western Springs Park.
+
 
+
 
+
'''Wednesday January 14th:'''
+
 
+
8:30am - Meet at the University to catch the bus for the Rangitoto Island Volcanic Tour.
+
 
+
1:30pm - Return to the University for lunch and with plenty of time to prepare for the Penguin Dinner.
+
 
+
 
+
'''Thursday January 15th:'''
+
 
+
9:30am - Meet at Auckland University for a tour of Mount Eden and Eden Garden.
+
 
+
12:30pm - Returning for lunch at Auckland University.
+
 
+
This afternoon is “free range”. You can wander Auckland’s CBD and shops, hang out in the University or join a group for a Day Spa Experience at The Langham Hotel.
+
 
+
----
+
We have secured a special offer at The Chuan Spa at The Langham.
+
For NZ$200 and one and a half hours you will receive:
+
 
+
* A head massage
+
 
+
* A full facial
+
 
+
* A back massage
+
 
+
* Champagne
+
 
+
This package is normally valued at $350.
+
 
+
Numbers are limited (up to 8) so interested Partner’s Programme Attendees need to book and pay LCA2015 by December 10.
+
 
+
----
+
 
+
'''Friday January 16th:'''
+
 
+
9am - This morning there is a choice:
+
 
+
Butterfly Creek (appropriate for younger children)
+
 
+
or
+
 
+
Rainbow's End* (appropriate for older children)
+
 
+
(*) We need input from the Partner’s Programme Attendees by December 15 to secure spots for the preferred morning activity.
+
 
+
A Picnic lunch will be at the venue.
+

Latest revision as of 14:20, 9 December 2014

This is an auxiliary template allowing "|-" to be encoded within template parameters. The "|-" delimiter for a Wiki table has to be escaped by a template if it's used within a template.

This template can be used to parse tables correctly in templates. For example, the table:

{| some table
|- some row
| some cell
|
|}
}}

Can be written as:

{{sometemplate|someparameter={
    {{!}} some table
    {{!-}} some row
    {{!}} some cell
    {{!}}
    {{!}}
  }
}}