Difference between revisions of "Template:Event"

From ICANNWiki
Jump to navigation Jump to search
 
(62 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{Event
+
{{Event|
|Event=
+
|Logo=
|Start Date=
+
|Date=
|End Date=
+
|City=
|Region=
+
|URL=
|Category=
 
 
}}
 
}}
 
</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|Category=List (,) of String}}
+
</noinclude><includeonly>
</noinclude><includeonly>{{#cargo_store:_table=Event |Event={{{Event|}}}|Start_Date={{{Start Date|}}}-End_Date={{{End Date|}}}|Region={{{Region|}}}|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;"
{| class="wikitable"
+
{{#if:{{{Logo|}}}
| [[{{{Event|}}}]]
+
|{{!}}colspan="2" {{!}} [[File:{{{Logo}}}‎|150px|center]]}}
| {{#time: j |{{{Start Date|}}}}}-{{#time: jMy|{{{End Date|}}}}}
+
|-
| {{{Region|}}}
+
! style="text-align: center; background-color:#202F7B;margin-top:.5em;" colspan="2" |<span style="font-size: larger;color:#ffffff;">General Information</span>
| {{{Country|}}}
+
|-
| {{{Category|}}}
+
{{#if:{{{Date|}}}
 +
|{{!}}'''Date:'''
 +
{{!}}{{{Date}}}}}
 +
|-
 +
{{#if:{{{City|}}}
 +
|{{!}}'''Location:'''
 +
{{!}}{{{City}}}}}
 +
|-
 +
{{#if:{{{URL|}}}
 +
|{{!}}'''Web:'''
 +
{{!}}<span class="plainlinks">
 +
[[Image:LinkIcon.png|link={{{URL}}}]]&nbsp;&nbsp;&nbsp;[{{{URL}}} Event Page]</span>}}  
 +
|-
 
|}
 
|}
 
</includeonly>
 
</includeonly>

Latest revision as of 16:04, 3 September 2021

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

{{Event|
|Logo=
|Date=
|City=
|URL=
}}

Edit the page to see the template text.