Template:Infobox event: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Pigsonthewing →top: + |
meta>Pigsonthewing target |
||
| Line 56: | Line 56: | ||
| data13 = {{{motive|}}} | | data13 = {{{motive|}}} | ||
| label14 = | | label14 = Target | ||
| | | data14 = {{{target|}}} | ||
| label15 = | | label15 = {{#if:{{{reporter|}}}|Reporter|First reporter}} | ||
| data15 = {{{ | | data15 = {{#if:{{{reporter|}}}|{{{reporter|}}}|{{{first reporter| {{{first_reporter|}}} }}}}} | ||
| label16 = | | label16 = Budget | ||
| data16 = | | data16 = {{{budget|}}} | ||
| label17 = {{#if:{{{ | | label17 = {{#if:{{{patrons|}}}|Patrons|Patron(s)}} | ||
| data17 = {{#if:{{{ | | data17 = {{#if:{{{patrons|}}}|{{{patrons}}}|{{{patron|}}}}} | ||
| label18 = | | label18 = {{#if:{{{organisers|}}}|Organised|Organized}} by | ||
| data18 = {{{ | | data18 = {{#if:{{{organisers|}}}|{{{organisers}}}|{{{organizers|}}}}} | ||
| label19 = | | label19 = Filmed by | ||
| data19 = {{{ | | data19 = {{{filmed by| {{{filmed_by|}}}}}} | ||
| label20 = | | label20 = Participants | ||
| data20 = {{{ | | data20 = {{{participants|{{{Participants|}}} }}} | ||
| class20 = | | class20 = attendee | ||
| | | label21 = Outcome | ||
| data21 = {{{outcome| {{{result| {{{Result|}}} }}} }}} | |||
| class21 = description | |||
| | |||
| | | header22 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|Casualties}} | ||
| class22 = navbox-abovebelow | |||
| data23 = {{{casualties1|}}} | |||
| data24 = {{{casualties2|}}} | |||
| data25 = {{{casualties3|}}} | |||
| label26 = | | label26 = Deaths | ||
| data26 = {{{reported | | data26 = {{ifempty| {{{reported deaths|}}} | {{{reported death(s)|}}} | {{{Deaths|}}} | {{{deaths|}}} | {{{fatalities|}}} }} | ||
| label27 = | | label27 = Non-fatal injuries | ||
| data27 = {{{reported | | data27 = {{{reported injuries|{{{injuries|}}} }}} | ||
| label28 = | | label28 = Missing | ||
| data28 = | | data28 = {{{reported missing|{{{missing|}}}}}} | ||
| label29 = | | label29 = Property damage | ||
| data29 = {{{ | | data29 = {{ifempty| {{{reported property damage|}}} | {{{property damage|}}} | {{{property_damage|}}} }} | ||
| label30 = | | label30 = Burial | ||
| data30 = {{{ | | data30 = {{{burial|}}} | ||
| label31 = | | label31 = Inquiries | ||
| data31 = {{{ | | data31 = {{{inquiries|}}} | ||
| label32 = | | label32 = Inquest | ||
| data32 = {{{ | | data32 = {{{inquest|}}} | ||
| label33 = | | label33 = Coroner | ||
| data33 = {{{ | | data33 = {{{coroner|}}} | ||
| label34 = | | label34 = Arrest(s) | ||
| data34 = {{{ | | data34 = {{{arrests|}}} | ||
| label35 = | | label35 = Suspect(s) | ||
| data35 = {{{ | | data35 = {{{suspects|{{{susperps|}}} }}} | ||
| label36 = | | label36 = Accused | ||
| data36 = {{{ | | data36 = {{{accused|}}} | ||
| label37 = | | label37 = Convicted | ||
| data37 = {{{ | | data37 = {{{convicted|}}} | ||
| label38 = | | label38 = Charges | ||
| data38 = {{{ | | data38 = {{{charges|}}} | ||
| label39 = | | label39 = Trial | ||
| data39 = {{{ | | data39 = {{{trial|}}} | ||
| label40 = | | label40 = Verdict | ||
| data40 = {{{ | | data40 = {{{verdict|}}} | ||
| label41 = | | label41 = Convictions | ||
| data41 = {{{ | | data41 = {{{convictions|}}} | ||
| label42 = | | label42 = Sentence | ||
| data42 = {{{ | | data42 = {{{sentence|}}} | ||
| label43 = | | label43 = Publication bans | ||
| data43 = {{{ | | data43 = {{{publication bans|{{{publication_bans|}}}}}} | ||
| label44 = | | label44 = Litigation | ||
| data44 = {{{ | | data44 = {{{litigation|}}} | ||
| label45 = | | label45 = Awards | ||
| data45 = {{{ | | data45 = {{{awards|}}} | ||
| label46 = | | label46 = Footage | ||
| data46 = {{ | | data46 = {{{footage|{{{url|}}}}}} | ||
| label47 = {{{ | | label47 = {{{blank_label}}} | ||
| data47 = {{#if:{{{ | | data47 = {{#if:{{{blank_label|}}}|{{{blank_data|}}}}} | ||
| label48 = {{{ | | label48 = {{{blank1_label}}} | ||
| data48 = {{#if:{{{ | | data48 = {{#if:{{{blank1_label|}}}|{{{blank1_data|}}}}} | ||
| label49 = | | label49 = {{{blank2_label}}} | ||
| data49 = {{{ | | data49 = {{#if:{{{blank2_label|}}}|{{{blank2_data|}}}}} | ||
| | | label50 = Website | ||
| data50 = {{{website|{{{URL|}}} }}} | |||
| header51 = {{{module|}}} | |||
| belowstyle = border-top: #aaa 1px solid; | | belowstyle = border-top: #aaa 1px solid; | ||
| Line 166: | Line 169: | ||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox event with unknown parameters|_VALUE_{{PAGENAME}}]]}}|ignoreblank=y|preview=Page using [[Template:Infobox event]] with unknown parameter "_VALUE_" | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox event with unknown parameters|_VALUE_{{PAGENAME}}]]}}|ignoreblank=y|preview=Page using [[Template:Infobox event]] with unknown parameter "_VALUE_" | ||
| accused | AKA | aka | also known as | also_known_as | alt | arrests | awards | blank_data | blank_label | blank1_data | blank1_label | blank2_data | blank2_label | budget | burial | caption | casualties1 | casualties2 | casualties3 | cause | motive | charges | convicted | convictions | coordinates | coroner | Date | date | Deaths | deaths | duration | english_name | English_name | event | Event_Name | fatalities | filmed by | filmed_by | first reporter | first_reporter | footage | image | Image_Alt | image_alt | Image_Caption | Image_Name | image_name | image_size | Imagesize | image_upright | injuries | inquest | inquiries | litigation | Location | location | map | map_alt | map_caption | map_size | missing | name | native_name | native_name_lang | nongregorian | notes | organisers | organizers | outcome | Participants | participants | partof | patron | patrons | place | property damage | property_damage | publication bans | publication_bans | reported death(s) | reported deaths | reported injuries | reported missing | reported property damage | reporter | Result | result | sentence | suspects | susperps | theme | Thumb_Time | thumbtime | time | title | trial | type | url | URL | venue | verdict | website }}{{#if:{{{blank_data|}}}{{{blank1_data|}}}{{{blank2_data|}}}|[[Category:Pages using infobox event with blank parameters]]}}<noinclude> | | accused | AKA | aka | also known as | also_known_as | alt | arrests | awards | blank_data | blank_label | blank1_data | blank1_label | blank2_data | blank2_label | budget | burial | caption | casualties1 | casualties2 | casualties3 | cause | motive | target | charges | convicted | convictions | coordinates | coroner | Date | date | Deaths | deaths | duration | english_name | English_name | event | Event_Name | fatalities | filmed by | filmed_by | first reporter | first_reporter | footage | image | Image_Alt | image_alt | Image_Caption | Image_Name | image_name | image_size | Imagesize | image_upright | injuries | inquest | inquiries | litigation | Location | location | map | map_alt | map_caption | map_size | missing | name | native_name | native_name_lang | nongregorian | notes | organisers | organizers | outcome | Participants | participants | partof | patron | patrons | place | property damage | property_damage | publication bans | publication_bans | reported death(s) | reported deaths | reported injuries | reported missing | reported property damage | reporter | Result | result | sentence | suspects | susperps | theme | Thumb_Time | thumbtime | time | title | trial | type | url | URL | venue | verdict | website }}{{#if:{{{blank_data|}}}{{{blank1_data|}}}{{{blank2_data|}}}|[[Category:Pages using infobox event with blank parameters]]}}<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 13:32, 28 August 2017
| 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={{{image_upright}}}]] {{{caption}}} | |
| Native name | {{{native_name}}} |
|---|---|
| English name | {{{english_name}}} |
| Date | {{{date}}} |
| Time | {{{time}}} |
| Duration | {{{duration}}} |
| Venue | {{{venue}}} |
| Location | Template:Ifempty |
| Coordinates | {{{coordinates}}} |
| Also known as | Template:Ifempty |
| Type | {{{type}}} |
| Theme | {{{theme}}} |
| Cause | {{{cause}}} |
| Motive | {{{motive}}} |
| Target | {{{target}}} |
| 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 |
| Non-fatal 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}}} |
| Trial | {{{trial}}} |
| Verdict | {{{verdict}}} |
| Convictions | {{{convictions}}} |
| Sentence | {{{sentence}}} |
| 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 | |
| Date | 14 April 1944 |
|---|---|
| Time | 16:15 IST (10:45 UTC) |
| 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)