Jump to content

Template:Event: Difference between revisions

From ICANNWiki
Dustin Loup (talk | contribs)
No edit summary
JP (talk | contribs)
No edit summary
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|Logo=File|Dates=String|Start=Date|End=Date|Region=List (,) of String|City=String|Country_or_Territory=String|URL=URL|Category=List (,) of String}}
</noinclude><includeonly>
</noinclude><includeonly>{{#cargo_store:_table=Event|Logo={{{Logo|}}}|Dates={{{Start|}}}-{{{End|}}}|Start={{{Start|}}}|End={{{End|}}}|Region={{{Region|}}}|City={{{City|}}}|Country_or_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 33: Line 32:
[[Image:LinkIcon.png|link={{{URL}}}]]&nbsp;&nbsp;&nbsp;[{{{URL}}} Event Page]</span>}}
[[Image:LinkIcon.png|link={{{URL}}}]]&nbsp;&nbsp;&nbsp;[{{{URL}}} Event Page]</span>}}
|-
|-
|'''Category:'''
|{{#arraymap:{{{Category|}}}|,|x|[[Category:x]]x<br />|}}
{{#default_form:Event}}
|}
|}
[[Category:Events]]
[[Category:Events]]
</includeonly>
</includeonly>

Revision as of 17:40, 30 August 2021

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

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

Edit the page to see the template text.