Template:Infobox event/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Simply south
parameter
Ookami (talk | contribs)
m 109 revisions imported
 
(68 intermediate revisions by 35 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
==Example==
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
<pre>
 
{{Infobox news event
{{tlx|Infobox event}} should be used to specify one-off events, usually at the top of an article. For recurring events, use {{nowrap|{{tlx|Infobox recurring event}}}}.
|image_name        = Bombay-Docks-aftermath1.png
 
|image_size        = 230px
== Usage ==
|caption           = Smoke billowing out of the site
{{Parameter names example
|date             = {{start date|1944|04|14}}
| title                 
|time             = 16:15 IST (10:45 UTC)
| image                   
|place             = [[Victoria Dock]], [[Mumbai]], [[India]]
| image_size             
|reported injuries = 800
| image_upright         
|reported death(s) = 30
| image_alt             
| caption
| Leader                 
| native_name             
| native_name_lang       
| english_name           
| time                   
| timezone               
| duration               
| date                   
| venue                   
| location               
| coordinates           
| also_known_as           
| type                   
| theme                   
| cause               
| motive 
| target
| first_reporter         
| budget                 
| patron                 
| organisers             
| 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             
| blank1_label           
| blank2_label           
| website               
| notes                 
}}
 
<syntaxhighlight lang="html" style="overflow:auto;">
{{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                    =  
}}
}}
</pre>
</syntaxhighlight>
{{clear}}
=== Parameters ===
* {{para|title}} - name of the event, if omitted, the page name will be used
* {{para|child}} - set to "yes" if you are embedding this infobox in another one
* {{para|image}} -  name of the image of the event
* {{para|image_size}} - image size in pixels – deprecated; use {{code|image_upright}} instead
* {{para|image_upright}} - image scaling factor; defaults to 1 if left empty – see [[WP:IMGSIZE]]
* {{para|image_alt}} -
* {{para|caption}} - optional caption of the image
* {{para|native_name}} - the native name of the event, if different
* {{para|native_name_lang}} - [[ISO 639-2]] code for the native name e.g. 'fr' for French.
* {{para|english_name}} -
* {{para|time}} -
* {{para|timezone}} -
* {{para|duration}} -
* {{para|date}} - <code><nowiki>{{start date|YYYY|MM|DD}}</nowiki></code> for the date of a single-day event or <code><nowiki>{{start and end dates|YYYY|MM|DD|YYYY|MM|DD}}</nowiki></code> for multi-day events
* {{para|venue}} - name of the particular venue (alternative to location)
* {{para|location}} - the location of the event
* {{para|coordinates}} - Use {{tl|Coord}}, with <code>display=inline,title</code> (ex: <code><nowiki>{{coord|LAT|LON|region:XXXX_type:event|display=inline,title}}</nowiki></code>)
* {{para|also_known_as}} -
* {{para|type}} -
* {{para|theme}} -
* {{para|cause}} -
* {{para|motive}} -
* {{para|target}} -
* {{para|first_reporter}} -
* {{para|budget}} - the larger of budgeted income or expense
* {{para|patron}} or {{para|patrons}} - patronage
* {{para|organisers}} or {{para|organizers}} - organised by
* {{para|filmed_by}} -
* {{para|participants}} - the typical number of participants
* {{para|outcome}} -
* {{para|casualties1}} -
* {{para|casualties2}} -
* {{para|casualties3}} -
* {{para|reported deaths}} -
* {{para|reported injuries}} -
* {{para|reported missing}} -
* {{para|reported property damage}} -
* {{para|burial}} -
* {{para|displaced}} - people forced to leave home
* {{para|inquiries}} -
* {{para|inquest}} -
* {{para|coroner}} -
* {{para|arrests}} -
* {{para|suspects}} -
* {{para|accused}} -
* {{para|convicted}} -
* {{para|charges}} -
* {{para|trial}} -
* {{para|verdict}} -
* {{para|convictions}} -
* {{para|sentence}} -
* {{para|publication_bans}} -
* {{para|litigation}} -
* {{para|awards}} -
* {{para|url}} -
* {{para|blank_label}} or {{para|blank_data}} -
* {{para|blank1_label}} or {{para|blank1_data}} -
* {{para|blank2_label}} or {{para|blank2_data}} -
* {{para|website}} - Use {{tl|URL}} (ex: <code><nowiki>{{URL|example.com}}</nowiki></code>)
* {{para|notes}} -


==Blank==
== Example ==
<pre>
{{Infobox event
{{Infobox news event
|title=Bombay Explosion
|title                   = <!-- Title to display, if other than page name -->
|image=Bombay-Docks-aftermath1.png
|image                   =
|caption=Smoke billowing out of Harbour
|image_name              =
|date=14 April 1944
|image_size              =
|time=16:15 IST (10:45 UTC)
|caption                 =  
|place=Victoria Dock, Bombay, [[British Raj|British India]]
|date                     = <!-- {{start date|YYYY|MM|DD}} -->
|coordinates = {{coord|18.9527772|N|72.8449774|E|type:event_region:IN|display=inline,title}}
|time                     =  
|cause=ship fire
|place                   =  
|url={{URL|example.com}}
|coordinates             = <!-- {{coord|LAT|LON|region:XXXX_type:landmark|display=inline,title}} -->
|casualties1=800+ dead
|also known as            =  
|casualties2=3,000 injured
|first reporter          =  
|website={{URL|example.com}}
|filmed by                =  
}}
|participants            =  
<pre style="overflow:auto;">
|outcome                  =  
{{Infobox event
|reported injuries        =  
|title=Bombay Explosion
|reported death(s)        =  
|image=Bombay-Docks-aftermath1.png
|reported missing        =
|caption=Smoke billowing out of Harbour
|reported property damage =  
|date=14 April 1944
|burial                  =  
|time=16:15 IST (10:45 UTC)
|inquiries                =  
|place=Victoria Dock, Bombay, [[British Raj|British India]]
|inquest                  =  
|coordinates = {{coord|18.9527772|N|72.8449774|E|type:event_region:IN|display=inline,title}}
|coroner                  =  
|cause=ship fire
|verdict                  =
|url={{URL|example.com}}
|suspects                =
|casualties1=800+ dead
|charges                  =  
|casualties2=3,000 injured
|convictions              =  
|website={{URL|example.com}}
|publication bans        =  
|litigation              =
|awards                  =  
|url                      =  
|website                 = <!-- {{URL|example.com}} -->
|notes                    =
}}
}}
</pre>
</pre>
{{clear}}


===Microformat===
== Microformat ==
{{UF-hcal}}
{{UF-hcal}}


==See also==
== Tracking categories ==
* {{clc|Pages using infobox event with unknown parameters}}
* {{clc|Pages using infobox event with blank parameters}}


<includeonly><!--
== See also ==
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
* {{tl|Infobox recurring event}}
[[Category:Events infobox templates|{{PAGENAME}}]]


[[ca:Plantilla:Infotaula actualitat]]
<includeonly>{{Sandbox other||
[[mk:Шаблон:Infobox news event/doc]]
<!-- Categories below this line, please; interwikis at Wikidata -->
[[ja:Template:Infobox 事故]]
[[Category:Events infobox templates| ]]
[[ro:Format:Infobox news event]]
[[Category:Infobox templates with module parameter|Event]]
[[th:แม่แบบ:กล่องข้อมูล สถานการณ์ข่าว]]
[[Category:Embeddable templates]]
</includeonly>
[[Category:Templates that add a tracking category]]
}}</includeonly>

Latest revision as of 04:38, 3 September 2020

{{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={{{image_upright}}}]]
{{{caption}}}
Native name {{{native_name}}}
English name{{{english_name}}}
Date{{{date}}}
Time{{{time}}} ({{{timezone}}})
Duration{{{duration}}}
Venue{{{venue}}}
Location{{{location}}}
Coordinates{{{coordinates}}}
Also known as{{{also_known_as}}}
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{{{reported deaths}}}
Non-fatal injuries{{{reported injuries}}}
Missing{{{reported missing}}}
Property damage{{{reported property damage}}}
Burial{{{burial}}}
Displaced{{{displaced}}}
Inquiries{{{inquiries}}}
Inquest{{{inquest}}}
Coroner{{{coroner}}}
Arrests{{{arrests}}}
Suspects{{{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;">

Infobox event/doc

</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; 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

Bombay Explosion
Smoke billowing out of Harbour
Date14 April 1944
Time16:15 IST (10:45 UTC)
LocationVictoria Dock, Bombay, British India
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
Causeship fire
Casualties
800+ dead
3,000 injured
Footageexample.com
Websiteexample.com
{{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

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

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.

Tracking categories

See also