Template:Events: Difference between revisions
From 4C @ Rotherglen
No edit summary |
mNo edit summary |
||
| (12 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 | {{#cargo_store:_table=Events | ||
| | |Type={{{Type|}}} | ||
| | |Date={{{Date|}}} | ||
|Start= {{{ | |Start={{{Start|}}} | ||
|End= {{{ | |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:{{{ | <!—- {{#if:{{{Eventname|}}} —> | ||
|{{!}}colspan="2" {{!}} }} | |{{!}}colspan="2" {{!}} }} | ||
|- | |- | ||
| Line 28: | Line 33: | ||
{{#if:{{{Date|}}} | {{#if:{{{Date|}}} | ||
|{{!}}'''Date:''' | |{{!}}'''Date:''' | ||
{{!}}{{{ | {{!}}{{{description}}}}} | ||
|- | |- | ||
<!—- {{#if:{{{City|}}} |{{!}}'''Location:''' {{!}}{{{City}}}}} |- {{#if:{{{URL|}}} | {{!}}'''Web:''' —> | <!—- {{#if:{{{City|}}} |{{!}}'''Location:''' {{!}}{{{City}}}}} |- {{#if:{{{URL|}}} | {{!}}'''Web:''' —> | ||
| Line 34: | Line 39: | ||
[ 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=