Difference between revisions of "Template:Infobox speech"

From blackwiki
Jump to navigation Jump to search
imported>Lionelt
imported>Lionelt
Line 1: Line 1:
{{ infobox
+
{{infobox
| italic title= {{{Italic title|}}}
 
 
| bodyclass  = vevent
 
| bodyclass  = vevent
| titlestyle  = font-style: italic;
+
 
| title      = {{{speech_name|{{PAGENAME}}}}}
 
 
| titleclass  = summary
 
| titleclass  = summary
| image       = {{{image|}}}     <!-- don't forgest to add 220px, alt=  -->
+
| title       = {{{name|{{#if:{{{title|}}}|{{{title}}}|<includeonly>{{PAGENAME}}</includeonly>}} }}}
| caption    = {{{image_caption|}}}
 
 
| above      = {{{speaker|}}}
 
| above      = {{{speaker|}}}
  
| label1     = Date
+
| image      = {{#if:{{{image|}}}|{{{image}}}|{{#if:{{{image_name|}}}|[[File:{{{image_name}}}|{{px|{{{image_size|}}}|240x240px}}|{{{caption|}}}]]}} }}    <!-- don't forgest to add 220px, alt=  -->
| data1       = {{{date|}}}
+
| caption    = {{{caption|}}}{{#if:{{{caption|}}}|<hr />}}
| label2     = Topic
+
 
| data2      = {{{topic|}}}
+
| label1 = Date
| label3     = Event
+
| data1 = {{{date|}}}
| data3       = {{{event|}}}
+
 
| label4     = Location
+
| label2 = Time
| data4       = {{{location|}}}
+
| data2  = {{{time|}}}
| class4     = location
+
 
 +
| label3 = Location
 +
| class3 = location
 +
| data3  = {{{place|}}}
 +
 
 +
| label4 = [[Geographic coordinate system|Coordinates]]
 +
| data4  = {{{coordinates|}}}
 +
 
 +
| label5 = Also known as
 +
| data5  = {{{also known as|}}}
 +
 
 +
| label6 = Topic
 +
| data6  = {{{topic|}}}
 +
 
 +
| label7     = Event
 +
| data7       = {{{event|}}}
 +
 
 +
| label8      = Speechwriter
 +
| data8      = {{{speechwriter|}}}
 +
 
 +
| label9      = Length
 +
| data9      = {{{length|}}}
 +
 
 +
| label10      = Total words
 +
| data10      = {{{words|}}}
 +
 
 +
| label11 = Awards
 +
| data11  = {{{awards|}}}
 +
 
 +
| label12     = Audio
 +
| data12       = {{{audio_url|}}}  
 +
| class12     = url
  
| label5     = Speechwriter
+
| label13     = Footage
| data5       = {{{speechwriter|}}}
+
| data13       = {{{footage_url|}}}
 +
| class13      = url
  
| label6      = Length
+
| label14    = Transcript
| data6      = {{{length|}}}
+
| data14      = {{{transcript_url|}}}  
| label7      = Words
+
| class14    = url
| data7      = {{{words|}}}
 
  
| label8      = Audio
+
| label15     = Website
| data8      = {{{audio_url|}}} 
+
| data15     = {{{website_url|}}}     
| class8      = url
+
| class15     = url
| label9      = Video
 
| data9      = {{{video_url|}}} 
 
| class9      = url
 
| label10    = Transcript
 
| data10      = {{{transcript_url|}}}   
 
| class10    = url
 
| label11     = Website
 
| data11     = {{{website_url|}}}     
 
| class11     = url
 
  
| below      = {{{misc|}}}
+
| 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 09:44, 18 May 2012

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

{{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; use image_upright instead
  • |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}}, with display=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

Template:Infobox event

{{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

Template:UF-hcal

Tracking categories

See also