Difference between revisions of "Template:ProgramSectionItems"

From Openresearch
Jump to: navigation, search
Line 9: Line 9:
 
</pre> {{#cargo_declare:_table=ProgramSectionItem|Title=Text|Time=datetime|Location:hasLocation|Additions=Text|Summary=Wikitext (size=600)}}
 
</pre> {{#cargo_declare:_table=ProgramSectionItem|Title=Text|Time=datetime|Location:hasLocation|Additions=Text|Summary=Wikitext (size=600)}}
 
</noinclude><includeonly>
 
</noinclude><includeonly>
This is a program section item. {{#cargo_store:_table=ProgramSection|Title={{{title|}}}|Additions={{{secadditions|}}}|Summary=[[{{PAGENAME}}]]}}
+
This is a program section item. {{#cargo_store:_table=ProgramSection|Title={{{title|}}}|Additions={{{itemadditions|}}}|Summary=[[{{PAGENAME}}]]}}
  
 
{| border="0" cellpadding="4" cellspacing="4" style="margin-bottom: 5px;"
 
{| border="0" cellpadding="4" cellspacing="4" style="margin-bottom: 5px;"
Line 16: Line 16:
 
|-
 
|-
 
! Time
 
! Time
| {{{field|datetime}}}
+
| {{{field|itemtime}}}
 
|-
 
|-
 
! Location
 
! Location
Line 24: Line 24:
 
|
 
|
 
{| style="background: #fafaea; padding: 10px; border: 1px solid #cccccc;"
 
{| style="background: #fafaea; padding: 10px; border: 1px solid #cccccc;"
| style="padding: 0 10px 0 10px;" | {{{secadditions|}}}
+
| style="padding: 0 10px 0 10px;" | {{{itemadditions|}}}
 
|}
 
|}
 
|}
 
|}
 
{{#default_form:Program}}
 
{{#default_form:Program}}
 
</includeonly>
 
</includeonly>

Revision as of 10:07, 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
|Time=time slot
|Location=location
|Additions=addition comments about this section
}}

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