Difference between revisions of "Template:Infobox earthquakes in date/sandbox"
Jump to navigation
Jump to search
imported>Pithon314 (decade doesn't have "in") |
imported>Pithon314 (right decade arrow) |
||
| Line 57: | Line 57: | ||
-->{{#if:{{{year|}}}|{{#ifexpr:{{{year}}}<{{#time:Y|+2 weeks}}|{{#ifexist:List of earthquakes in {{{prev|{{#expr:{{{year}}}+1}}}}}|{{align|right|[[List of earthquakes in {{{prev|{{#expr:{{{year}}}+1}}}}}|{{{prev|{{#expr:{{{year}}}+1}}}}}]] →}}}}}}}}<!-- | -->{{#if:{{{year|}}}|{{#ifexpr:{{{year}}}<{{#time:Y|+2 weeks}}|{{#ifexist:List of earthquakes in {{{prev|{{#expr:{{{year}}}+1}}}}}|{{align|right|[[List of earthquakes in {{{prev|{{#expr:{{{year}}}+1}}}}}|{{{prev|{{#expr:{{{year}}}+1}}}}}]] →}}}}}}}}<!-- | ||
| − | -->{{#if:{{{decade|}}}|{{#ifexist:List of earthquakes {{{prev|{{#expr:{{str sub new|{{{decade}}}|1|4}}-10}}}}}–{{{prev|{{#expr:{{str sub new|{{{decade}}}|6}}-10}}}}}|{{align|left|← [[List of earthquakes {{{prev|{{#expr:{{str sub new|{{{decade}}}|1|4}}-10}}}}}–{{{prev|{{#expr:{{str sub new|{{{decade}}}|6}}-10}}}}}|{{{prev|{{#expr:{{str sub new|{{{decade}}}|1|4}}-10}}}}}–{{{prev|{{#expr:{{str sub new|{{{decade}}}|6}}-10}}}}}]]}}}}}} | + | -->{{#if:{{{decade|}}}|{{#ifexist:List of earthquakes {{{prev|{{#expr:{{str sub new|{{{decade}}}|1|4}}-10}}}}}–{{{prev|{{#expr:{{str sub new|{{{decade}}}|6}}-10}}}}}|{{align|left|← [[List of earthquakes {{{prev|{{#expr:{{str sub new|{{{decade}}}|1|4}}-10}}}}}–{{{prev|{{#expr:{{str sub new|{{{decade}}}|6}}-10}}}}}|{{{prev|{{#expr:{{str sub new|{{{decade}}}|1|4}}-10}}}}}–{{{prev|{{#expr:{{str sub new|{{{decade}}}|6}}-10}}}}}]]}}}}}}<!-- |
| + | -->{{#if:{{{decade|}}}|{{#ifexist:List of earthquakes {{{prev|{{#expr:{{str sub new|{{{decade}}}|1|4}}+10}}}}}–{{{prev|{{#expr:{{str sub new|{{{decade}}}|6}}+10}}}}}|{{align|right|[[List of earthquakes {{{prev|{{#expr:{{str sub new|{{{decade}}}|1|4}}+10}}}}}–{{{prev|{{#expr:{{str sub new|{{{decade}}}|6}}+10}}}}}|{{{prev|{{#expr:{{str sub new|{{{decade}}}|1|4}}+10}}}}}–{{{prev|{{#expr:{{str sub new|{{{decade}}}|6}}+10}}}}}]] →}}}}}} | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 17:12, 15 January 2021
| This is the template sandbox page for Template:Infobox earthquakes in date (diff). |
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
| The above documentation is transcluded from Template:Infobox earthquakes in date/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |