Template:Infobox event/doc: Difference between revisions

From BoyWiki
New page: ;Description :This template is used to create an event infobox. ;Syntax :Type <code>{{tl|infobox event|...}}</code> somewhere, with parameters as shown below. ;Sample output <pre>{{infobo...
 
No edit summary
Line 7: Line 7:
<pre>{{infobox event
<pre>{{infobox event
| name        = Bob's Birthday Party [defaults to pagename]
| name        = Bob's Birthday Party [defaults to pagename]
| image        = Image:Example.jpg
| image        = Image:BLogo 930x818.png
| imagewidth  = [defaults to 250]
| imagewidth  = 200 [defaults to 250]
| caption      = Bob the Flower
| caption      = Bob the Flower
| participants = Bob's friends
| participants = Bob's friends
Line 19: Line 19:
{{infobox event
{{infobox event
| name        = Bob's Birthday Party
| name        = Bob's Birthday Party
| image        = Image:Example.jpg
| image        = Image:BLogo 930x818.png
| imagewidth  = 200
| caption      = Bob the Flower
| caption      = Bob the Flower
| participants = Bob's friends
| participants = Bob's friends

Revision as of 01:33, 22 December 2012

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:BLogo 930x818.png
| imagewidth   = 200 [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

Bold text