Template:Events: Difference between revisions

From 4C @ Rotherglen
No edit summary
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Event" template.
This is the "Event" template.
An event on {{{date}}} called {{{eventname}}}.


It should be called in the following format:
It should be called in the following format:
Line 8: Line 8:
{{Event|
{{Event|
|Date=
|Date=
|URL=
|Type=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
|Eventname={{{Eventname|}}}
</noinclude><includeonly>
</noinclude><includeonly>
This is an event.
This is an event.
{{#cargo_store:_table=Events
{{#cargo_store:_table=Events
|Eventname= {{{eventname|}}}  
|Type={{{Type|}}}
|Type= {{{type|}}}
|Date={{{Date|}}}  
|Date= {{{date|}}}  
|Start={{{Start|}}}  
|End={{{End|}}}  
|description= {{{description|}}}
|description= {{{description|}}}
}}
}}


{|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:{{{eventname|}}} —>
<!—- {{#if:{{{Eventname|}}} —>
|{{!}}colspan="2" {{!}} }}
|{{!}}colspan="2" {{!}} }}
|-
|-
Line 35: Line 39:
  &nbsp;&nbsp;&nbsp;[ Event Page]</span>}}  
  &nbsp;&nbsp;&nbsp;[ Event Page]</span>}}  
|-
|-
|} </includeonly>
|}  
 
 
An event on {{{Date}}} called {{{Eventname}}} — it's a {{{Type}}} about {{{description}}}
 
 
 
</includeonly>

Latest revision as of 17:57, 9 October 2024


This is the "Event" template.

It should be called in the following format:

{{Event|
|Date=
|Type=
}}

Edit the page to see the template text.

|Eventname=