Difference between revisions of "Template:Event"
m (attempt to fix broken table) |
m (edit form button is displayed on the wrong page) |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | < | + | <includeonly>{{#default_form:Event}}</includeonly> |
| − | |||
| − | |||
| − | |||
| − | {{Event | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | </ | ||
| − | |||
| − | |||
{{#if: {{{End date|}}} | {{#if: {{{End date|}}} | ||
| {{#ifexpr: {{#timel: U | {{{End date}}}}} < {{#timel: U | {{#timel: Y-m-d}}}} | | {{#ifexpr: {{#timel: U | {{{End date}}}}} < {{#timel: U | {{#timel: Y-m-d}}}} | ||
| Line 29: | Line 10: | ||
}} | }} | ||
}} | }} | ||
| − | {| style="width: 30em; font-size: 90%; 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="max-width: 30em; font-size: 90%; 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="text-align: center; background-color:#ccccff;" colspan="2" |<big>Event: {{PAGENAME}}</big> | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>Event: {{PAGENAME}}</big> | ||
|- | |- | ||
| Line 70: | Line 51: | ||
[[Category:Events]] | [[Category:Events]] | ||
| − | </ | + | <noinclude> |
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "End date": { | ||
| + | "type": "date" | ||
| + | }, | ||
| + | "Start date": { | ||
| + | "type": "date" | ||
| + | }, | ||
| + | "Featured": { | ||
| + | "type": "boolean" | ||
| + | }, | ||
| + | "State": {}, | ||
| + | "Start time": {}, | ||
| + | "End time": {}, | ||
| + | "Contact": { | ||
| + | "type": "wiki-user-name" | ||
| + | }, | ||
| + | "Kind": {}, | ||
| + | "Location": {}, | ||
| + | "URL": { | ||
| + | "type": "url" | ||
| + | }, | ||
| + | "Fee": {}, | ||
| + | "Short description": { | ||
| + | "type": "string" | ||
| + | } | ||
| + | }, | ||
| + | "description": "This is the \"Event\" template.\nEdit the page to see the template text." | ||
| + | } | ||
| + | </templatedata> | ||
| + | </noinclude> | ||
Latest revision as of 20:51, 2 June 2020
| Event: Event | |
|---|---|
| Featured: | |
| State: | |
| Start date: | |
| Start time: | |
| End date: | |
| End time: | |
| Contact: | |
| Kind: | |
| Location: | |
| URL: | |
| Fee: | |
| Short description: | |
This is the "Event" template. Edit the page to see the template text.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| End date | End date | no description
| Date | optional |
| Start date | Start date | no description
| Date | optional |
| Featured | Featured | no description
| Boolean | optional |
| State | State | no description
| Unknown | optional |
| Start time | Start time | no description
| Unknown | optional |
| End time | End time | no description
| Unknown | optional |
| Contact | Contact | no description
| User | optional |
| Kind | Kind | no description
| Unknown | optional |
| Location | Location | no description
| Unknown | optional |
| URL | URL | no description
| URL | optional |
| Fee | Fee | no description
| Unknown | optional |
| Short description | Short description | no description
| String | optional |