Difference between revisions of "Template:ProgramSectionItems"

From Openresearch
Jump to: navigation, search
Line 7: Line 7:
 
|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|Time=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={{{itemadditions|}}}|Summary=[[{{PAGENAME}}]]}}
+
This is a program section item. {{#cargo_store:_table=ProgramSectionItem|Title={{{itemtitle|}}}|Time={{{itemtime|}}}|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
| {{{itemtitle|}}}
+
| {{{field|itemtitle}}}
 
|-
 
|-
 
! Time
 
! Time

Revision as of 10:18, 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.