Template:Infobox event: Difference between revisions
Appearance
FossilLord (talk | contribs) Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="row1">..." |
FossilLord (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{| class="infobox" style="font-size:89%; width:300px;" | |||
|- | |||
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}} | |||
|- style="text-align:center;" | |||
| colspan="2" style="padding:0.5em;" | [[{{{image|File:Placeholder other.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}'' | |||
|- | |||
! colspan="2" style="background-color:#3366CC; color:#ffffff;" | Vital statistics | |||
|- | |||
| style="width:30%;" | '''Participants''' | |||
| style="width:70%;" | {{{participants}}} | |||
|- | |||
| '''Date''' | |||
| {{{date}}} | |||
|- | |||
| '''Location''' | |||
| {{{location}}} | |||
{{ | |}<noinclude><br style="clear:both;" /> | ||
| | {{documentation}}</noinclude> | ||
| | |||
| | |||
| | |||
| | |||
}} | |||
</ | |||
</noinclude> | |||
Latest revision as of 07:07, March 17, 2018
| Infobox event | |
|---|---|
| File:Placeholder other.png | |
| Vital statistics | |
| Participants | {{{participants}}} |
| Date | {{{date}}} |
| Location | {{{location}}} |
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit Template:Infobox_event/doc to edit this documentation. (How does this work?) |
- 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 |