Template:Infobox event/doc: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
>Ɱ |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
{{ | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | ||
{{tlx|Infobox event}} should be used to specify one-off events, usually at the top of an article. For recurring events, use {{nowrap|{{tlx|Infobox recurring event}}}}. | {{tlx|Infobox event}} should be used to specify one-off events, usually at the top of an article. For recurring events, use {{nowrap|{{tlx|Infobox recurring event}}}}. | ||
Line 12: | Line 12: | ||
| image_upright | | image_upright | ||
| image_alt | | image_alt | ||
| caption | | caption | ||
| Leader | |||
| native_name | | native_name | ||
| native_name_lang | | native_name_lang | ||
| english_name | | english_name | ||
| time | | time | ||
| timezone | |||
| duration | | duration | ||
| date | | date | ||
Line 43: | Line 45: | ||
| reported property damage | | reported property damage | ||
| burial | | burial | ||
| displaced | |||
| inquiries | | inquiries | ||
| inquest | | inquest | ||
Line 66: | Line 69: | ||
}} | }} | ||
< | <syntaxhighlight lang="html" 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 --> | ||
Line 77: | Line 80: | ||
| english_name = | | english_name = | ||
| time = | | time = | ||
| duration = | | timezone = | ||
| duration = <!-- {{duration|h=x|m=x|s=x}} or {{time interval|date1|date2|options}} --> | |||
| date = <!-- {{start date|YYYY|MM|DD}} or {{start and end dates|YYYY|MM|DD|YYYY|MM|DD}} --> | | date = <!-- {{start date|YYYY|MM|DD}} or {{start and end dates|YYYY|MM|DD|YYYY|MM|DD}} --> | ||
| venue = | | venue = | ||
Line 103: | Line 107: | ||
| reported property damage = | | reported property damage = | ||
| burial = | | burial = | ||
| displaced = | |||
| inquiries = | | inquiries = | ||
| inquest = | | inquest = | ||
Line 125: | Line 130: | ||
| notes = | | notes = | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
{{clear}} | {{clear}} | ||
=== Parameters === | === Parameters === | ||
Line 139: | Line 144: | ||
* {{para|english_name}} - | * {{para|english_name}} - | ||
* {{para|time}} - | * {{para|time}} - | ||
* {{para|timezone}} - | |||
* {{para|duration}} - | * {{para|duration}} - | ||
* {{para|date}} - <code><nowiki>{{start date|YYYY|MM|DD}}</nowiki></code> for the date of a single-day event or <code><nowiki>{{start and end dates|YYYY|MM|DD|YYYY|MM|DD}}</nowiki></code> for multi-day events | * {{para|date}} - <code><nowiki>{{start date|YYYY|MM|DD}}</nowiki></code> for the date of a single-day event or <code><nowiki>{{start and end dates|YYYY|MM|DD|YYYY|MM|DD}}</nowiki></code> for multi-day events | ||
Line 165: | Line 171: | ||
* {{para|reported property damage}} - | * {{para|reported property damage}} - | ||
* {{para|burial}} - | * {{para|burial}} - | ||
* {{para|displaced}} - people forced to leave home | |||
* {{para|inquiries}} - | * {{para|inquiries}} - | ||
* {{para|inquest}} - | * {{para|inquest}} - | ||
Line 189: | Line 196: | ||
== Example == | == Example == | ||
{{Infobox event | {{Infobox event | ||
|title=Bombay | | title = Bombay explosion | ||
|image=Bombay-Docks-aftermath1.png | | image = Bombay-Docks-aftermath1.png | ||
|caption=Smoke billowing out of | | caption = Smoke billowing out of the harbour | ||
|date=14 April 1944 | | date = 14 April 1944 | ||
|time=16:15 IST (10:45 UTC) | | time = 16:15 IST (10:45 UTC) | ||
|place=Victoria Dock, Bombay, [[British Raj|British India]] | | place = Victoria Dock, Bombay, [[British Raj|British India]] | ||
|coordinates = {{coord|18.9527772|N|72.8449774|E|type:event_region:IN|display=inline,title}} | | coordinates = {{coord|18.9527772|N|72.8449774|E|type:event_region:IN|display=inline,title}} | ||
|cause=ship fire | | cause = ship fire | ||
|url={{URL|example.com}} | | url = {{URL|example.com}} | ||
|casualties1=800+ dead | | casualties1 = 800+ dead | ||
|casualties2=3,000 injured | | casualties2 = 3,000 injured | ||
|website={{URL|example.com}} | | website = {{URL|example.com}} | ||
}} | }} | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
{{Infobox event | {{Infobox event | ||
|title=Bombay | | title = Bombay explosion | ||
|image=Bombay-Docks-aftermath1.png | | image = Bombay-Docks-aftermath1.png | ||
|caption=Smoke billowing out of | | caption = Smoke billowing out of the harbour | ||
|date=14 April 1944 | | date = 14 April 1944 | ||
|time=16:15 IST (10:45 UTC) | | time = 16:15 IST (10:45 UTC) | ||
|place=Victoria Dock, Bombay, [[British Raj|British India]] | | place = Victoria Dock, Bombay, [[British Raj|British India]] | ||
|coordinates = {{coord|18.9527772|N|72.8449774|E|type:event_region:IN|display=inline,title}} | | coordinates = {{coord|18.9527772|N|72.8449774|E|type:event_region:IN|display=inline,title}} | ||
|cause=ship fire | | cause = ship fire | ||
|url={{URL|example.com}} | | url = {{URL|example.com}} | ||
|casualties1=800+ dead | | casualties1 = 800+ dead | ||
|casualties2=3,000 injured | | casualties2 = 3,000 injured | ||
|website={{URL|example.com}} | | website = {{URL|example.com}} | ||
}} | }} | ||
</pre> | </pre> | ||
Line 228: | Line 235: | ||
== See also == | == See also == | ||
* | * [[:Category:Events infobox templates]] | ||
<includeonly>{{ | <includeonly>{{Sandbox other|| | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Events infobox templates| ]] | [[Category:Events infobox templates| ]] | ||
[[Category:Infobox templates with module parameter|Event]] | |||
[[Category:Embeddable templates]] | |||
[[Category:Templates that add a tracking category]] | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 15:57, 1 February 2021
This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
{{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
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright={{{image_upright}}}]] | |
Native name | {{{native_name}}} |
---|---|
English name | {{{english_name}}} |
Date | {{{date}}} |
Time | {{{time}}} ({{{timezone}}}) |
Duration | {{{duration}}} |
Venue | {{{venue}}} |
Location | {{{location}}} |
Coordinates | {{{coordinates}}} |
Also known as | {{{also_known_as}}} |
Type | {{{type}}} |
Theme | {{{theme}}} |
Cause | {{{cause}}} |
Motive | {{{motive}}} |
Target | {{{target}}} |
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}}} |
Displaced | {{{displaced}}} |
Inquiries | {{{inquiries}}} |
Inquest | {{{inquest}}} |
Coroner | {{{coroner}}} |
Arrests | {{{arrests}}} |
Suspects | {{{suspects}}} |
Accused | {{{accused}}} |
Convicted | {{{convicted}}} |
Charges | {{{charges}}} |
Trial | {{{trial}}} |
Verdict | {{{verdict}}} |
Convictions | {{{convictions}}} |
Sentence | {{{sentence}}} |
Publication bans | {{{publication_bans}}} |
Litigation | {{{litigation}}} |
Awards | {{{awards}}} |
Footage | {{{url}}} |
Website | {{{website}}} |
{{{notes}}} |
<syntaxhighlight lang="html" style="overflow:auto;">
</syntaxhighlight>
Parameters
|title=
- name of the event, if omitted, the page name will be used|child=
- set to "yes" if you are embedding this infobox in another one|image=
- name of the image of the event|image_size=
- image size in pixels – deprecated; use <syntaxhighlight lang="text" class="" id="" style="" inline="1">image_upright</syntaxhighlight> instead|image_upright=
- image scaling factor; defaults to 1 if left empty – see WP:IMGSIZE|image_alt=
-|caption=
- optional caption of the image|native_name=
- the native name of the event, if different|native_name_lang=
- ISO 639-2 code for the native name e.g. 'fr' for French.|english_name=
-|time=
-|timezone=
-|duration=
-|date=
-{{start date|YYYY|MM|DD}}
for the date of a single-day event or{{start and end dates|YYYY|MM|DD|YYYY|MM|DD}}
for multi-day events|venue=
- name of the particular venue (alternative to location)|location=
- the location of the event|coordinates=
- Use {{Coord}}, withdisplay=inline,title
(ex:{{coord|LAT|LON|region:XXXX_type:event|display=inline,title}}
)|also_known_as=
-|type=
-|theme=
-|cause=
-|motive=
-|target=
-|first_reporter=
-|budget=
- the larger of budgeted income or expense|patron=
or|patrons=
- patronage|organisers=
or|organizers=
- organised by|filmed_by=
-|participants=
- the typical number of participants|outcome=
-|casualties1=
-|casualties2=
-|casualties3=
-|reported deaths=
-|reported injuries=
-|reported missing=
-|reported property damage=
-|burial=
-|displaced=
- people forced to leave home|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=
- Use {{URL}} (ex:{{URL|example.com}}
)|notes=
-
Example
Date | 14 April 1944 |
---|---|
Time | 16:15 IST (10:45 UTC) |
Location | Victoria Dock, Bombay, British India |
Coordinates | Lua error in Module:Coordinates at line 492: attempt to index field 'wikibase' (a nil value). |
Cause | ship fire |
Casualties | |
800+ dead | |
3,000 injured | |
Footage | example |
Website | example |
{{Infobox event | title = Bombay explosion | image = Bombay-Docks-aftermath1.png | caption = Smoke billowing out of the 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
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.
nor collapse nested elements which use them.
Tracking categories
- Category:Pages using infobox event with unknown parameters (0)
- Category:Pages using infobox event with blank parameters (0)
See also