Jump to content

Template:Infobox event/doc

From Twig Wiki
Revision as of 07:07, March 17, 2018 by FossilLord (talk | contribs) (Created page with ";Description :This template is used to create an event infobox. ;Syntax :Type <code>{{t|infobox event|...}}</code> somewhere, with parameters as shown below. ;Sample output <...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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...

Bob's Birthday Party
File:Example.jpg
Bob the Flower
Vital statistics
Participants Bob's friends
Date Bob's birthday
Location Bob's house