Template:Infobox event/doc
Appearance
- Description
- This template is used to create an event infobox.
- Syntax
- Type
{{infobox event{{#ifeq: ...|---|||<...>}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}}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...
<infobox> <title source="name"><default>Infobox event/doc</default></title> <image source="image"/> <label>Participants</label> <label>Date</label> <label>Location</label> </infobox>