Difference between revisions of "Template:Event"

From ICANNWiki
Jump to navigation Jump to search
 
(10 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|
|Start Date=
+
|Logo=
|End Date=
+
|Date=
|Region=
 
 
|City=
 
|City=
|Category=
+
|URL=
 
}}
 
}}
 
</pre>
 
</pre>
Line 15: Line 14:
 
{|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|}}}
|{{!}}colspan="2" {{!}} [[File:{{{Logo}}}‎|250px|center]]}}
+
|{{!}}colspan="2" {{!}} [[File:{{{Logo}}}‎|150px|center]]}}
 
|-
 
|-
 
! style="text-align: center; background-color:#202F7B;margin-top:.5em;" colspan="2" |<span style="font-size: larger;color:#ffffff;">General Information</span>
 
! style="text-align: center; background-color:#202F7B;margin-top:.5em;" colspan="2" |<span style="font-size: larger;color:#ffffff;">General Information</span>
 
|-
 
|-
|'''Dates:'''
+
{{#if:{{{Date|}}}
|{{#time: j F Y|{{{Start|}}}}} {{#ifeq:{{{Start|}}}|{{{End|}}}||- {{#time: j F Y|{{{End|}}} }} }}
+
|{{!}}'''Date:'''
 +
{{!}}{{{Date}}}}}
 
|-
 
|-
 
{{#if:{{{City|}}}
 
{{#if:{{{City|}}}
 
|{{!}}'''Location:'''
 
|{{!}}'''Location:'''
{{!}}{{{City}}}
+
{{!}}{{{City}}}}}
 
|-
 
|-
 
{{#if:{{{URL|}}}
 
{{#if:{{{URL|}}}
|{{!}}'''URL:'''
+
|{{!}}'''Web:'''
 
{{!}}<span class="plainlinks">
 
{{!}}<span class="plainlinks">
[[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:Events]]
 
 
</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.