Difference between revisions of "Template:Program"

From Openresearch
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
|Additions=addition comments about this program
 
|Additions=addition comments about this program
 
}}
 
}}
</pre> {{#cargo_declare:_table=Program|Event=List (,) of Page|Additions=Text|Summary=Wikitext (size=600)}}
+
</pre> {{#cargo_declare:_table=Program|Event=Page|Additions=Text|Summary=Wikitext (size=600)}}
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
This is a program. {{#cargo_store:_table=Program|Event={{{event|}}}|Additions={{{additions|}}}|Summary=[[{{PAGENAME}}]]}}
 
This is a program. {{#cargo_store:_table=Program|Event={{{event|}}}|Additions={{{additions|}}}|Summary=[[{{PAGENAME}}]]}}
  
 
{| border="0" cellpadding="4" cellspacing="4" style="margin-bottom: 5px;"
 
{| border="0" cellpadding="4" cellspacing="4" style="margin-bottom: 5px;"
! Author(s)
+
! Event
| {{#arraymap:{{{event|}}}|,|x|{{#formredlink:target=x|form=event}}}}
+
| {{{event|autocomplete}}}
 +
|-
 
! Additions
 
! Additions
 
|
 
|
Line 18: Line 19:
 
|}
 
|}
 
|}
 
|}
 
+
{{#default_form:Program}}
 
</includeonly>
 
</includeonly>

Latest revision as of 10:51, 15 January 2017

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

{{Program
|Event=the event this program belongs to
|Additions=addition comments about this program
}}

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