Difference between pages "Template:Calendar" and "Template:Hall"

From ToorCamp Wiki
(Difference between pages)
Jump to navigation Jump to search
ccc>Twi
 
m (3 revisions imported)
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
+
This is the "Hall" template.
This template adds a default calendar to the site using it.
+
It should be called in the following format:
 
+
<pre>
Usage:
+
{{Hall
<nowiki>{{</nowiki>{{PAGENAME}}|<FILTER><nowiki>}}</nowiki>
+
|Has size=
 
+
|Has number of seats=
 
+
|Has equipment=
</noinclude><includeonly>
+
|Has notes=
 
 
{{#ask: [[Has object type::Event]] {{{1}}}
 
| ?Has start time=Start
 
| ?Has duration=Duration
 
| ?Has session location=Location
 
| mainlabel=Session
 
| limit=2342
 
| sort=Has start time
 
| format=broadtable
 
 
}}
 
}}
{{Refresh}}
+
</pre>
 
+
Edit the page to see the template text.
<div class="cal-ical" style="text-align: right;">
+
</noinclude><includeonly>{{Warning/ImproperValue}}{{#widget:InfoBox/Start}}
{{#ask: [[Has object type::Event]] {{{1}}}
+
{| {{InfoBox/Hall}}
| ?Has conference=summary
+
<!--
| ?Has start time=start
+
! Level
| ?Has end time=end
+
| [[Located on level::{{{Located on level|}}}]]
| ?Has location=location
+
|-
| ?Has description=description
+
-->
| title=CCCamp
+
! Size (in m²)
| searchlabel=Export for iCalendar
+
| [[Has size::{{{Has size|}}}]]
| limit=2342
+
|-
 +
! Seats
 +
| [[Has number of seats::{{{Has number of seats|}}}]]
 +
|-
 +
! Equipment
 +
|
 +
[[Has equipment::{{{Has equipment|}}}]]
 +
|-
 +
! Notes
 +
|
 +
[[Has notes::{{{Has notes|}}}]]
 +
|-
 +
{{#ifeq: {{{Provides session location|}}} | yes |
 +
{{!}} colspan=2 {{!}} This room is avaliable for [[Static:Self-organized_Sessions|Self-organized Sessions]] [[Category:Session location]]
 +
{{!}}-
 
}}
 
}}
</div>
+
|}
 
+
[[Category:Hall]]
</includeonly>
+
{{#widget:InfoBox/End}}</includeonly>

Latest revision as of 08:39, 4 March 2020

This is the "Hall" template. It should be called in the following format:

{{Hall
|Has size=
|Has number of seats=
|Has equipment=
|Has notes=
}}

Edit the page to see the template text.