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
 
(2 intermediate revisions 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:Example.jpg
| image        = Image:BLogo 930x818.png
| imagewidth  = [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:Example.jpg
| image        = Image:BLogo 930x818.png
| caption      = Bob the Flower
| imagewidth  = 200
| participants = Bob's friends
| caption      = IBLD
| date        = Bob's birthday
| participants = Boylovers from around the world
| location    = Bob's house
| date        = December 22
| 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