Difference between revisions of "Template:Infobox speech"
Jump to navigation
Jump to search
imported>Lionelt |
imported>Frietjes |
||
| Line 1: | Line 1: | ||
{{infobox | {{infobox | ||
| − | | bodyclass | + | | bodyclass = vevent |
| − | | titleclass | + | | titleclass = summary |
| − | | title | + | | title = {{ifempty|{{{name|}}}|{{{title|}}}|<includeonly>{{PAGENAME}}</includeonly>}} |
| − | | above | + | | above = {{{speaker|}}} |
| − | | | + | | imagestyle = {{#if:{{{caption|}}}|border-bottom:#aaa 1px solid}} |
| − | | caption | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}}|{{{image}}}|{{{image_name|}}}}}|size={{{image_size|}}}|sizedefault=240x240px|title={{{caption|}}}}} |
| + | | caption = {{{caption|}}} | ||
| − | | label1 = Date | + | | label1 = Date |
| − | | data1 | + | | data1 = {{{date|}}} |
| − | | label2 = Time | + | | label2 = Time |
| − | | data2 | + | | data2 = {{{time|}}} |
| − | | label3 = Location | + | | label3 = Location |
| − | | class3 = location | + | | class3 = location |
| − | | data3 | + | | data3 = {{{place|}}} |
| − | | label4 = [[Geographic coordinate system|Coordinates]] | + | | label4 = [[Geographic coordinate system|Coordinates]] |
| − | | data4 | + | | data4 = {{{coordinates|}}} |
| − | | label5 = Also known as | + | | label5 = Also known as |
| − | | data5 | + | | data5 = {{{also known as|}}} |
| − | | label6 = Topic | + | | label6 = Topic |
| − | | data6 | + | | data6 = {{{topic|}}} |
| − | | label7 | + | | label7 = Event |
| − | | data7 | + | | data7 = {{{event|}}} |
| − | | label8 | + | | label8 = Outcome |
| − | | data8 | + | | data8 = {{{outcome|}}} |
| − | | label9 | + | | label9 = Speechwriter |
| − | | data9 | + | | data9 = {{{speechwriter|}}} |
| − | | label10 | + | | label10 = Length |
| − | | data10 | + | | data10 = {{{length|}}} |
| − | | label11 | + | | label11 = Total words |
| − | | data11 | + | | data11 = {{{words|}}} |
| − | | label12 = Awards | + | | label12 = Awards |
| − | | data12 | + | | data12 = {{{awards|}}} |
| − | | label13 | + | | label13 = Audio |
| − | | data13 | + | | data13 = {{{audio_url|}}} |
| − | | class13 | + | | class13 = url |
| − | | label14 | + | | label14 = Footage |
| − | | data14 | + | | data14 = {{{url|}}} |
| − | | class14 | + | | class14 = url |
| − | | label15 | + | | label15 = Transcript |
| − | | data15 | + | | data15 = {{{transcript_url|}}} |
| − | | class15 | + | | class15 = url |
| − | | label16 | + | | label16 = Website |
| − | | data16 | + | | data16 = {{{website|}}} |
| − | | class16 | + | | class16 = url |
| − | | below | + | | below = {{{notes|}}} |
}}<noinclude>{{documentation}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude> | }}<noinclude>{{documentation}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude> | ||
Revision as of 22:05, 26 February 2014
[[Category:Infobox templates|Template:Remove first word]]
| 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
Template:Parameter names example
{{Infobox event
| title = <!-- Title to display, if other than page name -->
| image =
| image_upright =
| image_alt =
| caption =
| native_name =
| native_name_lang =
| english_name =
| time =
| timezone =
| duration = <!-- {{duration|h=x|m=x|s=x}} or {{time interval|date1|date2|options}} -->
| date = <!-- {{start date|YYYY|MM|DD}} or {{start and end dates|YYYY|MM|DD|YYYY|MM|DD}} -->
| venue =
| location =
| coordinates = <!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} -->
| also_known_as =
| type =
| theme =
| cause =
| motive =
| target =
| first_reporter =
| budget =
| patron = <!-- or |patrons= -->
| organisers = <!-- or |organizers= -->
| filmed_by =
| participants =
| outcome =
| casualties1 =
| casualties2 =
| casualties3 =
| reported deaths =
| reported injuries =
| reported missing =
| reported property damage =
| burial =
| displaced =
| 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 = <!-- {{URL|example.com}} -->
| notes =
}}
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
{{Infobox event
| title = Bombay explosion
| image = Bombay-Docks-aftermath1.png
| caption = Smoke billowing out of the 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
Tracking categories
- Category:Pages using infobox event with unknown parameters (0)
- Category:Pages using infobox event with blank parameters (1)
See also
| The above documentation is transcluded from Template:Infobox speech/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |