Template:Event: Difference between revisions
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
|-align=center | |-align=center | ||
|[[File:{{{image1}}}|250px|center]] | |[[File:{{{image1}}}|250px|center]] | ||
{{#if:{{{caption1}}}| | |-align=center | ||
{{#if:{{{caption1|}}}| | |||
{{!}}style="width:250px"{{!}}{{{caption1}}} | |||
}} | |||
|} | |} | ||
|- | |- | ||
| Line 18: | Line 21: | ||
|style="background:white; width:200px; text-align:left;"|{{{type}}} | |style="background:white; width:200px; text-align:left;"|{{{type}}} | ||
|- | |- | ||
!style="background:#EFEFEF; width:100px" | {{#if:{{{event_name|}}}| | ||
{{!}}style="background:#EFEFEF; width:100px"{{!}}Event Name | |||
| | {{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{event_name}}} | ||
!style="background:#EFEFEF; width:100px" | {{!}}- | ||
}} | |||
| | {{#if:{{{memories|}}}| | ||
!style="background:#EFEFEF; width:100px" | {{!}}style="background:#EFEFEF; width:100px"{{!}}Memories | ||
{{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{memories}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{summary|}}}| | |||
{{!}}style="background:#EFEFEF; width:100px"{{!}}Summary | |||
{{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{summary}}} | |||
{{!}}- | |||
}} | |||
|} | |} | ||
|} | |} | ||
| Line 33: | Line 42: | ||
Example usage: | Example usage: | ||
<pre> | <pre> | ||
{{ | {{Event | ||
| title1=Example | | title1=Example | ||
| image1=Example | | image1=Example | ||
| Line 61: | Line 70: | ||
"suggested": true, | "suggested": true, | ||
"type": "string", | "type": "string", | ||
"default": " | "default": "Event", | ||
"autovalue": " | "autovalue": "Event" | ||
}, | }, | ||
"event_name": { | "event_name": { | ||
Latest revision as of 20:22, 12 February 2023
| |||||
| |||||
Example usage:
{{Event
| title1=Example
| image1=Example
| caption1=Example
| type=Example
| event_name=Example
| memories=Example
| summary=Example
}}
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| title1 | title1 | no description | String | suggested |
| image1 | image1 | no description | File | suggested |
| caption1 | caption1 | no description | String | suggested |
| type | type | no description
| String | suggested |
| event_name | event_name | no description | String | suggested |
| memories | memories | no description | String | suggested |
| summary | summary | no description | String | suggested |