7,180
edits
Changes
Created page with "<noinclude> == Usage == The '''Schedule week header''' template is used together with one or more invocations of '''Schedule week row''' in order to display an event schedule..."
<noinclude>
== Usage ==
The '''Schedule week header''' template is used together with one or more invocations of '''Schedule week row''' in order to display an event schedule for a specific week, starting on a Sunday.
The first parameter is the name of the month on the first day of the week.
The next seven parameters are the day of the month numbers for the week.
This template opens a table, which must be closed in the usual way ("|}").
== Example ==
The following shorthand:
<pre><nowiki>
{{Schedule week header|February|24|25|26|27|28|1|2}}
|}
</nowiki></pre>
Produces:
{{Schedule week header|February|24|25|26|27|28|1|2}}
|}
</noinclude><includeonly>{| class="wikitable"
{{#ifexpr:{{{8}}} < {{{2}}}|
<!-- The week crosses into a new month. -->
! colspan="{{#ifexpr:{{{3}}} < {{{2}}}|1|<!--
-->{{#ifexpr:{{{4}}} < {{{2}}}|2|<!--
-->{{#ifexpr:{{{5}}} < {{{2}}}|3|<!--
-->{{#ifexpr:{{{6}}} < {{{2}}}|4|<!--
-->{{#ifexpr:{{{7}}} < {{{2}}}|5|6}} }} }} }} }}" {{!}} {{{1}}}
! colspan="{{#ifexpr:{{{3}}} < {{{2}}}|6|<!--
-->{{#ifexpr:{{{4}}} < {{{2}}}|5|<!--
-->{{#ifexpr:{{{5}}} < {{{2}}}|4|<!--
-->{{#ifexpr:{{{6}}} < {{{2}}}|3|<!--
-->{{#ifexpr:{{{7}}} < {{{2}}}|2|1}} }} }} }} }}" {{!}} ->
|
! colspan="7" {{!}} {{{1}}} }}
|-
! Sun {{{2}}}
! Mon {{{3}}}
! Tue {{{4}}}
! Wed {{{5}}}
! Thu {{{6}}}
! Fri {{{7}}}
! Sat {{{8}}}
</includeonly>
== Usage ==
The '''Schedule week header''' template is used together with one or more invocations of '''Schedule week row''' in order to display an event schedule for a specific week, starting on a Sunday.
The first parameter is the name of the month on the first day of the week.
The next seven parameters are the day of the month numbers for the week.
This template opens a table, which must be closed in the usual way ("|}").
== Example ==
The following shorthand:
<pre><nowiki>
{{Schedule week header|February|24|25|26|27|28|1|2}}
|}
</nowiki></pre>
Produces:
{{Schedule week header|February|24|25|26|27|28|1|2}}
|}
</noinclude><includeonly>{| class="wikitable"
{{#ifexpr:{{{8}}} < {{{2}}}|
<!-- The week crosses into a new month. -->
! colspan="{{#ifexpr:{{{3}}} < {{{2}}}|1|<!--
-->{{#ifexpr:{{{4}}} < {{{2}}}|2|<!--
-->{{#ifexpr:{{{5}}} < {{{2}}}|3|<!--
-->{{#ifexpr:{{{6}}} < {{{2}}}|4|<!--
-->{{#ifexpr:{{{7}}} < {{{2}}}|5|6}} }} }} }} }}" {{!}} {{{1}}}
! colspan="{{#ifexpr:{{{3}}} < {{{2}}}|6|<!--
-->{{#ifexpr:{{{4}}} < {{{2}}}|5|<!--
-->{{#ifexpr:{{{5}}} < {{{2}}}|4|<!--
-->{{#ifexpr:{{{6}}} < {{{2}}}|3|<!--
-->{{#ifexpr:{{{7}}} < {{{2}}}|2|1}} }} }} }} }}" {{!}} ->
|
! colspan="7" {{!}} {{{1}}} }}
|-
! Sun {{{2}}}
! Mon {{{3}}}
! Tue {{{4}}}
! Wed {{{5}}}
! Thu {{{6}}}
! Fri {{{7}}}
! Sat {{{8}}}
</includeonly>