Template:Infobox event: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Frietjes alternative lowercase parameters |
meta>Frietjes more parameter tracking and renumber |
||
| Line 25: | Line 25: | ||
| data3 = {{{time|}}} | | data3 = {{{time|}}} | ||
| | | label5 = Date | ||
| | | data5 = {{{date|{{{Date|}}} }}} | ||
| | | label6 = Venue | ||
| | | data6 = {{{venue|}}} | ||
| | | label7 = Location | ||
| | | class7 = location | ||
| | | data7 = {{ifempty| {{{place|}}} | {{{Location|}}} | {{{location|}}} }} | ||
| | | label8 = [[Geographic coordinate system|Coordinates]] | ||
| | | data8 = {{{coordinates|}}} | ||
| | | label9 = Also known as | ||
| | | data9 = {{ifempty| {{{also known as|}}} | {{{also_known_as|}}} | {{{AKA|}}} | {{{aka|}}} }} | ||
| | | label10 = Cause | ||
| | | data10 = {{{cause|}}} | ||
| | | label11 = First reporter | ||
| | | data11 = {{{first reporter| {{{first_reporter|}}} }}} | ||
| | | label12 = Budget | ||
| | | data12 = {{{budget|}}} | ||
| | | label13 = {{#if:{{{patrons|}}}|Patrons|Patron(s)}} | ||
| | | data13 = {{#if:{{{patrons|}}}|{{{patrons}}}|{{{patron|}}}}} | ||
| | | label14 = {{#if:{{{organisers|}}}|Organised|Organized}} by | ||
| | | data14 = {{#if:{{{organisers|}}}|{{{organisers}}}|{{{organizers|}}}}} | ||
| | | label15 = Filmed by | ||
| | | data15 = {{{filmed by| {{{filmed_by|}}}}}} | ||
| | | label16 = Participants | ||
| | | data16 = {{{participants|{{{Participants|}}} }}} | ||
| | | class16 = attendee | ||
| | | label17 = Outcome | ||
| | | data17 = {{{outcome| {{{result| {{{Result|}}} }}} }}} | ||
| | | class17 = description | ||
| | | header18 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|Casualties}} | ||
| | | class18 = navbox-abovebelow | ||
| | | data19 = {{{casualties1|}}} | ||
| | | data20 = {{{casualties2|}}} | ||
| | | data21 = {{{casualties3|}}} | ||
| | | label22 = Deaths | ||
| | | data22 = {{ifempty| {{{reported deaths|}}} | {{{reported death(s)|}}} | {{{Deaths|}}} | {{{deaths|}}} | {{{fatalities|}}} }} | ||
| | | label23 = Injuries | ||
| | | data23 = {{{reported injuries|{{{injuries|}}} }}} | ||
| | | label24 = Missing | ||
| | | data24 = {{{reported missing|{{{missing|}}}}}} | ||
| | | label25 = Property damage | ||
| | | data25 = {{ifempty| {{{reported property damage|}}} | {{{property damage|}}} | {{{property_damage|}}} }} | ||
| | | label26 = Burial | ||
| | | data26 = {{{burial|}}} | ||
| | | label27 = Inquiries | ||
| | | data27 = {{{inquiries|}}} | ||
| | | label28 = Inquest | ||
| | | data28 = {{{inquest|}}} | ||
| | | label29 = Coroner | ||
| | | data29 = {{{coroner|}}} | ||
| | | label30 = Arrest(s) | ||
| | | data30 = {{{arrests|}}} | ||
| | | label31 = Suspect(s) | ||
| | | data31 = {{{suspects|{{{susperps|}}} }}} | ||
| | | label32 = Accused | ||
| | | data32 = {{{accused|}}} | ||
| | | label33 = Convicted | ||
| | | data33 = {{{convicted|}}} | ||
| | | label34 = Charges | ||
| | | data34 = {{{charges|}}} | ||
| | | label35 = Verdict | ||
| | | data35 = {{{verdict|}}} | ||
| | | label36 = Convictions | ||
| | | data36 = {{{convictions|}}} | ||
| | | label37 = Publication bans | ||
| | | data37 = {{{publication bans|{{{publication_bans|}}}}}} | ||
| | | label38 = Litigation | ||
| | | data38 = {{{litigation|}}} | ||
| | | label39 = Awards | ||
| | | data39 = {{{awards|}}} | ||
| | | label40 = Footage | ||
| | | data40 = {{{footage|{{{url|}}}}}} | ||
| | | label41 = {{{blank_label}}} | ||
| | | data41 = {{#if:{{{blank_label|}}}|{{{blank_data|}}}}} | ||
| | | label42 = {{{blank1_label}}} | ||
| | | data42 = {{#if:{{{blank1_label|}}}|{{{blank1_data|}}}}} | ||
| | | label43 = {{{blank2_label}}} | ||
| | | data43 = {{#if:{{{blank2_label|}}}|{{{blank2_data|}}}}} | ||
| | | label44 = Website | ||
| | | data44 = {{{website|{{{URL|}}} }}} | ||
| belowstyle = border-top: #aaa 1px solid; | | belowstyle = border-top: #aaa 1px solid; | ||
| Line 146: | Line 146: | ||
}}{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using infobox event with unknown parameters|_VALUE_{{PAGENAME}}]]|ignoreblank=y | }}{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using infobox event with unknown parameters|_VALUE_{{PAGENAME}}]]|ignoreblank=y | ||
| WidthInEms | nongregorian | partof | Backgroundcolor | event | title | name | Event_Name | image | image_name | Image_Name | image_size | Imagesize | thumbtime | Thumb_Time | alt | image_alt | Image_Alt | caption | Image_Caption | native_name | native_name_lang | English_name | english_name | time | date | Date | venue | place | Location | location | coordinates | also known as | AKA | cause | first reporter | budget | patrons | patron | organisers | organizers | filmed by | participants | Participants | outcome | Result | casualties1 | casualties2 | casualties3 | | WidthInEms| nongregorian| partof| Backgroundcolor| event| title| name| Event_Name| image| image_name| Image_Name| image_size| Imagesize| thumbtime| Thumb_Time| alt| image_alt| Image_Alt| caption| Image_Caption| native_name| native_name_lang| English_name| english_name| time| date| Date| venue| place| Location| location| coordinates| also known as| also_known_as| AKA| aka| cause| first reporter| first_reporter| budget| patrons| patron| organisers| organizers| filmed by| filmed_by| participants| Participants| outcome| result| Result| casualties1| casualties2| casualties3| reported death(s)| reported deaths| Deaths| deaths| fatalities| reported injuries| injuries| reported missing| missing| reported property damage| property damage| property_damage| burial| inquiries| inquest| coroner| arrests| suspects| susperps| accused| convicted| charges| verdict| convictions| publication bans| publication_bans| litigation| awards| footage| url| blank_label| blank_data| blank1_label| blank1_data| blank2_label| blank2_data| website| URL| notes }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- please add category links to the /doc sub-page, not here --> | <!-- please add category links to the /doc sub-page, not here --> | ||
</noinclude> | </noinclude> | ||
Revision as of 15:13, 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)