Template:Infobox event/doc: Difference between revisions

From BoyWiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude> {{documentation subpage}}</noinclude>
;Description
;Description
:This template is used to create an event infobox.
:This template is used to create an event infobox.
Line 6: Line 7:


<pre>{{infobox event
<pre>{{infobox event
| name        = Bob's Birthday Party [defaults to pagename]
| name        = International Boylove Day [defaults to pagename]
| image        = Image:BLogo 930x818.png
| image        = Image:BLogo 930x818.png
| imagewidth  = 200 [defaults to 250]
| imagewidth  = 200 [defaults to 250]
| caption      = Bob the Flower
| caption      = IBLD
| participants = Bob's friends
| participants = Boylovers from around the world
| date        = Bob's birthday
| date        = December 22
| location    = Bob's house
| location    = Planet Earth
}}</pre>
}}</pre>


Line 18: Line 19:


{{infobox event
{{infobox event
| name        = Bob's Birthday Party
| name        = International Boylove Day
| image        = Image:BLogo 930x818.png
| image        = Image:BLogo 930x818.png
| imagewidth  = 200
| imagewidth  = 200
| caption      = Bob the Flower
| caption      = IBLD
| participants = Bob's friends
| participants = Boylovers from around the world
| date        = Bob's birthday
| date        = December 22
| location    = Bob's house
| location    = Planet Earth
}}
}}
'''Bold text'''<includeonly>
'''Bold text'''<includeonly>
[[Category:Infobox templates|Event]]</includeonly><noinclude>
[[Category:Infobox templates|Event]]</includeonly><noinclude>
[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 02:12, 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         = International Boylove Day [defaults to pagename]
| image        = Image:BLogo 930x818.png
| imagewidth   = 200 [defaults to 250]
| caption      = IBLD
| participants = Boylovers from around the world
| date         = December 22
| location     = Planet Earth
}}

Results in...

International Boylove Day

IBLD
Vital statistics
Participants Boylovers from around the world
Date December 22
Location Planet Earth

Bold text