Template:Event: Difference between revisions

From MuHack
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Picture (property=Picture)|Website (property=Website)|Super user (property=Super user)|DateStart (label=Start date;property=DateStart)|DateEnd (label=End date;property=DateEnd)}}
{{#template_params:Picture (property=Picture)|Website (property=Website)|Super user (property=Super user)|DateStart (label=Start date;property=DateStart)|DateEnd (label=End date;property=DateEnd)}}
</noinclude>
</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;"
{| border="2" cellspacing="0" cellpadding="4" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; border-collapse:collapse; font-size:95%; empty-cells:hide"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
|- style="background: {{Style|header}}; text-align:center;"
! colspan=2| ''Event: [[Event Name::{{PAGENAME}}]]''
|-
|-
|- style="text-align:center;"
! Picture
| [[Picture::{{{Picture|}}}]]
{{#if:{{{Picture|}}}|
{{!}} style="vertical-align:top; text-align:center;" colspan="2" {{!}} [[File:{{{Picture|}}}|300px]]
}}
|-
|-
! Website
! Website
Line 19: Line 23:
| [[DateEnd::{{{DateEnd|}}}]]
| [[DateEnd::{{{DateEnd|}}}]]
|}
|}
<includeonly>[[Category:Events|{{PAGENAME}}]]</includeonly>

[[Category:Events]]
</includeonly>

Latest revision as of 15:46, 25 May 2025

This is the "Event" template.

It should be called in the following format:

{{Event
|Picture=
|Website=
|Super user=
|DateStart=
|DateEnd=
}}

Edit the page to see the template text.

Event: Event
Website
Super user
Start date
End date