Difference between revisions of "Template:Infobox earthquakes in date"

From blackwiki
Jump to navigation Jump to search
imported>Anomalocaris
m (<center>...</center> → <div style="text-align: center;">...</div>)
imported>Frietjes
m
Line 3: Line 3:
 
| bodyclass = vevent
 
| bodyclass = vevent
  
| title  = {{#if:{{{month|}}}||Earthquakes in}} <span class="dtstart">{{ifempty|{{{month|}}}|{{{year}}}}}</span>
+
| title  = {{#if:{{{month|}}}||Earthquakes in}} <span class="dtstart">{{if empty|{{{month|}}}|{{{year}}}}}</span>
 
| titleclass = summary
 
| titleclass = summary
  
Line 17: Line 17:
 
{{{location_map_places|}}}
 
{{{location_map_places|}}}
 
|caption        = {{#if:{{{location_map_caption|}}}|{{{location_map_caption|}}}|
 
|caption        = {{#if:{{{location_map_caption|}}}|{{{location_map_caption|}}}|
Approximate epicenters of the earthquakes in {{ifempty|{{{month|}}}|{{{year}}}}}
+
Approximate epicenters of the earthquakes in {{if empty|{{{month|}}}|{{{year}}}}}
 
{{col-begin|class=plainlist}}
 
{{col-begin|class=plainlist}}
 
{{col-2}}
 
{{col-2}}

Revision as of 12:15, 11 October 2019

Earthquakes in Script error: No such module "If empty".

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

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

Usage

{{Infobox earthquakes in month
| month = <!-- REQUIRED -->
| largest =
| deadliest =
| fatalities = 
| 9.0+    = 
| 8.0−8.9 = 
| 7.0−7.9 = 
| 6.0−6.9 = 
| 5.0−5.9 = 
| 4.0−4.9 =
}}

or

{{Infobox earthquakes in year
| year = <!-- REQUIRED -->
| location_map = <!-- Earth -->
| location_map_places = 
<!--
{{Location map~|Earth|mark = Green pog.svg|lat_deg = 27.261|lon_deg = 54.428}}
{{Location map~|Earth|mark = Yellow pog.svg|lat_deg = -13.873|lon_deg = 167.202}}
{{Location map~|Earth|mark = Orange pog.svg|lat_deg = -20.400|lon_deg = -70.135}}
{{Location map~|Earth|mark = Red pog.svg|lat_deg = -19.642|lon_deg = -70.87}}
-->
| largest =
| deadliest =
| fatalities = 
| 9.0+    = 
| 8.0−8.9 = 
| 7.0−7.9 = 
| 6.0−6.9 = 
| 5.0−5.9 = 
}}

or

{{Infobox earthquakes in decade
| decade = <!-- In the format "2001–2010"-->
| location_map = <!-- Earth -->
| location_map_places = 
<!--
{{Location map~|Earth|mark = Green pog.svg|lat_deg = 27.261|lon_deg = 54.428}}
{{Location map~|Earth|mark = Yellow pog.svg|lat_deg = -13.873|lon_deg = 167.202}}
{{Location map~|Earth|mark = Orange pog.svg|lat_deg = -20.400|lon_deg = -70.135}}
{{Location map~|Earth|mark = Red pog.svg|lat_deg = -19.642|lon_deg = -70.87}}
-->
| largest =
| deadliest =
| fatalities = 
| 9.0+    = 
| 8.0−8.9 = 
| 7.0−7.9 = 
| 6.0−6.9 = 
| 5.0−5.9 = 
}}

Microformat

Template:UF-hcal