Open main menu
Home
Random
Log in
Settings
About ICANNWiki
Disclaimers
ICANNWiki
Search
Changes
← Older edit
Template:Event
(view source)
Revision as of 16:04, 3 September 2021
44 bytes removed
,
2 years ago
no edit summary
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
=
−
|
Category
=
+
|
URL
=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
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}}
+
</noinclude><includeonly>
−
</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;"
{|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;"
−
|'''Dates:'''
{{#
time
:
j F Y|
{{{
Start
|}}}
}} {{#ifeq:
{{
{Start|
}}
}|{
{{
End|}
}}
||- {{#time
:
j F Y|
{{{
End|}}
} }} }}
+
{{#
if
:{{{
Logo
|}}}
+
|
{{
!
}}
colspan="2"
{{
!
}}
[[File
:{{{
Logo
}}}
|150px|center]]
}}
|-
|-
−
|'''Location:''' {{{City|}}}
,
{{{
Country
|}}}
+
! style="text-align: center; background-color:#202F7B;margin-top:.5em;" colspan="2" |<span style="font-size: larger;color:#ffffff;">General Information</span>
+
|-
+
{{#if:{{{Date|}}}
+
|{{!}}'''Date:'''
+
{{!}}{{{Date}}}}}
+
|-
+
{{#if:{{{City|}}}
+
|
{{!}}
'''Location:'''
+
{{!}}
{{{City
}}}}}
+
|-
+
{{#if:{{{URL
|}}}
+
|
{
{!}}'''Web:'''
+
{{
!}}<span class="plainlinks">
+
[[Image:LinkIcon.png
|
link={{{URL}}}]] [{{{URL}}
}
Event Page]</span>
}}
|-
|-
−
|'''Category:''' {{#arraymap:{{{Category|}}}|,|x|[[Category:x]]x<br />|}}
|}
|}
−
[[Category:Events]]
</includeonly>
</includeonly>
Dustin Loup
Bureaucrats
,
Interface administrators
, lookupuser, staff,
Administrators
, translator
11,770
edits