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

From blackwiki
Jump to navigation Jump to search
imported>Lugnuts
Line 5: Line 5:
 
== Usage ==
 
== Usage ==
 
{{Parameter names example
 
{{Parameter names example
|title                   
+
| title                   
|image                     
+
| image                     
|image_size               
+
| image_size               
|image_upright           
+
| image_upright           
|image_alt               
+
| image_alt               
|caption                   
+
| caption                   
|native_name               
+
| native_name               
|native_name_lang         
+
| native_name_lang         
|english_name             
+
| english_name             
|time                     
+
| time                     
|duration                 
+
| duration                 
|date                     
+
| date                     
|venue                     
+
| venue                     
|location                 
+
| location                 
|coordinates             
+
| coordinates             
|also_known_as             
+
| also_known_as             
|type                     
+
| type                     
|theme                     
+
| theme                     
|cause                     
+
| cause                     
|first_reporter           
+
| first_reporter           
|budget                   
+
| budget                   
|patron                   
+
| patron                   
|organisers               
+
| organisers               
|filmed_by                 
+
| filmed_by                 
|participants             
+
| participants             
|outcome           
+
| outcome           
|casualties1
+
| casualties1
|casualties2
+
| casualties2
|casualties3                   
+
| casualties3                   
|reported deaths           
+
| reported deaths           
|reported injuries         
+
| reported injuries         
|reported missing         
+
| reported missing         
|reported property damage  
+
| reported property damage  
|burial                   
+
| burial                   
|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                   
|url                       
+
| url                       
|blank_label               
+
| blank_label               
|blank1_label             
+
| blank1_label             
|blank2_label             
+
| blank2_label             
|website                 
+
| website                 
|notes                   
+
| notes                   
 
}}
 
}}
  
 
<pre style="overflow:auto;">
 
<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_upright            =
+
| image_upright            =
|image_alt                =
+
| image_alt                =
|caption                  =
+
| caption                  =
|native_name              =
+
| native_name              =
|native_name_lang        =
+
| native_name_lang        =
|english_name            =
+
| english_name            =
|time                    =
+
| time                    =
|duration                =
+
| duration                =
|date                    = <!-- {{start date|YYYY|MM|DD}} or {{start and end dates|YYYY|MM|DD|YYYY|MM|DD}} -->
+
| date                    = <!-- {{start date|YYYY|MM|DD}} or {{start and end dates|YYYY|MM|DD|YYYY|MM|DD}} -->
|venue                    =
+
| venue                    =
|location                =
+
| 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            =
|type                    =
+
| type                    =
|theme                    =
+
| theme                    =
|cause                    =
+
| cause                    =
|first_reporter          =
+
| first_reporter          =
|budget                  =
+
| budget                  =
|patron                  = <!-- or |patrons= -->
+
| patron                  = <!-- or |patrons= -->
|organisers              = <!-- or |organizers= -->
+
| organisers              = <!-- or |organizers= -->
|filmed_by                =
+
| filmed_by                =
|participants            =
+
| participants            =
|outcome                  =
+
| outcome                  =
|casualties1              =
+
| casualties1              =
|casualties2              =
+
| casualties2              =
|casualties3              =
+
| casualties3              =
|reported deaths          =
+
| reported deaths          =
|reported injuries        =
+
| reported injuries        =
|reported missing        =
+
| reported missing        =
|reported property damage =
+
| reported property damage =
|burial                  =
+
| burial                  =
|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                  =
|url                      =
+
| url                      =
|blank_label              = <!-- or |blank_data= -->
+
| blank_label              = <!-- or |blank_data= -->
|blank1_label            = <!-- or |blank1_data= -->
+
| blank1_label            = <!-- or |blank1_data= -->
|blank2_label            = <!-- or |blank2_data= -->
+
| blank2_label            = <!-- or |blank2_data= -->
|website                  = <!-- {{URL|example.com}} -->
+
| website                  = <!-- {{URL|example.com}} -->
|notes                    =
+
| notes                    =
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 08:16, 23 April 2017

Usage

Template:Parameter names example

{{Infobox event
| title                    = <!-- Title to display, if other than page name -->
| image                    =
| image_size               =
| image_upright            =
| image_alt                =
| caption                  =
| native_name              =
| native_name_lang         =
| english_name             =
| time                     =
| duration                 =
| 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                    =
| 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                  =
| 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                    =
}}

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

Tracking categories

See also