Template:Infobox event: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Underlying lk Nominated for merging with Template:Infobox civilian attack; see Wikipedia:Templates for discussion/Log/2013 October 1#Template:Infobox civilian attack. (TW) |
meta>Plastikspork Closing TfM, rolling back merger |
||
| Line 1: | Line 1: | ||
{{infobox | {{infobox | ||
| bodystyle = {{#if:{{{WidthInEms|}}}|width: {{{WidthInEms}}}em}} | | bodystyle = {{#if:{{{WidthInEms|}}}|width: {{{WidthInEms}}}em}} | ||
| bodyclass = {{#if:{{{nongregorian|}}}||vevent}} | | bodyclass = {{#if:{{{nongregorian|}}}||vevent}} | ||
| subheader2 = {{#if:{{{partof|}}}|Part of {{{partof|}}}}} | | subheader2 = {{#if:{{{partof|}}}|Part of {{{partof|}}}}} | ||
| abovestyle = {{#if: {{{Backgroundcolor|}}} | background-color: #{{{Backgroundcolor|f8eaba}}} }} | |||
| aboveclass = summary | | aboveclass = summary | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}}|{{{image}}}|{{{image_name|{{{Image_Name|}}}}}}}}|size={{{image_size|{{{Imagesize| | | titleclass = summary | ||
| title = {{#if:{{{event|}}} | |||
| {{{event}}} | |||
| {{#if:{{{title|}}} | |||
| {{{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|}}}}}}}}}}} | |||
| caption = {{{caption|{{{Image_Caption|}}} }}} | | caption = {{{caption|{{{Image_Caption|}}} }}} | ||
| Line 15: | Line 22: | ||
| datastyle = text-align: left; | | datastyle = text-align: left; | ||
| label1 = | | label1 = Date | ||
| data1 = {{{date|{{{Date|}}} }}} | |||
| data1 = {{{ | |||
| label2 = Time | |||
| data2 = {{{time|}}} | |||
| | | label3 = Location | ||
| | | class3 = location | ||
| data3 = {{{place|{{{Location|{{{location|}}} }}} }}} | |||
| | | label4 = [[Geographic coordinate system|Coordinates]] | ||
| | | data4 = {{{coordinates|}}} | ||
| label5 = Also known as | | label5 = Also known as | ||
| data5 = {{{also known as|{{{AKA|}}} }}} | | data5 = {{{also known as|{{{AKA|}}} }}} | ||
| label6 = | | label6 = Cause | ||
| data6 = {{{ | | data6 = {{{cause|}}} | ||
| | | label7 = First reporter | ||
| | | data7 = {{{first reporter|}}} | ||
| | | label8 = Filmed by | ||
| | | data8 = {{{filmed by|}}} | ||
| | | label9 = Participants | ||
| | | data9 = {{{participants|{{{Participants|}}} }}} | ||
| class9 = attendee | |||
| | | label10 = Outcome | ||
| | | data10 = {{{outcome|{{{Result|}}} }}} | ||
| class10 = description | |||
| | | header11 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|Casualties}} | ||
| data12 | | class11 = navbox-abovebelow | ||
| data12 = {{{casualties1|}}} | |||
| data13 = {{{casualties2|}}} | |||
| data14 = {{{casualties3|}}} | |||
| | | label15 = Deaths | ||
| | | data15 = {{{reported deaths|{{{reported death(s)|{{{Deaths|{{{fatalities|}}} }}} }}} }}} | ||
| | | label16 = Injuries | ||
| | | data16 = {{{reported injuries|{{{injuries|}}} }}} | ||
| | |||
| | | label17 = Missing | ||
| | | data17 = {{{reported missing|}}} | ||
| | | label18 = Property damage | ||
| | | data18 = {{{reported property damage|}}} | ||
| | | label19 = Burial | ||
| | | data19 = {{{burial|}}} | ||
| | | label20 = Inquiries | ||
| | | data20 = {{{inquiries|}}} | ||
| | | label21 = Inquest | ||
| | | data21 = {{{inquest|}}} | ||
| | | label22 = Coroner | ||
| | | data22 = {{{coroner|}}} | ||
| | | label23 = Suspect(s) | ||
| | | data23 = {{{suspects|{{{susperps|}}} }}} | ||
| | | label24 = Accused | ||
| | | data24 = {{{accused|}}} | ||
| | | label25 = Convicted | ||
| | | data25 = {{{convicted|}}} | ||
| | | label26 = Charges | ||
| | | data26 = {{{charges|}}} | ||
| | | label27 = Verdict | ||
| | | data27 = {{{verdict|}}} | ||
| | | label28 = Convictions | ||
| | | data28 = {{{convictions|}}} | ||
| | | label29 = Publication bans | ||
| | | data29 = {{{publication bans|}}} | ||
| | | label30 = Litigation | ||
| | | data30 = {{{litigation|}}} | ||
| | | label31 = Awards | ||
| | | data31 = {{{awards|}}} | ||
| | | label32 = Footage | ||
| | | data32 = {{{url|}}} | ||
| | | label33 = {{{blank_label}}} | ||
| | | data33 = {{#if:{{{blank_label|}}}|{{{blank_data|}}}}} | ||
| | | label34 = {{{blank1_label}}} | ||
| | | data34 = {{#if:{{{blank1_label|}}}|{{{blank1_data|}}}}} | ||
| | | label35 = {{{blank2_label}}} | ||
| | | data35 = {{#if:{{{blank2_label|}}}|{{{blank2_data|}}}}} | ||
| | | label36 = Website | ||
| data36 = {{{website|{{{URL|}}} }}} | |||
| | |||
| belowstyle = border-top: #aaa 1px solid; | | belowstyle = border-top: #aaa 1px solid; | ||
| Line 151: | Line 131: | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | |||
{{ | <!-- please add category links to the /doc sub-page, not here --> | ||
</noinclude> | </noinclude> | ||
Revision as of 21:07, 12 October 2013
| 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}}} | |
| Date | {{{date}}} |
|---|---|
| Time | {{{time}}} |
| Location | {{{location}}} |
| Coordinates | {{{coordinates}}} |
| Cause | {{{cause}}} |
| Participants | {{{participants}}} |
| Outcome | {{{outcome}}} |
| Casualties | |
| {{{casualties1}}} | |
| {{{casualties2}}} | |
| {{{casualties3}}} | |
| Deaths | {{{reported deaths}}} |
| Injuries | {{{reported injuries}}} |
| Missing | {{{reported missing}}} |
| Property damage | {{{reported property damage}}} |
| Burial | {{{burial}}} |
| Inquiries | {{{inquiries}}} |
| Inquest | {{{inquest}}} |
| Coroner | {{{coroner}}} |
| Suspect(s) | {{{suspects}}} |
| Accused | {{{accused}}} |
| Convicted | {{{convicted}}} |
| Charges | {{{charges}}} |
| Verdict | {{{verdict}}} |
| Convictions | {{{convictions}}} |
| 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)