Template:Infobox event: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Underlying lk No edit summary |
meta>Underlying lk No edit summary |
||
| Line 2: | Line 2: | ||
| bodystyle = {{#if:{{{WidthInEms|}}}|width: {{{WidthInEms}}}em}} | | bodystyle = {{#if:{{{WidthInEms|}}}|width: {{{WidthInEms}}}em}} | ||
| bodyclass = {{#if:{{{nongregorian|}}}||vevent}} | | bodyclass = {{#if:{{{nongregorian|}}}||vevent}} | ||
| abovestyle = {{#if: {{{Backgroundcolor|}}} }} | |||
| above = {{{event|{{{title|{{{name|{{{Event_Name|<includeonly>{{PAGENAME}}</includeonly>}}} }}} }}} }}} | |||
| subheader2 = {{#if:{{{partof|}}}|Part of {{{partof|}}}}} | | subheader2 = {{#if:{{{partof|}}}|Part of {{{partof|}}}}} | ||
| aboveclass = summary | | aboveclass = summary | ||
| 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 14: | ||
| datastyle = text-align: left; | | datastyle = text-align: left; | ||
| label1 = | | label1 = Location | ||
| data1 = {{{ | | class1 = location | ||
| data1 = {{{place|{{{Location|{{{location|}}} }}} }}} | |||
| label2 = | | label2 = [[Geographic coordinate system|Coordinates]] | ||
| data2 = {{{ | | data2 = {{{coordinates|}}} | ||
| label3 = | | label3 = Date | ||
| data3 = {{{date|{{{Date|}}} }}} {{#if:{{{time|}}}|<br />{{{time}}} }}{{#if:{{{time-begin|}}}|<br />{{{time-begin}}} – {{{time-end}}} }} {{#if:{{{timezone|}}}|({{{timezone}}})}} | |||
| data3 = {{{ | |||
| | |||
| | |||
| label5 = Also known as | | label5 = Also known as | ||
| data5 = {{{also known as|{{{AKA|}}} }}} | | data5 = {{{also known as|{{{AKA|}}} }}} | ||
| label6 = Cause | | label6 = Target | ||
| | | data6 = {{{target|}}} | ||
| label7 = Attack type | |||
| data7 = {{{type|}}} | |||
| label8 = Weapon(s) | |||
| data8 = {{{weapons|}}} | |||
| label9 = Cause | |||
| data9 = {{{cause|}}} | |||
| label10 = First reporter | |||
| data10 = {{{first reporter|}}} | |||
| labe11 = Filmed by | |||
| data11 = {{{filmed by|}}} | |||
| label12 = Participants | |||
| data12 = {{{participants|{{{Participants|}}} }}} | |||
| class12 = attendee | |||
| label13 = Outcome | |||
| data13 = {{{outcome|{{{Result|}}} }}} | |||
| class13 = description | |||
| header14 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|Casualties}} | |||
| class14 = navbox-abovebelow | |||
| data15 = {{{casualties1|}}} | |||
| data16 = {{{casualties2|}}} | |||
| data17 = {{{casualties3|}}} | |||
| label18 = Deaths | |||
| data18 = {{{reported deaths|{{{reported death(s)|{{{Deaths|{{{fatalities|}}} }}} }}} }}} | |||
| label19 = Injuries (non-fatal) | |||
| data19 = {{{reported injuries|{{{injuries|}}} }}} | |||
| | | label20 = {{#if:{{{victims|}}}|Victims|Victim}} | ||
| | | data20 = {{#if:{{{victims|}}}|{{{victims}}}|{{{victim|}}}}} | ||
| | | label21 = {{#if:{{{perps|}}}|Perpetrators|Perpetrator}} | ||
| | | data21 = {{#if:{{{perps|}}}|{{{perps}}}|{{{perp|}}}}} | ||
| | | label22 = {{#if:{{{perpetrators|}}}|Assailants|Assailant}} | ||
| | | data22 = {{#if:{{{perpetrators|}}}|{{{perpetrators}}}|{{{perpetrator|}}}}} | ||
| | | label23 = {{#if:{{{susperps|}}}|Suspected perpetrators|Suspected perpetrator}} | ||
| | | data23 = {{#if:{{{susperps|}}}|{{{susperps}}}|{{{susperp|}}}}} | ||
| | | label24 = {{#if:{{{numparts|}}}|Number of participants|Participant}} | ||
| | | data24 = {{#if:{{{numparts|}}}|{{{numparts}}}|{{{numpart|}}}}} | ||
| | |||
| | |||
| | | label25 = {{#if:{{{dfens|}}}|Defenders|Defender}} | ||
| data25 = {{#if:{{{dfens|}}}|{{{dfens}}}|{{{dfen|}}}}} | |||
| | | label26 = Missing | ||
| | | data26 = {{{reported missing|}}} | ||
| | | label27 = Property damage | ||
| | | data27 = {{{reported property damage|}}} | ||
| | | label28 = Burial | ||
| | | data28 = {{{burial|}}} | ||
| | | label29 = Inquiries | ||
| | | data29 = {{{inquiries|}}} | ||
| | | label30 = Inquest | ||
| | | data30 = {{{inquest|}}} | ||
| | | label31 = Coroner | ||
| | | data31 = {{{coroner|}}} | ||
| | | label32 = Suspect(s) | ||
| | | data32 = {{{suspects|{{{susperps|}}} }}} | ||
| | | label33 = Accused | ||
| | | data33 = {{{accused|}}} | ||
| | | label34 = Convicted | ||
| | | data34 = {{{convicted|}}} | ||
| | | label35 = Motive | ||
| | | data35 = {{{motive|}}} | ||
| | | label36 = Charges | ||
| | | data36 = {{{charges|}}} | ||
| | | label37 = Verdict | ||
| | | data37 = {{{verdict|}}} | ||
| | | label38 = Convictions | ||
| | | data38 = {{{convictions|}}} | ||
| | | label39 = Publication bans | ||
| | | data39 = {{{publication bans|}}} | ||
| | | label40 = Litigation | ||
| | | data40 = {{{litigation|}}} | ||
| | | label41 = Awards | ||
| | | data41 = {{{awards|}}} | ||
| | | label42 = Footage | ||
| | | data42 = {{{url|}}} | ||
| | | label43 = {{{blank_label}}} | ||
| | | data43 = {{#if:{{{blank_label|}}}|{{{blank_data|}}}}} | ||
| | | 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; | ||
| Line 132: | Line 151: | ||
}}<noinclude> | }}<noinclude> | ||
{{ | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 19:59, 1 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
| {{{title}}} | |
|---|---|
| [[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright=1.1]] {{{caption}}} | |
| Location | {{{location}}} |
| Coordinates | {{{coordinates}}} |
| Date | {{{date}}} {{{time}}} ({{{timezone}}}) |
| Target | {{{target}}} |
| Attack type | {{{type}}} |
| Cause | {{{cause}}} |
| Participants | {{{participants}}} |
| Outcome | {{{outcome}}} |
| Casualties | |
| {{{casualties1}}} | |
| {{{casualties2}}} | |
| {{{casualties3}}} | |
| Deaths | {{{reported deaths}}} |
| Injuries (non-fatal) | {{{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}}} |
| Motive | {{{motive}}} |
| 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
| Bombay Explosion | |
|---|---|
Smoke billowing out of Harbour | |
| Location | Victoria Dock, Bombay, British India |
| Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
| Date | 14 April 1944 16:15 IST (10:45 UTC) |
| 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)