Template:Infobox event/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jan.Kamenicek
(+ duration)
meta>Funandtrvl
(sync w/tmp)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE. -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->


== Blank ==
== Usage ==
<pre>
{{Parameter names example
| title                 
| image                   
| image_size             
| image_alt             
| caption                 
| native_name             
| native_name_lang       
| english_name           
| time                   
| duration               
| date                   
| venue                   
| location               
| coordinates           
| also known as           
| type                   
| theme                   
| cause                   
| first reporter         
| budget                 
| patron                 
| organisers             
| filmed by               
| participants           
| outcome         
| casualties1
| casualties2
| casualties3                 
| reported deaths         
| reported injuries       
| reported missing       
| reported property damage
| burial                 
| inquiries               
| inquest                 
| coroner                 
| arrests                 
| suspects               
| accused                 
| convicted               
| charges                 
| verdict                 
| convictions             
| publication bans       
| litigation             
| awards                 
| url                     
| blank_label             
| blank1_label           
| blank2_label           
| website               
| notes                 
}}
 
<pre style="overflow:auto;">
{{Infobox event
{{Infobox event
| title                    = <!-- Title to display, if other than page name -->
| title                    = <!-- Title to display, if other than page name -->
| image                    =  
| image                    =  
| image_size              =  
| image_size              =  
| image_alt                =
| caption                  =  
| caption                  =  
| native_name              =  
| native_name              =  
| native_name_lang        =  
| native_name_lang        =  
| english_name            =  
| english_name            =  
| date                    = <!-- {{start date|YYYY|MM|DD}} -->
| time                    =  
| time                    =  
| duration                =  
| duration                =  
| date                    = <!-- {{start date|YYYY|MM|DD}} -->
| venue                    =  
| venue                    =  
| place                    =  
| location                =  
| coordinates              = <!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} -->
| coordinates              = <!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} -->
| also known as            =  
| also known as            =  
Line 22: Line 78:
| theme                    =  
| theme                    =  
| cause                    =  
| cause                    =  
| first reporter          =
| budget                  =  
| budget                  =  
| patron                  =  <!-- or | patrons = -->
| patron                  =  <!-- or |patrons= -->
| organisers              =  <!-- or | organizers = -->
| organisers              =  <!-- or |organizers= -->
| first reporter          =
| filmed by                =  
| filmed by                =  
| participants            =  
| participants            =  
| outcome                  =  
| outcome                  =  
| casualties1              =
| casualties2              =
| casualties3              =
| reported deaths          =  
| reported deaths          =  
| reported injuries        =  
| reported injuries        =  
Line 48: Line 107:
| awards                  =  
| awards                  =  
| url                      =  
| url                      =  
| blank_label              =  
| blank_label              = <!-- or |blank_data= -->
| blank_data               =  
| blank1_label            = <!-- or |blank1_data= -->
| blank1_label            =  
| blank2_label            = <!-- or |blank2_data= -->
| blank1_data             =  
| website                  = <!-- {{URL|example.com}} -->
| blank2_label            =  
| blank2_data             =  
| website                  = <!-- {{URL|example.com}}, use for link to event website; displays as Website: example.com -->
| notes                    =  
| notes                    =  
}}
}}
Line 74: Line 130:
|website={{URL|example.com}}
|website={{URL|example.com}}
}}
}}
<pre style="overflow:auto">
<pre style="overflow:auto;">
{{Infobox event
{{Infobox event
|title=Bombay Explosion
|title=Bombay Explosion
Line 91: Line 147:
</pre>
</pre>
{{clear both}}
{{clear both}}
=== Microformat ===
 
== Microformat ==
{{UF-hcal}}
{{UF-hcal}}


Line 97: Line 154:
* {{tl|Infobox recurring event}}
* {{tl|Infobox recurring event}}


<includeonly><!--
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
++++ PLEASE ADD CATEGORIES BELOW THIS LINE, THANK YOU. -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Events infobox templates|Event]]
[[Category:Events infobox templates| ]]
 
}}</includeonly>
</includeonly>

Revision as of 22:56, 14 April 2015

Usage

{{{title}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright=1.1]]
{{{caption}}}
Native name {{{native_name}}}
English name{{{english_name}}}
Date{{{date}}}
Time{{{time}}}
Duration{{{duration}}}
Venue{{{venue}}}
Location{{{location}}}
Coordinates{{{coordinates}}}
Also known as{{{also known as}}}
Type{{{type}}}
Theme{{{theme}}}
Cause{{{cause}}}
First reporter{{{first reporter}}}
Budget{{{budget}}}
Patron(s){{{patron}}}
Organised by{{{organisers}}}
Filmed by{{{filmed by}}}
Participants{{{participants}}}
Outcome{{{outcome}}}
Casualties
{{{casualties1}}}
{{{casualties2}}}
{{{casualties3}}}
Deaths{{{reported deaths}}}
Non-fatal injuries{{{reported injuries}}}
Missing{{{reported missing}}}
Property damage{{{reported property damage}}}
Burial{{{burial}}}
Inquiries{{{inquiries}}}
Inquest{{{inquest}}}
Coroner{{{coroner}}}
Arrests{{{arrests}}}
Suspects{{{suspects}}}
Accused{{{accused}}}
Convicted{{{convicted}}}
Charges{{{charges}}}
Verdict{{{verdict}}}
Convictions{{{convictions}}}
Publication bans{{{publication bans}}}
Litigation{{{litigation}}}
Awards{{{awards}}}
Footage{{{url}}}
Website{{{website}}}
{{{notes}}}
{{Infobox event
| title                    = <!-- Title to display, if other than page name -->
| image                    = 
| image_size               = 
| image_alt                =
| caption                  = 
| native_name              = 
| native_name_lang         = 
| english_name             = 
| time                     = 
| duration                 = 
| date                     = <!-- {{start date|YYYY|MM|DD}} -->
| venue                    = 
| location                 = 
| coordinates              = <!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} -->
| also known as            = 
| type                     = 
| theme                    = 
| cause                    = 
| first reporter           = 
| budget                   = 
| patron                   =  <!-- or |patrons= -->
| organisers               =  <!-- or |organizers= -->
| filmed by                = 
| participants             = 
| outcome                  = 
| casualties1              =
| casualties2              =
| casualties3              =
| reported deaths          = 
| reported injuries        = 
| reported missing         = 
| reported property damage = 
| burial                   = 
| inquiries                = 
| inquest                  = 
| coroner                  = 
| arrests                  = 
| suspects                 = 
| accused                  = 
| convicted                = 
| charges                  = 
| verdict                  = 
| convictions              = 
| publication bans         = 
| litigation               = 
| awards                   = 
| url                      = 
| blank_label              = <!-- or |blank_data= -->
| blank1_label             = <!-- or |blank1_data= -->
| blank2_label             = <!-- or |blank2_data= -->
| website                  = <!-- {{URL|example.com}} -->
| notes                    = 
}}

Example

Bombay Explosion
Smoke billowing out of Harbour
Date14 April 1944
Time16:15 IST (10:45 UTC)
LocationVictoria Dock, Bombay, British India
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
Causeship fire
Casualties
800+ dead
3,000 injured
Footageexample.com
Websiteexample.com
{{Infobox event
|title=Bombay Explosion
|image=Bombay-Docks-aftermath1.png
|caption=Smoke billowing out of Harbour
|date=14 April 1944
|time=16:15 IST (10:45 UTC)
|place=Victoria Dock, Bombay, [[British Raj|British India]]
|coordinates = {{coord|18.9527772|N|72.8449774|E|type:event_region:IN|display=inline,title}}
|cause=ship fire
|url={{URL|example.com}}
|casualties1=800+ dead
|casualties2=3,000 injured
|website={{URL|example.com}}
}}

Template:Clear both

Microformat

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Classes used

The HTML classes of this microformat include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.

See also