Template:Infobox event: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Sven Manguard removing merge notice |
meta>Pigsonthewing arrests |
||
| Line 2: | Line 2: | ||
| bodystyle = {{#if:{{{WidthInEms|}}}|width: {{{WidthInEms}}}em}} | | bodystyle = {{#if:{{{WidthInEms|}}}|width: {{{WidthInEms}}}em}} | ||
| bodyclass = {{#if:{{{nongregorian|}}}||vevent}} | | bodyclass = {{#if:{{{nongregorian|}}}||vevent}} | ||
| | | subheader1 = {{#if:{{{partof|}}}|Part of {{{partof|}}}}} | ||
| abovestyle = {{#if: {{{Backgroundcolor|}}} | background-color: #{{{Backgroundcolor|f8eaba}}} }} | | abovestyle = {{#if: {{{Backgroundcolor|}}} | background-color: #{{{Backgroundcolor|f8eaba}}} }} | ||
| aboveclass = summary | | aboveclass = summary | ||
| Line 22: | Line 22: | ||
| datastyle = text-align: left; | | datastyle = text-align: left; | ||
| | | label2 = Date | ||
| | | data2 = {{{date|{{{Date|}}} }}} | ||
| | | label1 = Time | ||
| | | data1 = {{{time|}}} | ||
| | | label4 = Location | ||
| | | class4 = location | ||
| | | data4 = {{{place|{{{Location|{{{location|}}} }}} }}} | ||
| | | label5 = [[Geographic coordinate system|Coordinates]] | ||
| | | data5 = {{{coordinates|}}} | ||
| | | label6 = Also known as | ||
| | | data6 = {{{also known as|{{{AKA|}}} }}} | ||
| | | label7 = Cause | ||
| | | data7 = {{{cause|}}} | ||
| | | label8 = First reporter | ||
| | | data8 = {{{first reporter|}}} | ||
| | | label9 = Filmed by | ||
| | | data9 = {{{filmed by|}}} | ||
| | | label10 = Participants | ||
| | | data10 = {{{participants|{{{Participants|}}} }}} | ||
| | | class10 = attendee | ||
| | | label11 = Outcome | ||
| | | data11 = {{{outcome|{{{Result|}}} }}} | ||
| | | class11 = description | ||
| | | header12 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|Casualties}} | ||
| | | class12 = navbox-abovebelow | ||
| | | data13 = {{{casualties1|}}} | ||
| | | data14 = {{{casualties2|}}} | ||
| | | data15 = {{{casualties3|}}} | ||
| | | label16 = Deaths | ||
| | | data16 = {{{reported deaths|{{{reported death(s)|{{{Deaths|{{{fatalities|}}} }}} }}} }}} | ||
| | | label17 = Injuries | ||
| | | data17 = {{{reported injuries|{{{injuries|}}} }}} | ||
| | | label18 = Missing | ||
| | | data18 = {{{reported missing|}}} | ||
| | | label19 = Property damage | ||
| | | data19 = {{{reported property damage|}}} | ||
| | | label20 = Burial | ||
| | | data20 = {{{burial|}}} | ||
| | | label21 = Inquiries | ||
| | | data21 = {{{inquiries|}}} | ||
| | | label22 = Inquest | ||
| | | data22 = {{{inquest|}}} | ||
| | | label23 = Coroner | ||
| | | data23 = {{{coroner|}}} | ||
| | | label24 = Arrest(s) | ||
| | | data24 = {{{arrests|}}} | ||
| | | label25 = Suspect(s) | ||
| | | data25 = {{{suspects|{{{susperps|}}} }}} | ||
| | | label26 = Accused | ||
| | | data26 = {{{accused|}}} | ||
| | | label27 = Convicted | ||
| | | data27 = {{{convicted|}}} | ||
| | | label28 = Charges | ||
| | | data28 = {{{charges|}}} | ||
| | | label29 = Verdict | ||
| | | data29 = {{{verdict|}}} | ||
| | | label30 = Convictions | ||
| | | data30 = {{{convictions|}}} | ||
| | | label31 = Publication bans | ||
| | | data31 = {{{publication bans|}}} | ||
| | | label32 = Litigation | ||
| | | data32 = {{{litigation|}}} | ||
| | | label33 = Awards | ||
| | | data33 = {{{awards|}}} | ||
| | | label34 = Footage | ||
| | | data34 = {{{url|}}} | ||
| | | label35 = {{{blank_label}}} | ||
| | | data35 = {{#if:{{{blank_label|}}}|{{{blank_data|}}}}} | ||
| | | label36 = {{{blank1_label}}} | ||
| | | data36 = {{#if:{{{blank1_label|}}}|{{{blank1_data|}}}}} | ||
| | | label37 = {{{blank2_label}}} | ||
| | | data37 = {{#if:{{{blank2_label|}}}|{{{blank2_data|}}}}} | ||
| label38 = Website | |||
| data38 = {{{website|{{{URL|}}} }}} | |||
| belowstyle = border-top: #aaa 1px solid; | | belowstyle = border-top: #aaa 1px solid; | ||
Revision as of 19:50, 12 July 2014
| 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}}} | |
| Time | {{{time}}} |
|---|---|
| Date | {{{date}}} |
| 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}}} |
| Arrest(s) | {{{arrests}}} |
| 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 | |
| Time | 16:15 IST (10:45 UTC) |
|---|---|
| Date | 14 April 1944 |
| 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)