Template:Event: Difference between revisions

From stencil.wiki
(Created page with "<noinclude> {{#template_params:Event_type (label=Event Type;list)|Website|Start_date (label=Start Date)|End_date (label=End Date)|Address|Country|Coordinates|Application_link (label=Application Link)|Application_deadline (label=Application Deadline)|Poster (label=poster)}} </noinclude><includeonly>{| 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;...")
 
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Event_type (label=Event Type;list)|Website|Start_date (label=Start Date)|End_date (label=End Date)|Address|Country|Coordinates|Application_link (label=Application Link)|Application_deadline (label=Application Deadline)|Poster (label=poster)}}
{{#template_params:event_type (label=Event Type;list)|websites|start_date (label=Start Date)|end_date (label=End Date)|location|country|coordinates|application_link (label=Application Link)|application_deadline (label=Application Deadline)|poster (label=poster)}}
</noinclude><includeonly>{| 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;"
</noinclude><includeonly>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
{{Infobox event
|-
| event_type          = {{#arraymap:{{{event_type|}}}|,|x|[[event_type::x]]}}
! Event Type
| websites            = {{{websites|}}}
| {{{Event_type|}}}
| start_date          = {{{start_date|}}}
|-
| end_date            = {{{end_date|}}}
! Website
| location            = {{{location|}}}{{#if:{{{country|}}}|, {{{country|}}}}}
| {{{Website|}}}
| country              = {{{country|}}}
|-
| coordinates          = {{{coordinates|}}}
! Start Date
| application_link    = {{{application_link|}}}
| {{{Start_date|}}}
| application_deadline = {{{application_deadline|}}}
|-
| poster               = {{{poster|}}}
! End Date
}}
| {{{End_date|}}}
|-
! Address
| {{{Address|}}}
|-
! Country
| {{{Country|}}}
|-
! Coordinates
| {{{Coordinates|}}}
|-
! Application Link
| {{{Application_link|}}}
|-
! Application Deadline
| {{{Application_deadline|}}}
|-
! poster
| {{{Poster|}}}
|}


[[Category:Event]]
[[Category:Event]]
</includeonly>
</includeonly>

Revision as of 23:23, 7 December 2024

This is the "Event" template.

It should be called in the following format:

{{Event
|event_type=
|websites=
|start_date=
|end_date=
|location=
|country=
|coordinates=
|application_link=
|application_deadline=
|poster=
}}

Edit the page to see the template text.