Template:Infobox event: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Jonesey95 add timezone to parameter check |
meta>Pigsonthewing people displaced |
||
| Line 102: | Line 102: | ||
| data29 = {{if empty| {{{reported property damage|}}} | {{{property damage|}}} | {{{property_damage|}}} }} | | data29 = {{if empty| {{{reported property damage|}}} | {{{property damage|}}} | {{{property_damage|}}} }} | ||
| | | label31 = Burial | ||
| | | data31 = {{{burial|}}} | ||
| label31 = | | label31 = Displaced | ||
| data31 = {{{ | | data31 = {{{displaced|}}} | ||
| label32 = | | label32 = Inquiries | ||
| data32 = {{{ | | data32 = {{{inquiries|}}} | ||
| label33 = | | label33 = Inquest | ||
| data33 = {{{ | | data33 = {{{inquest|}}} | ||
| label34 = | | label34 = Coroner | ||
| data34 = {{{ | | data34 = {{{coroner|}}} | ||
| label35 = | | label35 = Arrests | ||
| data35 = {{{ | | data35 = {{{arrests|}}} | ||
| label36 = | | label36 = Suspects | ||
| data36 = {{{ | | data36 = {{{suspects|{{{susperps|}}} }}} | ||
| label37 = | | label37 = Accused | ||
| data37 = {{{ | | data37 = {{{accused|}}} | ||
| label38 = | | label38 = Convicted | ||
| data38 = {{{ | | data38 = {{{convicted|}}} | ||
| label39 = | | label39 = Charges | ||
| data39 = {{{ | | data39 = {{{charges|}}} | ||
| label40 = | | label40 = Trial | ||
| data40 = {{{ | | data40 = {{{trial|}}} | ||
| label41 = | | label41 = Verdict | ||
| data41 = {{{ | | data41 = {{{verdict|}}} | ||
| label42 = | | label42 = Convictions | ||
| data42 = {{{ | | data42 = {{{convictions|}}} | ||
| label43 = | | label43 = Sentence | ||
| data43 = {{{ | | data43 = {{{sentence|}}} | ||
| label44 = | | label44 = Publication bans | ||
| data44 = {{{ | | data44 = {{{publication bans|{{{publication_bans|}}}}}} | ||
| label45 = | | label45 = Litigation | ||
| data45 = {{{ | | data45 = {{{litigation|}}} | ||
| label46 = | | label46 = Awards | ||
| data46 = {{{ | | data46 = {{{awards|}}} | ||
| label47 = | | label47 = Footage | ||
| data47 = {{ | | data47 = {{{footage|{{{url|}}}}}} | ||
| label48 = {{{ | | label48 = {{{blank_label}}} | ||
| data48 = {{#if:{{{ | | data48 = {{#if:{{{blank_label|}}}|{{{blank_data|}}}}} | ||
| label49 = {{{ | | label49 = {{{blank1_label}}} | ||
| data49 = {{#if:{{{ | | data49 = {{#if:{{{blank1_label|}}}|{{{blank1_data|}}}}} | ||
| label50 = | | label50 = {{{blank2_label}}} | ||
| data50 = {{{ | | data50 = {{#if:{{{blank2_label|}}}|{{{blank2_data|}}}}} | ||
| data51 = {{{module|}}} | | label51 = Website | ||
| data51 = {{{website|{{{URL|}}} }}} | |||
| data52 = {{{module|}}} | |||
| belowstyle = border-top: #aaa 1px solid; | | belowstyle = border-top: #aaa 1px solid; | ||
Revision as of 14:26, 5 August 2020
| 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}}}]] {{{caption}}} | |
| 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}}} |
| 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; useimage_uprightinstead|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
Smoke billowing out of Harbour | |
| Date | 14 April 1944 |
|---|---|
| Time | 16:15 IST (10:45 UTC) |
| Location | Victoria Dock, Bombay, British India |
| Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
| 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 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
- 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)