Difference between revisions of "Template:Event"

From ICANNWiki
Jump to navigation Jump to search
Line 12: Line 12:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
{{#cargo_declare:_table=Event |Event=Page|Start_Date=Date|End_Date=Date|Region=List (,) of String|City=String|Country=String|Category=List (,) of String}}
+
{{#cargo_declare:_table=Event |name=Page|start=Date|End=Date|Region=List (,) of String|City=String|Country=String|Category=List (,) of String}}
</noinclude><includeonly>{{#cargo_store:_table=Event |Event={{{Event|}}}|Start_Date={{{Start Date|}}}|End_Date={{{End Date|}}}|Region={{{Region|}}}|City={{{City|}}}|Country={{{Country|}}}|Category={{{Category|}}} }}
+
</noinclude><includeonly>{{#cargo_store:_table=Event |name={{{name|}}}|start{{{start|}}}|end={{{end|}}}|Region={{{Region|}}}|City={{{City|}}}|Country={{{Country|}}}|Category={{{Category|}}} }}
| [[{{{Event|}}}]]
+
| [[{{{name|}}}]]
| {{#time: j M|{{{Start Date|}}}}} - {{#time: j M|{{{End Date|}}}}}
+
| {{#time: j M|{{{start|}}}}} - {{#time: j M|{{{end|}}}}}
 
| {{{City|}}}, {{{Country|}}}
 
| {{{City|}}}, {{{Country|}}}
|
 
 
| {{{Category|}}}
 
| {{{Category|}}}
 
</includeonly>
 
</includeonly>

Revision as of 17:37, 22 September 2017

This is the "Event" template. It should be called in the following format:

{{Event
|Event=
|Start Date=
|End Date=
|Region=
|Category=
}}

Edit the page to see the template text. This template defines the table "Event". View table.