Difference between revisions of "Template:ProgramSectionItems"

From Openresearch
Jump to: navigation, search
(Created page with "<noinclude>This template holds information about items in a program section. It should be called in the following format: <pre> {{ProgramSectionItem |Title=title of one sectio...")
 
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
{{ProgramSectionItem
 
{{ProgramSectionItem
 
|Title=title of one section of a program in an event
 
|Title=title of one section of a program in an event
|Time=time slot
+
|STime=start time of section event
 +
|ETime=end time of section event
 
|Location=location
 
|Location=location
 
|Additions=addition comments about this section
 
|Additions=addition comments about this section
 
}}
 
}}
</pre> {{#cargo_declare:_table=ProgramSectionItem|Title=Text|Time=datetime|Location:hasLocation|Additions=Text|Summary=Wikitext (size=600)}}
+
</pre> {{#cargo_declare:_table=ProgramSectionItem|Title=Text|STime=Datetime|ETime=Datetime||Location=String|Additions=Text|Summary=Wikitext (size=600)}}
 
</noinclude><includeonly>
 
</noinclude><includeonly>
This is a program section item. {{#cargo_store:_table=ProgramSection|Title={{{title|}}}|Additions={{{additions|}}}|Summary=[[{{PAGENAME}}]]}}
+
This is a program section item. {{#cargo_store:_table=ProgramSectionItem|Title={{{itemtitle|}}}|STime={{{itemstime|}}}|ETime={{{itemetime|}}}|Location={{{location|}}}|Additions={{{itemadditions|}}}|Summary=[[{{PAGENAME}}]]}}
  
 
{| border="0" cellpadding="4" cellspacing="4" style="margin-bottom: 5px;"
 
{| border="0" cellpadding="4" cellspacing="4" style="margin-bottom: 5px;"
 
! Title
 
! Title
| {{{title|}}}
+
| {{{itemtitle|}}}
 
|-
 
|-
! Time
+
! Start Time
| {{{field|datetime}}}
+
| {{{itemstime|}}}
 +
|-
 +
! End Time
 +
| {{{itemetime|}}}
 
|-
 
|-
 
! Location
 
! Location
| {{{field|location}}}
+
| {{{location|}}}
 
|-
 
|-
 
! Additions
 
! Additions
 
|
 
|
 
{| style="background: #fafaea; padding: 10px; border: 1px solid #cccccc;"
 
{| style="background: #fafaea; padding: 10px; border: 1px solid #cccccc;"
| style="padding: 0 10px 0 10px;" | {{{additions|}}}
+
| style="padding: 0 10px 0 10px;" | {{{itemadditions|}}}
 
|}
 
|}
 
|}
 
|}
 +
{{#default_form:Program}}
 
</includeonly>
 
</includeonly>

Latest revision as of 10:25, 15 January 2017

This template holds information about items in a program section. It should be called in the following format:

{{ProgramSectionItem
|Title=title of one section of a program in an event
|STime=start time of section event
|ETime=end time of section event
|Location=location
|Additions=addition comments about this section
}}

This template defines the table "ProgramSectionItem". This table has not been created yet.