Difference between revisions of "Template:Event"

From ICANNWiki
Jump to navigation Jump to search
Line 11: Line 11:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
{{#cargo_declare:_table=Event|Logo=File|Dates=String|Start=Date|End=Date|Region=List (,) of String|City=String|Country=String|URL=URL|Category=List (,) of String}}
+
{{#cargo_declare:_table=Event|Logo=File|Dates=String|Start=Date|End=Date|Region=List (,) of String|City=String|Country/Territory=String|URL=URL|Category=List (,) of String}}
</noinclude><includeonly>{{#cargo_store:_table=Event|Logo={{{Logo|}}}|Start={{{Start|}}}|End={{{End|}}}|Region={{{Region|}}}|City={{{City|}}}|Country={{{Country|}}}|Category={{{Category|}}} }}
+
</noinclude><includeonly>{{#cargo_store:_table=Event|Logo={{{Logo|}}}|Start={{{Start|}}}|End={{{End|}}}|Region={{{Region|}}}|City={{{City|}}}|Country/Territory={{{Country/Territory|}}}|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;"
 
{{#if:{{{Logo|}}}
 
{{#if:{{{Logo|}}}
Line 22: Line 22:
 
{{#if:{{{City|}}}
 
{{#if:{{{City|}}}
 
|{{!}}'''Location:'''
 
|{{!}}'''Location:'''
{{!}}{{{City}}}, {{{Country}}}|{{!}}'''Location:'''
+
{{!}}{{{City}}}, {{{Country/Territory}}}|{{!}}'''Location:'''
{{!}}{{{Country}}} }}
+
{{!}}{{{Country/Territory}}} }}
 
|-
 
|-
 
{{#if:{{{URL|}}}
 
{{#if:{{{URL|}}}

Revision as of 17:36, 31 January 2018

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.

Error: field name "Country/Territory" cannot contain any of the following characters: .,-<>(){}[]\/