Template:Events: Difference between revisions
From 4C @ Rotherglen
No edit summary |
mNo edit summary |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the "Event" template. | This is the "Event" template. | ||
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
{{Event| | {{Event| | ||
|Date= | |Date= | ||
| | |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. | |||
{{#cargo_store:_table=Events | |||
|Type={{{Type|}}} | |||
|Date={{{Date|}}} | |||
|Start={{{Start|}}} | |||
|End={{{End|}}} | |||
|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:{{{ | <!—- {{#if:{{{Eventname|}}} —> | ||
|{{!}}colspan="2" {{!}} | |{{!}}colspan="2" {{!}} }} | ||
|- | |- | ||
! 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> | ||
| Line 21: | Line 33: | ||
{{#if:{{{Date|}}} | {{#if:{{{Date|}}} | ||
|{{!}}'''Date:''' | |{{!}}'''Date:''' | ||
{{!}}{{{ | {{!}}{{{description}}}}} | ||
|- | |- | ||
{{#if:{{{URL|}}} | <!—- {{#if:{{{City|}}} |{{!}}'''Location:''' {{!}}{{{City}}}}} |- {{#if:{{{URL|}}} | {{!}}'''Web:''' —> | ||
|{{!}}'''Web:''' | |||
{{!}}<span class="plainlinks"> | {{!}}<span class="plainlinks"> | ||
[ Event Page]</span>}} | [ 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=