Difference between revisions of "Template:Infobox event/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mandruss
(discourage use of image_size=)
imported>Damenleeturks
Line 128: Line 128:
 
</pre>
 
</pre>
 
{{clear}}
 
{{clear}}
 +
=== Parameters ===
 +
* {{para|title}} - Title to display, if other than page name
 +
* {{para|image}} -
 +
* {{para|image_size}} - {{para|image_upright}} is preferred for most cases, see [[WP:IMGSIZE]]
 +
* {{para|image_upright}} -
 +
* {{para|image_alt}} -
 +
* {{para|caption}} -
 +
* {{para|native_name}} -
 +
* {{para|native_name_lang}} -
 +
* {{para|english_name}} -
 +
* {{para|time}} -
 +
* {{para|duration}} -
 +
* {{para|date}} - <code><nowiki>{{start date|YYYY|MM|DD}}</nowiki></code> or <code><nowiki>{{start and end dates|YYYY|MM|DD|YYYY|MM|DD}}</nowiki></code>
 +
* {{para|venue}} -
 +
* {{para|location}} -
 +
* {{para|coordinates}} - <code><nowiki>{{coord|LAT|LON|region:XXXX_type:event|display=inline,title}}</nowiki></code>
 +
* {{para|also_known_as}} -
 +
* {{para|type}} -
 +
* {{para|theme}} -
 +
* {{para|cause}} -
 +
* {{para|motive}} -
 +
* {{para|target}} -
 +
* {{para|first_reporter}} -
 +
* {{para|budget}} -
 +
* {{para|patron}} or {{para|patrons}} -
 +
* {{para|organisers}} or {{para|organizers}} -
 +
* {{para|filmed_by}} -
 +
* {{para|participants}} -
 +
* {{para|outcome}} -
 +
* {{para|casualties1}} -
 +
* {{para|casualties2}} -
 +
* {{para|casualties3}} -
 +
* {{para|reported deaths}} -
 +
* {{para|reported injuries}} -
 +
* {{para|reported missing}} -
 +
* {{para|reported property damage}} -
 +
* {{para|burial}} -
 +
* {{para|inquiries}} -
 +
* {{para|inquest}} -
 +
* {{para|coroner}} -
 +
* {{para|arrests}} -
 +
* {{para|suspects}} -
 +
* {{para|accused}} -
 +
* {{para|convicted}} -
 +
* {{para|charges}} -
 +
* {{para|trial}} -
 +
* {{para|verdict}} -
 +
* {{para|convictions}} -
 +
* {{para|sentence}} -
 +
* {{para|publication_bans}} -
 +
* {{para|litigation}} -
 +
* {{para|awards}} -
 +
* {{para|url}} -
 +
* {{para|blank_label}} or {{para|blank_data}} -
 +
* {{para|blank1_label}} or {{para|blank1_data}} -
 +
* {{para|blank2_label}} or {{para|blank2_data}} -
 +
* {{para|website}} - <code><nowiki>{{URL|example.com}}</nowiki></code>
 +
* {{para|notes}} -
  
 
== Example ==
 
== Example ==

Revision as of 22:30, 26 February 2018

{{Infobox event}} should be used to specify one-off events, usually at the top of an article. For recurring events, use {{Infobox recurring event}}.

Usage

Template:Parameter names example

{{Infobox event
| title                    = <!-- Title to display, if other than page name -->
| image                    = 
| image_size               = <!-- |image_upright= is preferred for most cases, see WP:IMGSIZE -->
| image_upright            = 
| image_alt                = 
| caption                  = 
| native_name              = 
| native_name_lang         = 
| english_name             = 
| time                     = 
| duration                 = 
| date                     = <!-- {{start date|YYYY|MM|DD}} or {{start and end dates|YYYY|MM|DD|YYYY|MM|DD}} -->
| venue                    = 
| location                 = 
| coordinates              = <!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} -->
| also_known_as            = 
| type                     = 
| theme                    = 
| cause                    = 
| motive                   = 
| target                   = 
| 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                  = 
| trial                    = 
| verdict                  = 
| convictions              = 
| sentence                 = 
| 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                    = 
}}

Parameters

  • |title= - Title to display, if other than page name
  • |image= -
  • |image_size= - |image_upright= is preferred for most cases, see WP:IMGSIZE
  • |image_upright= -
  • |image_alt= -
  • |caption= -
  • |native_name= -
  • |native_name_lang= -
  • |english_name= -
  • |time= -
  • |duration= -
  • |date= - {{start date|YYYY|MM|DD}} or {{start and end dates|YYYY|MM|DD|YYYY|MM|DD}}
  • |venue= -
  • |location= -
  • |coordinates= - {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}}
  • |also_known_as= -
  • |type= -
  • |theme= -
  • |cause= -
  • |motive= -
  • |target= -
  • |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= -
  • |trial= -
  • |verdict= -
  • |convictions= -
  • |sentence= -
  • |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

Script error: No such module "If empty".
Bombay-Docks-aftermath1.png
Smoke billowing out of Harbour
Date14 April 1944
Time16:15 IST (10:45 UTC)
LocationScript error: No such module "If empty".
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
Also known asScript error: No such module "If empty".
Causeship fire
Casualties
800+ dead
3,000 injured
DeathsScript error: No such module "If empty".
Property damageScript error: No such module "If empty".
FootageTemplate:URL
WebsiteTemplate:URL
{{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}}
}}

Microformat

Template:UF-hcal

Tracking categories

See also