*insert witty banner here*

Template:Infobox event: Difference between revisions

From Huck's Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 25: Line 25:
| {{{side 2}}}
| {{{side 2}}}
|-
|-
! colspan="2" style="background-color:#3366CC; color:#ffffff;" | Casualties
! colspan="2" style="background-color:#3366CC; color:#ffffff;" | Casualties and Losses
|- style="text-align:center"
|- style="text-align:center"
|- style="text-align:center"
|- style="text-align:center"
| {{{1}}}
| {{{losses1}}}
| {{{2}}}
| {{{losses2}}}
|}<noinclude><br style="clear:both;" />
|}<noinclude><br style="clear:both;" />
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Latest revision as of 10:04, 11 June 2012

Infobox event
File:Placeholder other.png
Vital statistics
Participants {{{participants}}}
Date {{{date}}}
Location {{{location}}}
Outcome {{{outcome}}}
Participants
{{{side 1}}} {{{side 2}}}
Casualties and Losses
{{{losses1}}} {{{losses2}}}


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        = Image: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

Bob the Flower
Vital statistics
Participants Bob's friends
Date Bob's birthday
Location Bob's house
Outcome {{{outcome}}}
Participants
{{{side 1}}} {{{side 2}}}
Casualties and Losses
{{{losses1}}} {{{losses2}}}