Template:Infobox event: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Frietjes fix tracking |
meta>Pigsonthewing + type; theme |
||
| Line 41: | Line 41: | ||
| data9 = {{ifempty| {{{also known as|}}} | {{{also_known_as|}}} | {{{AKA|}}} | {{{aka|}}} }} | | data9 = {{ifempty| {{{also known as|}}} | {{{also_known_as|}}} | {{{AKA|}}} | {{{aka|}}} }} | ||
| label10 = | | label10 = Type | ||
| data10 = {{{ | | data10 = {{{type|}}} | ||
| label11 = | | label11 = Theme | ||
| data11 = {{{ | | data11 = {{{theme|}}} | ||
| label12 = | | label12 = Cause | ||
| data12 = {{{ | | data12 = {{{cause|}}} | ||
| label13 = | | label13 = First reporter | ||
| data13 = {{ | | data13 = {{{first reporter| {{{first_reporter|}}} }}} | ||
| label14 = | | label14 = Budget | ||
| data14 = | | data14 = {{{budget|}}} | ||
| label15 = | | label15 = {{#if:{{{patrons|}}}|Patrons|Patron(s)}} | ||
| data15 = {{{ | | data15 = {{#if:{{{patrons|}}}|{{{patrons}}}|{{{patron|}}}}} | ||
| label16 = | | label16 = {{#if:{{{organisers|}}}|Organised|Organized}} by | ||
| data16 = {{{ | | data16 = {{#if:{{{organisers|}}}|{{{organisers}}}|{{{organizers|}}}}} | ||
| label17 = | | label17 = Filmed by | ||
| data17 = {{{ | | data17 = {{{filmed by| {{{filmed_by|}}}}}} | ||
| | | label18 = Participants | ||
| | | data18 = {{{participants|{{{Participants|}}} }}} | ||
| class18 = attendee | |||
| | | label19 = Outcome | ||
| | | data19 = {{{outcome| {{{result| {{{Result|}}} }}} }}} | ||
| class19 = description | |||
| | | header20 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|Casualties}} | ||
| | | class20 = navbox-abovebelow | ||
| data21 = {{{casualties1|}}} | |||
| data22 = {{{casualties2|}}} | |||
| data23 = {{{casualties3|}}} | |||
| label24 = | | label24 = Deaths | ||
| data24 = {{{reported | | data24 = {{ifempty| {{{reported deaths|}}} | {{{reported death(s)|}}} | {{{Deaths|}}} | {{{deaths|}}} | {{{fatalities|}}} }} | ||
| label25 = | | label25 = Injuries | ||
| data25 = | | data25 = {{{reported injuries|{{{injuries|}}} }}} | ||
| label26 = | | label26 = Missing | ||
| data26 = {{{ | | data26 = {{{reported missing|{{{missing|}}}}}} | ||
| label27 = | | label27 = Property damage | ||
| data27 = {{{ | | data27 = {{ifempty| {{{reported property damage|}}} | {{{property damage|}}} | {{{property_damage|}}} }} | ||
| label28 = | | label28 = Burial | ||
| data28 = {{{ | | data28 = {{{burial|}}} | ||
| label29 = | | label29 = Inquiries | ||
| data29 = {{{ | | data29 = {{{inquiries|}}} | ||
| label30 = | | label30 = Inquest | ||
| data30 = {{{ | | data30 = {{{inquest|}}} | ||
| label31 = | | label31 = Coroner | ||
| data31 = {{{ | | data31 = {{{coroner|}}} | ||
| label32 = | | label32 = Arrest(s) | ||
| data32 = {{{ | | data32 = {{{arrests|}}} | ||
| label33 = | | label33 = Suspect(s) | ||
| data33 = {{{ | | data33 = {{{suspects|{{{susperps|}}} }}} | ||
| label34 = | | label34 = Accused | ||
| data34 = {{{ | | data34 = {{{accused|}}} | ||
| label35 = | | label35 = Convicted | ||
| data35 = {{{ | | data35 = {{{convicted|}}} | ||
| label36 = | | label36 = Charges | ||
| data36 = {{{ | | data36 = {{{charges|}}} | ||
| label37 = | | label37 = Verdict | ||
| data37 = {{{ | | data37 = {{{verdict|}}} | ||
| label38 = | | label38 = Convictions | ||
| data38 = {{{ | | data38 = {{{convictions|}}} | ||
| label39 = | | label39 = Publication bans | ||
| data39 = {{{ | | data39 = {{{publication bans|{{{publication_bans|}}}}}} | ||
| label40 = | | label40 = Litigation | ||
| data40 = {{{ | | data40 = {{{litigation|}}} | ||
| label41 = | | label41 = Awards | ||
| data41 = | | data41 = {{{awards|}}} | ||
| label42 = | | label42 = Footage | ||
| data42 = {{ | | data42 = {{{footage|{{{url|}}}}}} | ||
| label43 = {{{ | | label43 = {{{blank_label}}} | ||
| data43 = {{#if:{{{ | | data43 = {{#if:{{{blank_label|}}}|{{{blank_data|}}}}} | ||
| label44 = Website | | label44 = {{{blank1_label}}} | ||
| | | data44 = {{#if:{{{blank1_label|}}}|{{{blank1_data|}}}}} | ||
| label45 = {{{blank2_label}}} | |||
| data45 = {{#if:{{{blank2_label|}}}|{{{blank2_data|}}}}} | |||
| label46 = Website | |||
| data46 = {{{website|{{{URL|}}} }}} | |||
| belowstyle = border-top: #aaa 1px solid; | | belowstyle = border-top: #aaa 1px solid; | ||
Revision as of 20:52, 31 January 2015
| Location | Template:Ifempty |
|---|---|
| Also known as | Template:Ifempty |
| Deaths | Template:Ifempty |
| Property damage | Template:Ifempty |
| 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=1.1]] {{{caption}}} | |
| Native name | {{{native_name}}} |
|---|---|
| English name | {{{english_name}}} |
| Time | {{{time}}} |
| Duration | {{{duration}}} |
| Date | {{{date}}} |
| Venue | {{{venue}}} |
| Location | Template:Ifempty |
| Coordinates | {{{coordinates}}} |
| Also known as | Template:Ifempty |
| 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 | Template:Ifempty |
| Injuries | {{{reported injuries}}} |
| Missing | {{{reported missing}}} |
| Property damage | Template:Ifempty |
| Burial | {{{burial}}} |
| Inquiries | {{{inquiries}}} |
| Inquest | {{{inquest}}} |
| Coroner | {{{coroner}}} |
| Arrest(s) | {{{arrests}}} |
| Suspect(s) | {{{suspects}}} |
| Accused | {{{accused}}} |
| Convicted | {{{convicted}}} |
| Charges | {{{charges}}} |
| Verdict | {{{verdict}}} |
| Convictions | {{{convictions}}} |
| Publication bans | {{{publication_bans}}} |
| Litigation | {{{litigation}}} |
| Awards | {{{awards}}} |
| Footage | {{{url}}} |
| Website | {{{website}}} |
| {{{notes}}} | |
<syntaxhighlight lang="html" style="overflow:auto;">
| Location | Template:Ifempty |
|---|---|
| Also known as | Template:Ifempty |
| Deaths | Template:Ifempty |
| Property damage | Template:Ifempty |
</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 | |
| Time | 16:15 IST (10:45 UTC) |
|---|---|
| Date | 14 April 1944 |
| Location | Template:Ifempty |
| Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
| Also known as | Template:Ifempty |
| Cause | ship fire |
| Casualties | |
| 800+ dead | |
| 3,000 injured | |
| Deaths | Template:Ifempty |
| Property damage | Template:Ifempty |
| 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)