Template:Event: Difference between revisions
Appearance
Dustin Loup (talk | contribs) No edit summary |
Dustin Loup (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 | {{#cargo_declare:_table=Event|Start=Date|End=Date|Region=List (,) of String|City=String|Country=String|URL=URL|Category=List (,) of String}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Event | </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;" | |||
| {{#time: j M|{{{Start|}}}}} - {{#time: j M|{{{End|}} | |'''Dates:''' {{#time: j M|{{{Start|}}}}} - {{#time: j M|{{{End|}}}}} | ||
|- | |- | ||
|'''Location:''' {{{City|}}}, {{{Country|}}} | |||
|- | |||
| {{#arraymap:{{{Category|}}}|,|x|[[Category:x]] |<nowiki> </nowiki>}} | |||
|} | |||
[[Category:Event]] | |||
</includeonly> | </includeonly> |
Revision as of 15:54, 19 October 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. {{#cargo_declare:_table=Event|Start=Date|End=Date|Region=List (,) of String|City=String|Country=String|URL=URL|Category=List (,) of String}}