Template:Infobox event: Difference between revisions

From nkrs200 Wiki
Jump to navigation Jump to search
m (1 revision imported)
No edit summary
 
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:300px;"
{| class="infobox" style="font-size:89%; width:300px;"
|-
|-
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em; text-align:center;" | {{{name|{{PAGENAME}}}}}
|- style="text-align:center;"
|- style="text-align:center;"
| colspan="2" style="padding:0.5em;" | [[{{{image|File:Placeholder other.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
| colspan="2" style="padding:0.5em;" | [[{{{image|File:Placeholder other.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
|-
|-
! colspan="2" style="background-color:#3366CC; color:#ffffff;" | Vital statistics
! colspan="2" style="background-color:#3366CC; color:#ffffff; text-align:center;" | Vital statistics
|-
|-
| style="width:30%;" | '''Participants'''
| style="width:30%;" | '''Participants'''

Latest revision as of 01:44, 19 February 2024

Infobox event
File:Placeholder other.png
Vital statistics
Participants {{{participants}}}
Date {{{date}}}
Location {{{location}}}


Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to create an event infobox.
Syntax
Type {{infobox event|<...>}} somewhere, with parameters as shown below.
Sample output
{{infobox event
| name         = Bob's Birthday Party [defaults to pagename]
| image        = File:Example.jpg
| imagewidth   = [defaults to 250]
| caption      = Bob the Flower
| participants = Bob's friends
| date         = Bob's birthday
| location     = Bob's house
}}

Results in...

Bob's Birthday Party
Example.jpg
Bob the Flower
Vital statistics
Participants Bob's friends
Date Bob's birthday
Location Bob's house