Difference between revisions of "Template:ProgramSection"

From Openresearch
Jump to: navigation, search
(Created page with "<noinclude>This template holds information about a program section of an event. It should be called in the following format: <pre> {{ProgramSection |Title=title of one section...")
 
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
</pre> {{#cargo_declare:_table=ProgramSection|Title=Text|Additions=Text|Summary=Wikitext (size=600)}}
 
</pre> {{#cargo_declare:_table=ProgramSection|Title=Text|Additions=Text|Summary=Wikitext (size=600)}}
 
</noinclude><includeonly>
 
</noinclude><includeonly>
This is a program. {{#cargo_store:_table=ProgramSection|Title={{{title|}}}|Additions={{{additions|}}}|Summary=[[{{PAGENAME}}]]}}
+
This is a program section. {{#cargo_store:_table=ProgramSection|Title={{{sectitle|}}}|Additions={{{secadditions|}}}|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|}}}
+
| {{{sectitle|}}}
 +
|-
 
! 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;" | {{{secadditions|}}}
 
|}
 
|}
 
|}
 
|}
 +
{{#cargo_attach:
 +
_table=ProgramSectionItem
 +
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 10:56, 15 January 2017

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

{{ProgramSection
|Title=title of one section of a program in an event
|Additions=addition comments about this section
}}

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