Difference between revisions of "Template:Infobox event/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jan.Kamenicek
(+ duration)
imported>Funandtrvl
(sync w/tmp)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE. -->
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
  
== Blank ==
+
== Usage ==
<pre>
+
{{Parameter names example
 +
| title                 
 +
| image                   
 +
| image_size             
 +
| image_alt             
 +
| caption                 
 +
| native_name             
 +
| native_name_lang       
 +
| english_name           
 +
| time                   
 +
| duration               
 +
| date                   
 +
| venue                   
 +
| location               
 +
| coordinates           
 +
| also known as           
 +
| type                   
 +
| theme                   
 +
| cause                   
 +
| first reporter         
 +
| budget                 
 +
| patron                 
 +
| organisers             
 +
| filmed by               
 +
| participants           
 +
| outcome         
 +
| casualties1
 +
| casualties2
 +
| casualties3                 
 +
| reported deaths         
 +
| reported injuries       
 +
| reported missing       
 +
| reported property damage
 +
| burial                 
 +
| inquiries               
 +
| inquest                 
 +
| coroner                 
 +
| arrests                 
 +
| suspects               
 +
| accused                 
 +
| convicted               
 +
| charges                 
 +
| verdict                 
 +
| convictions             
 +
| publication bans       
 +
| litigation             
 +
| awards                 
 +
| url                     
 +
| blank_label             
 +
| blank1_label           
 +
| blank2_label           
 +
| website               
 +
| notes                 
 +
}}
 +
 
 +
<pre style="overflow:auto;">
 
{{Infobox event
 
{{Infobox event
 
| title                    = <!-- Title to display, if other than page name -->
 
| title                    = <!-- Title to display, if other than page name -->
 
| image                    =  
 
| image                    =  
 
| image_size              =  
 
| image_size              =  
 +
| image_alt                =
 
| caption                  =  
 
| caption                  =  
 
| native_name              =  
 
| native_name              =  
 
| native_name_lang        =  
 
| native_name_lang        =  
 
| english_name            =  
 
| english_name            =  
| date                    = <!-- {{start date|YYYY|MM|DD}} -->
 
 
| time                    =  
 
| time                    =  
 
| duration                =  
 
| duration                =  
 +
| date                    = <!-- {{start date|YYYY|MM|DD}} -->
 
| venue                    =  
 
| venue                    =  
| place                    =  
+
| location                =  
 
| coordinates              = <!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} -->
 
| coordinates              = <!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} -->
 
| also known as            =  
 
| also known as            =  
Line 22: Line 78:
 
| theme                    =  
 
| theme                    =  
 
| cause                    =  
 
| cause                    =  
 +
| first reporter          =
 
| budget                  =  
 
| budget                  =  
| patron                  =  <!-- or | patrons = -->
+
| patron                  =  <!-- or |patrons= -->
| organisers              =  <!-- or | organizers = -->
+
| organisers              =  <!-- or |organizers= -->
| first reporter          =
 
 
| filmed by                =  
 
| filmed by                =  
 
| participants            =  
 
| participants            =  
 
| outcome                  =  
 
| outcome                  =  
 +
| casualties1              =
 +
| casualties2              =
 +
| casualties3              =
 
| reported deaths          =  
 
| reported deaths          =  
 
| reported injuries        =  
 
| reported injuries        =  
Line 48: Line 107:
 
| awards                  =  
 
| awards                  =  
 
| url                      =  
 
| url                      =  
| blank_label              =  
+
| blank_label              = <!-- or |blank_data= -->
| blank_data               =  
+
| blank1_label            = <!-- or |blank1_data= -->
| blank1_label            =  
+
| blank2_label            = <!-- or |blank2_data= -->
| blank1_data             =  
+
| website                  = <!-- {{URL|example.com}} -->
| blank2_label            =  
 
| blank2_data             =  
 
| website                  = <!-- {{URL|example.com}}, use for link to event website; displays as Website: example.com -->
 
 
| notes                    =  
 
| notes                    =  
 
}}
 
}}
Line 74: Line 130:
 
|website={{URL|example.com}}
 
|website={{URL|example.com}}
 
}}
 
}}
<pre style="overflow:auto">
+
<pre style="overflow:auto;">
 
{{Infobox event
 
{{Infobox event
 
|title=Bombay Explosion
 
|title=Bombay Explosion
Line 91: Line 147:
 
</pre>
 
</pre>
 
{{clear both}}
 
{{clear both}}
=== Microformat ===
+
 
 +
== Microformat ==
 
{{UF-hcal}}
 
{{UF-hcal}}
  
Line 97: Line 154:
 
* {{tl|Infobox recurring event}}
 
* {{tl|Infobox recurring event}}
  
<includeonly><!--
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
++++ PLEASE ADD CATEGORIES BELOW THIS LINE, THANK YOU. -->
+
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Events infobox templates|Event]]
+
[[Category:Events infobox templates| ]]
 
+
}}</includeonly>
</includeonly>
 

Revision as of 22:56, 14 April 2015

Usage

Template:Parameter names example

{{Infobox event
| title                    = <!-- Title to display, if other than page name -->
| image                    = 
| image_size               = 
| image_alt                =
| caption                  = 
| native_name              = 
| native_name_lang         = 
| english_name             = 
| time                     = 
| duration                 = 
| date                     = <!-- {{start date|YYYY|MM|DD}} -->
| venue                    = 
| location                 = 
| coordinates              = <!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} -->
| also known as            = 
| type                     = 
| theme                    = 
| cause                    = 
| 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                   = 
| inquiries                = 
| inquest                  = 
| coroner                  = 
| arrests                  = 
| suspects                 = 
| accused                  = 
| convicted                = 
| charges                  = 
| verdict                  = 
| convictions              = 
| 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                    = 
}}

Example

Script error: No such module "If empty".
File:Bombay-Docks-aftermath1.png
Smoke billowing out of Harbour
Date14 April 1944
Time16:15 IST (10:45 UTC)
LocationScript error: No such module "If empty".
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
Also known asScript error: No such module "If empty".
Causeship fire
Casualties
800+ dead
3,000 injured
DeathsScript error: No such module "If empty".
Property damageScript error: No such module "If empty".
FootageTemplate:URL
WebsiteTemplate:URL
{{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

Template:UF-hcal

See also