Template:Infobox event: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Frietjes |
meta>Frietjes alternative lowercase parameters |
||
| Line 7: | Line 7: | ||
| titleclass = summary | | titleclass = summary | ||
| title = {{ | | title = {{ifempty | {{{event|}}} | {{{title|}}} | {{{name|}}} | {{{Event_Name|}}} | <includeonly>{{PAGENAME}}</includeonly> }} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}}|{{{image}}}|{{{image_name|{{{Image_Name|}}}}}}}}|size={{{image_size|{{{Imagesize|}}}}}}|sizedefault=frameless|upright=1.1|thumbtime={{{thumbtime|{{{Thumb_Time|}}}}}}|alt={{{alt|{{{image_alt|{{{Image_Alt|}}}}}}}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}}|{{{image}}}|{{{image_name|{{{Image_Name|}}}}}}}}|size={{{image_size|{{{Imagesize|}}}}}}|sizedefault=frameless|upright=1.1|thumbtime={{{thumbtime|{{{Thumb_Time|}}}}}}|alt={{{alt|{{{image_alt|{{{Image_Alt|}}}}}}}}}}} | ||
| Line 22: | Line 16: | ||
| datastyle = text-align: left; | | datastyle = text-align: left; | ||
| label1 | | label1 = Native name | ||
| data1 | | data1 = {{#if:{{{native_name|}}}|<span {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}> {{{native_name}}}</span>}} | ||
| label2 = English name | | label2 = English name | ||
| data2 = {{{English_name|{{{english_name|}}}}}} | | data2 = {{{English_name|{{{english_name|}}}}}} | ||
| label3 = Time | | label3 = Time | ||
| data3 = {{{time|}}} | | data3 = {{{time|}}} | ||
| label4 = Date | | label4 = Date | ||
| data4 = {{{date|{{{Date|}}} }}} | | data4 = {{{date|{{{Date|}}} }}} | ||
| label5 = Venue | | label5 = Venue | ||
| data5 = {{{venue|}}} | | data5 = {{{venue|}}} | ||
| label6 = Location | | label6 = Location | ||
| class6 = location | | class6 = location | ||
| data6 = {{{place|{{{Location|{{{location| | | data6 = {{ifempty| {{{place|}}} | {{{Location|}}} | {{{location|}}} }} | ||
| label7 = [[Geographic coordinate system|Coordinates]] | | label7 = [[Geographic coordinate system|Coordinates]] | ||
| data7 = {{{coordinates|}}} | | data7 = {{{coordinates|}}} | ||
| label8 = Also known as | | label8 = Also known as | ||
| data8 = {{{also known as|{{{AKA|}}} }}} | | data8 = {{ifempty| {{{also known as|}}} | {{{also_known_as|}}} | {{{AKA|}}} | {{{aka|}}} }} | ||
| label9 = Cause | | label9 = Cause | ||
| data9 = {{{cause|}}} | | data9 = {{{cause|}}} | ||
| label10 = First reporter | | label10 = First reporter | ||
| data10 | | data10 = {{{first reporter| {{{first_reporter|}}} }}} | ||
| label11 = Budget | | label11 = Budget | ||
| data11 | | data11 = {{{budget|}}} | ||
| label12 = {{#if:{{{patrons|}}}|Patrons|Patron(s)}} | | label12 = {{#if:{{{patrons|}}}|Patrons|Patron(s)}} | ||
| data12 | | data12 = {{#if:{{{patrons|}}}|{{{patrons}}}|{{{patron|}}}}} | ||
| label13 = {{#if:{{{organisers|}}}|Organised|Organized}} by | | label13 = {{#if:{{{organisers|}}}|Organised|Organized}} by | ||
| data13 | | data13 = {{#if:{{{organisers|}}}|{{{organisers}}}|{{{organizers|}}}}} | ||
| label14 = Filmed by | | label14 = Filmed by | ||
| data14 | | data14 = {{{filmed by| {{{filmed_by|}}}}}} | ||
| label15 = Participants | | label15 = Participants | ||
| data15 | | data15 = {{{participants|{{{Participants|}}} }}} | ||
| class15 = attendee | | class15 = attendee | ||
| label16 = Outcome | | label16 = Outcome | ||
| data16 | | data16 = {{{outcome| {{{result| {{{Result|}}} }}} }}} | ||
| class16 = description | | class16 = description | ||
| header17 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|Casualties}} | | header17 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|Casualties}} | ||
| class17 | | class17 = navbox-abovebelow | ||
| data18 = {{{casualties1|}}} | | data18 = {{{casualties1|}}} | ||
| data19 = {{{casualties2|}}} | | data19 = {{{casualties2|}}} | ||
| data20 = {{{casualties3|}}} | | data20 = {{{casualties3|}}} | ||
| label21 = Deaths | | label21 = Deaths | ||
| data21 | | data21 = {{ifempty| {{{reported deaths|}}} | {{{reported death(s)|}}} | {{{Deaths|}}} | {{{deaths|}}} | {{{fatalities|}}} }} | ||
| label22 = Injuries | | label22 = Injuries | ||
| data22 | | data22 = {{{reported injuries|{{{injuries|}}} }}} | ||
| label23 = Missing | | label23 = Missing | ||
| data23 | | data23 = {{{reported missing|{{{missing|}}}}}} | ||
| label24 = Property damage | | label24 = Property damage | ||
| data24 | | data24 = {{ifempty| {{{reported property damage|}}} | {{{property damage|}}} | {{{property_damage|}}} }} | ||
| label25 = Burial | | label25 = Burial | ||
| data25 | | data25 = {{{burial|}}} | ||
| label26 = Inquiries | | label26 = Inquiries | ||
| data26 | | data26 = {{{inquiries|}}} | ||
| label27 = Inquest | | label27 = Inquest | ||
| data27 | | data27 = {{{inquest|}}} | ||
| label28 = Coroner | | label28 = Coroner | ||
| data28 | | data28 = {{{coroner|}}} | ||
| label29 = Arrest(s) | | label29 = Arrest(s) | ||
| data29 | | data29 = {{{arrests|}}} | ||
| label30 = Suspect(s) | | label30 = Suspect(s) | ||
| data30 | | data30 = {{{suspects|{{{susperps|}}} }}} | ||
| label31 = Accused | | label31 = Accused | ||
| data31 | | data31 = {{{accused|}}} | ||
| label32 = Convicted | | label32 = Convicted | ||
| data32 | | data32 = {{{convicted|}}} | ||
| label33 = Charges | | label33 = Charges | ||
| data33 | | data33 = {{{charges|}}} | ||
| label34 = Verdict | | label34 = Verdict | ||
| data34 | | data34 = {{{verdict|}}} | ||
| label35 = Convictions | | label35 = Convictions | ||
| data35 | | data35 = {{{convictions|}}} | ||
| label36 = Publication bans | | label36 = Publication bans | ||
| data36 | | data36 = {{{publication bans|{{{publication_bans|}}}}}} | ||
| label37 = Litigation | | label37 = Litigation | ||
| data37 | | data37 = {{{litigation|}}} | ||
| label38 = Awards | | label38 = Awards | ||
| data38 | | data38 = {{{awards|}}} | ||
| label39 = Footage | | label39 = Footage | ||
| data39 | | data39 = {{{footage|{{{url|}}}}}} | ||
| label40 = {{{blank_label}}} | | label40 = {{{blank_label}}} | ||
| data40 | | data40 = {{#if:{{{blank_label|}}}|{{{blank_data|}}}}} | ||
| label41 = {{{blank1_label}}} | | label41 = {{{blank1_label}}} | ||
| data41 | | data41 = {{#if:{{{blank1_label|}}}|{{{blank1_data|}}}}} | ||
| label42 = {{{blank2_label}}} | | label42 = {{{blank2_label}}} | ||
| data42 | | data42 = {{#if:{{{blank2_label|}}}|{{{blank2_data|}}}}} | ||
| label43 = Website | | label43 = Website | ||
| data43 | | data43 = {{{website|{{{URL|}}} }}} | ||
| belowstyle = border-top: #aaa 1px solid; | | belowstyle = border-top: #aaa 1px solid; | ||
Revision as of 15:09, 8 December 2014
| 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}}} |
| Date | {{{date}}} |
| Venue | {{{venue}}} |
| Location | Template:Ifempty |
| Coordinates | {{{coordinates}}} |
| Also known as | Template:Ifempty |
| 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)