Difference between revisions of "Template:Event"

From ICANNWiki
Jump to navigation Jump to search
Line 14: Line 14:
 
</noinclude><includeonly>{{#cargo_store:_table=Event|Start={{{Start|}}}|End={{{End|}}}|Region={{{Region|}}}|City={{{City|}}}|Country={{{Country|}}}|Category={{{Category|}}} }}
 
</noinclude><includeonly>{{#cargo_store:_table=Event|Start={{{Start|}}}|End={{{End|}}}|Region={{{Region|}}}|City={{{City|}}}|Country={{{Country|}}}|Category={{{Category|}}} }}
 
{|style="width: 25em; font-size: 100%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
{|style="width: 25em; font-size: 100%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
|'''Dates:''' {{#time: j F Y|{{{Start|}}}}} {{#ifeq:{{{Start|}}}|{{{End|}}}||- {{#time: j F Y|{{{End|}}} }} }}
+
|'''Dates:'''  
 +
|{{#time: j F Y|{{{Start|}}}}} {{#ifeq:{{{Start|}}}|{{{End|}}}||- {{#time: j F Y|{{{End|}}} }} }}
 
|-
 
|-
|'''Location:''' {{{City|}}}, {{{Country|}}}
+
|'''Location:'''  
 +
|{{{City|}}}, {{{Country|}}}
 
|-
 
|-
|'''Category:''' {{#arraymap:{{{Category|}}}|,|x|[[Category:x]]x<br />|}}
+
|'''Category:'''  
 +
|{{#arraymap:{{{Category|}}}|,|x|[[Category:x]]x<br />|}}
 
|}
 
|}
 
[[Category:Events]]
 
[[Category:Events]]
 
</includeonly>
 
</includeonly>

Revision as of 16:14, 24 October 2017

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

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

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