Templat:Infobox earthquake: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Pierrewee (bicara | kontrib)
update
Taylorbot (bicara | kontrib)
per BPA : sintaks <br> dan <code> | t=3'947 su=401 in=440 at=407 -- only 3844 edits left of totally 4'246 possible edits | edr=010-1001(!!!) ovr=010-1111 aft=010-1001
 
(7 revisi perantara oleh 4 pengguna tidak ditampilkan)
Baris 1:
{{Infobox
| title = {{{name|<includeonly>|{{{title|{{PAGENAMEPAGENAMEBASE}}}}}</includeonly>}}}
| bodyclass = vevent
| titleclass = summary
| subheader1 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1.2|alt={{{alt|{{{image alt|}}}}}}|suppressplaceholder=yes}}
| caption = {{{caption|{{{imagecaption|}}}}}}
 
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|size={{{map_size|{{{mapsize|}}}}}}|sizedefault=frameless|upright=1.2|alt={{{map_alt|{{{map alt|}}}}}}|suppressplaceholder=yes}}
| caption2 = {{{map_caption|{{{image name|}}}}}}
 
Baris 24 ⟶ 25:
|AlternativeMap = {{{pushpin_image|}}}
}}
|{{{map2|}}}
}}
 
<!-- { ================ Labels & data ================ -->
| label1 = Tanggal
| label1 = Waktu&nbsp;[[Coordinated Universal Time|UTC]]
| data1 = {{{date}}}
| data1 =
{{#if: {{{timestamp|}}}
| {{#ifeq: {{#time:Y-m-d H:i:s|{{{timestamp}}}}} | {{{timestamp}}}
| {{{timestamp}}} <!-- good -->
| {{#ifeq:{{#time:Y-m-d H:i|{{{timestamp}}}}} | {{{timestamp}}}
| {{{timestamp}}} <!-- also good -->
| {{#ifeq: {{{timestamp}}} | doublet
| [[Gempa bumi kembar]]:{{nbsp|4}} <!-- Check for timstamp-A? -->
| {{#ifeq: {{{pre-1900|}}} | yes
| {{{timestamp}}} <!-- whatever works. Else: -->
| {{{timestamp}}} <br>{{red|<small>Needs 'yyyy-mm-dd hh:mm'</small>}}
{{main_other|[[Kategori:Artikel gempa bumi dengan kesalahan waktu UTC]]}}
}}
}}
}}
}}
|<!-- No timestamp -->
{{#if: {{{timestamp-A|}}}
| <includeonly>&nbsp;</includeonly> <!-- ok. Force display of label. -->
| {{#ifeq: {{{pre-1900|}}} | yes
| <!-- Not required if pre-1900 . Else: -->
| {{#ifeq:{{NAMESPACE}}|{{ns:0}}
| {{red|??}} [[Kategori:Artikel gempa bumi yang membutuhkan waktu UTC]]
}}
}}
}}
}}
 
<!-- Only for 'doublet earthquakes' and similar segmented events.
-- Not for aftershocks, swarms, or series!
-->
| label3 = &nbsp;
| data3 =
{{#if: {{{timestamp-A|}}}
| {{#if:{{{tags|}}} | A: }} {{{timestamp-A|}}}
}}
 
| label4 = &nbsp;
| data4 =
{{#if: {{{timestamp-B|}}}
| {{#if:{{{tags|}}} | B: }} {{{timestamp-B|}}}
}}
 
| label5 = &nbsp;
| data5 =
{{#if: {{{timestamp-C|}}}
| {{#if:{{{tags|}}} | C: }} {{{timestamp-C|}}}
}}
 
| label6 = &nbsp;
| data6 =
{{#if: {{{timestamp-D|}}}
| {{#if:{{{tags|}}} | D: }} {{{timestamp-D|}}}
}}
 
| label7 = &nbsp;
| data7 =
{{#if: {{{timestamp-E|}}}
| {{#if:{{{tags|}}} | E: }} {{{timestamp-E|}}}
}}
<!-- The ISC lists only a single instance of a five-part event. No more are needed. -->
<!-- ................................ -->
 
<!-- ------ ISC event ----- -->
| label10 = [[International Seismological Centre|ISC]]
| data10 =
{{#ifeq: {{{isc-event|}}} | n/a
| n/a {{main_other|[[Kategori:Artikel gempa bumi dengan ISC 'n/a']]}}
| {{#if: {{{isc-event|}}}
| {{eq-isc-link|-{{{isc-event}}} }}
| {{#if: {{{isc-event-A|}}}
| &nbsp; <!-- if isc-event-A present: display label w/ blank data -->
| {{#ifeq: {{{pre-1900|}}} | yes
| <!-- Not required if pre-1900 -->
| {{main_other|[[Kategori:Artikel gempa bumi tanpa penanda ISC]]}}
}}
}}
}}
}}
 
| label11 = &nbsp;
| data11 =
{{#ifeq: {{{isc-event-A|}}} | n/a
| {{#if:{{{tags|}}} | A: }} n/a
| {{#if: {{{isc-event-A|}}}
| {{#if:{{{tags|}}} | A: }} {{eq-isc-link|-{{{isc-event-A|}}} }}
}}
}}
 
| label12 = &nbsp;
| data12 =
{{#ifeq: {{{isc-event-B|}}} | n/a
| {{#if:{{{tags|}}} | B: }} n/a
| {{#if: {{{isc-event-B|}}}
| {{#if:{{{tags|}}} | B: }} {{eq-isc-link|-{{{isc-event-B|}}} }}
}}
}}
 
| label13 = &nbsp;
| data13 =
{{#ifeq: {{{isc-event-C|}}} | n/a
| {{#if:{{{tags|}}} | C: }} n/a
| {{#if: {{{isc-event-C|}}}
| {{#if:{{{tags|}}} | C: }} {{eq-isc-link|-{{{isc-event-C|}}} }}
}}
}}
 
| label14 = &nbsp;
| data14 =
{{#ifeq: {{{isc-event-D|}}} | n/a
| {{#if:{{{tags|}}} | D: }} n/a
| {{#if: {{{isc-event-D|}}}
| {{#if:{{{tags|}}} | D: }} {{eq-isc-link|-{{{isc-event-D|}}} }}
}}
}}
 
| label15 = &nbsp;
| data15 =
{{#ifeq: {{{isc-event-E|}}} | n/a
| {{#if:{{{tags|}}} | E: }} n/a
| {{#if: {{{isc-event-E|}}}
| {{#if:{{{tags|}}} | E: }} {{eq-isc-link|-{{{isc-event-E|}}} }}
}}
}}
 
<!-- ................................ -->
<!-- ----- ANSS ----- -->
| label20 = USGS-[[Advanced National Seismic System|ANSS]]
| data20 =
{{#ifeq: {{{anss-url|}}} | n/a
| n/a {{main_other|[[Kategori:Artikel gempa bumi dengan ANSS 'n/a']]}}
| {{#if: {{{anss-url|}}}
| {{#ifeq: http | {{str left|{{{anss-url}}}|4}}
| [{{{anss-url}}} ComCat]
| [https://earthquake.usgs.gov/earthquakes/eventpage/{{{anss-url}}} ComCat]
}}
| {{#if: {{{anss-url-A|}}}
| &nbsp; <!-- if anss-url-A present: display label w/ blank data -->
| {{#ifeq: {{{pre-1900|}}} | yes
| <!-- Not required if pre-1900, and don't display if empty -->
| {{main_other|[[Kategori:Artikel gempa bumi yang membutuhkan url ANSS]]}}
<!-- {{red|<small>[https://earthquake.usgs.gov/earthquakes url required.]<small>}}
-->
}}
}}
}}
}}
 
| label21 = &nbsp;
| data21 =
{{#ifeq: {{{anss-url-A|}}} | n/a
| {{#if:{{{tags|}}} | A: }} n/a
| {{#if: {{{anss-url-A|}}}
| {{#if:{{{tags|}}} | A: }} {{#ifeq: http | {{str left|{{{anss-url-A}}}|4}}
| [{{{anss-url-A}}} ComCat]
| [https://earthquake.usgs.gov/earthquakes/eventpage/{{{anss-url-A}}} ComCat]
}}
}}
}}
 
| label22 = &nbsp;
| data22 =
{{#ifeq: {{{anss-url-B|}}} | n/a
| {{#if:{{{tags|}}} | B: }} n/a
| {{#if: {{{anss-url-B|}}}
| {{#if:{{{tags|}}} | B: }} {{#ifeq: http | {{str left|{{{anss-url-B}}}|4}}
| [{{{anss-url-B}}} ComCat]
| [https://earthquake.usgs.gov/earthquakes/eventpage/{{{anss-url-B}}} ComCat]
}}
}}
}}
 
| label23 = &nbsp;
| data23 =
{{#ifeq: {{{anss-url-C|}}} | n/a
| {{#if:{{{tags|}}} | C: }} n/a
| {{#if: {{{anss-url-C|}}}
| {{#if:{{{tags|}}} | C: }} {{#ifeq: http | {{str left|{{{anss-url-C}}}|4}}
| [{{{anss-url-C}}} ComCat]
| [https://earthquake.usgs.gov/earthquakes/eventpage/{{{anss-url-C}}} ComCat]
}}
}}
}}
 
| label24 = &nbsp;
| data24 =
{{#ifeq: {{{anss-url-D|}}} | n/a
| {{#if:{{{tags|}}} | D: }} n/a
| {{#if: {{{anss-url-D|}}}
| {{#if:{{{tags|}}} | D: }} {{#ifeq: http | {{str left|{{{anss-url-D}}}|4}}
| [{{{anss-url-D}}} ComCat]
| [https://earthquake.usgs.gov/earthquakes/eventpage/{{{anss-url-D}}} ComCat]
}}
}}
}}
 
| label25 = &nbsp;
| data25 =
{{#ifeq: {{{anss-url-E|}}} | n/a
| {{#if:{{{tags|}}} | E: }} n/a
| {{#if: {{{anss-url-E|}}}
| {{#if:{{{tags|}}} | E: }} {{#ifeq: http | {{str left|{{{anss-url-E}}}|4}}
| [{{{anss-url-E}}} ComCat]
| [https://earthquake.usgs.gov/earthquakes/eventpage/{{{anss-url-E}}} ComCat]
}}
}}
}}
 
<!-- ................................ -->
<!-- ... -->
| label32 = Tanggal&nbsp;{{red|<sup>*</sup>}}
| data32 = {{{date|}}}
{{#if: {{{date|{{{time|}}}}}}
| {{main_other|[[Kategori:Artikel gempa bumi yang menggunakan 'date' atau 'time' (kedaluwarsa)]]}}
}}
 
| label33 = Waktu&nbsp;awal&nbsp;{{red|<sup>*</sup>}}
| data33 = {{{time|{{{origintime|}}}}}}
{{#if: {{{origintime|}}}
| {{main_other|[[Kategori:Artikel gempa bumi yang menggunakan 'origintime' (kedaluwarsa)]]}}
}}
 
| label34 = Tanggal&nbsp;setempat
| data34 =
{{#ifeq: {{{pre-1900|}}} | yes
| {{main other|[[Category:Artikel tentang gempa bumi pra-1900]]}}
}}
{{#if: {{{local-date|}}} <!-- required, all cases -->
| {{{local-date|}}}
| {{main_other|[[Kategori:Artikel gempa bumi yang membutuhkan 'local-date']]}}
}}
 
<!-- ----- Local time ----- -->
| label40 = Waktu&nbsp;setempat
| data40 =
{{#if: {{{local-time|}}}
| {{{local-time}}}
| {{#if: {{{local-time-A|}}}
| &nbsp;
| {{#ifeq: {{{pre-1900|}}} | yes
| <!-- Not required if pre-1900 -->
| {{main_other|[[Kategori:Artikel gempa bumi yang membutuhkan 'local-time']]}}
}}
}}
}}
 
| label41 = &nbsp;
| data41 =
{{#if: {{{local-time-A|}}}
| {{#if:{{{tags|}}} | A: }} {{{local-time-A|}}}
}}
 
| label42 = &nbsp;
| data42 =
{{#if: {{{local-time-B|}}}
| {{#if:{{{tags|}}} | B: }} {{{local-time-B|}}}
}}
 
| label43 = &nbsp;
| data43 =
{{#if: {{{local-time-C|}}}
| {{#if:{{{tags|}}} | C: }} {{{local-time-C|}}}
}}
 
| label44 = &nbsp;
| data44 =
{{#if: {{{local-time-D|}}}
| {{#if:{{{tags|}}} | D: }} {{{local-time-D|}}}
}}
 
| label45 = &nbsp;
| data45 =
{{#if: {{{local-time-E|}}}
| {{#if:{{{tags|}}} | E: }} {{{local-time-E|}}}
}}
 
<!-- ................................ -->
 
| label49 = Lama
| data49 = {{{duration|}}}
 
<!-- ------ Magnitude ----- -->
| label50 = Kekuatan
| data50 =
{{#if: {{{magnitude|}}}
| {{{magnitude|}}}
| {{#if: {{{magnitude-A|}}}
| &nbsp;
}}
}}
 
| label51 = &nbsp;
| data51 =
{{#if: {{{magnitude-A|}}}
| {{#if:{{{tags|}}} | A: }} {{{magnitude-A|}}}
}}
 
| label52 = &nbsp;
| data52 =
{{#if: {{{magnitude-B|}}}
| {{#if:{{{tags|}}} | B: }} {{{magnitude-B|}}}
}}
 
| label53 = &nbsp;
| data53 =
{{#if: {{{magnitude-C|}}}
| {{#if:{{{tags|}}} | C: }} {{{magnitude-C|}}}
}}
 
| label54 = &nbsp;
| data54 =
{{#if: {{{magnitude-D|}}}
| {{#if:{{{tags|}}} | D: }} {{{magnitude-D|}}}
}}
 
| label55 = &nbsp;
| data55 =
{{#if: {{{magnitude-E|}}}
| {{#if:{{{tags|}}} | E: }} {{{magnitude-E|}}}
}}
 
<!-- ................................ -->
 
| label59 = Kedalaman
| data59 = {{{depth|}}}
| class59 = note
 
| label60 = {{#invoke:Engvar|variants
| defaultWord = Episentrum
| engvar = {{{engvar|}}}<!-- Pass through from article setting -->
| defaultLang = en-US
| en-UK = Episentrum
| en-CA = Episentrum
| en-AU = Episentrum
}}
| data60 = {{br separated entries|{{{location|}}}|{{{coordinates|}}}}}
 
| label71 = Sesar
| data71 = {{{fault|}}}
 
| label72 = Jenis
| data72 = {{{type|}}}
 
| label73 = Wilayah bencana
| data73 = {{{affected|{{{countries affected|}}}}}}
 
| label74 = Kerusakan total
| label2 = Waktu
| data2 data74 = {{{timedamages|{{{origintimedamage|}}}}}}
 
| label75 = Intensitas maks.
| label3 = Lama
| data3 data75 = {{{durationintensity|}}}
| class3 = note
 
| label76 = Percepatan puncak
| label4 = Kekuatan
| data4 data76 = {{{magnitudepga|{{{PGA|}}}}}}
| class4 = note
 
| label77 = Kecepatan puncak
| label5 = Kedalaman
| data5 data77 = {{{depthpgv|{{{PGV|}}}}}}
| class5 = note
 
| label6label78 = EpisentrumTsunami
| data6 data78 = {{{locationtsunami|}}}
 
| label7label79 = JenisLandslides
| data7 data79 = {{{typelandslide|}}}
 
| label8label80 = WilayahGempa bencanaawal
| data8 data80 = <!-- {{{affected|{{{countries affectedforeshocks|}}}}}} -->
{{#if:{{{foreshocks|}}} | {{{foreshocks|}}} {{main_other|[[Kategori:Artikel gempa bumi yang menggunakan 'foreshock']]}} }}
 
| label81 = Gempa susulan
| label9 = Kerugian
| data9 data81 = <!-- {{{damages|{{{damageaftershocks|}}}}}} -->
{{#if:{{{aftershocks|}}} | {{{aftershocks|}}} {{main_other|[[Kategori:Artikel gempa bumi yang menggunakan 'aftershock']]}} }}
 
| label82 = Korban
| label10 = Intensitas {{tooltip|maks.|maksimum}}
| data10 data82 = {{{intensitycasualties|}}}
 
<!-- [ Swarms-only parameters-->
| label11 = Kecepatan puncak
| labe 83 = Kekuatan maks.
| data11 = {{{pga|{{{PGA|}}}}}}
| data83 = {{{maxmagnitude|}}}
| class83 = note
 
| label84 = Kedalaman rerata
| label12 = Tsunami
| data12 data84 = {{{tsunamimeandepth|}}}
| class84 = note
 
| label13label85 = TanahTotal longsorperistiwa
| data13 data85 = {{{landslideevents|}}}
<!-- End of swarms-only parameters ] -->
 
| data91 = {{{module|{{{embedded|{{{misc|}}}}}}}}}
| label14 = Gempa awal
| data14 = {{{foreshocks|}}}
 
| label92 = Sumber
| label15 = Gempa susulan
| data15 data92 = {{{aftershockscitations|}}}
 
| label99 = {{red|*&nbsp;<small>Usang</small>}}
| label16 = Korban
| data99 = {{#if: {{{origintime|{{{time|{{{date|}}}}}}}}}| &nbsp;{{red|Lihat dokumentasi.}} }}
| data16 = {{{casualties|}}}
 
| data17below = {{{module|{{{embedded|{{{miscrelated|}}} <!-- }}}}}} -->
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox earthquake with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox earthquake]] with unknown parameter "_VALUE_"|ignoreblank=y| affected | aftershocks | alt | anss-url |caption | casualties | citations | coordinates | countries affected | damage | damages | date | depth | duration | embedded | engvar | events | fault | foreshocks |isc-event | image | image alt | image name | image_size | imagecaption | intensity | landslide | local-date | local-time | location | magnitude | map | map alt | map_alt | map_caption | map_size | map2 | mapsize | maxmagnitude | meandepth | misc | module | name | native_name | native_name_lang | origintime | PGA | pga | PGV | pgv | pre-1900 | pushpin_image | pushpin_label | pushpin_label_position | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_mapsize | pushpin_mark | pushpin_marksize | pushpin_relief | related | time | timestamp | title | tsunami | type | tags | timestamp-A | isc-event-A | anss-url-A
}}<noinclude>{{documentation}}</noinclude>
| local-time-A | magnitude-A | timestamp-B | isc-event-B | anss-url-B | local-time-B | magnitude-B | timestamp-C | isc-event-C | anss-url-C | local-time-C | magnitude-C | timestamp-D | isc-event-D | anss-url-D | local-time-D | magnitude-D | timestamp-E | isc-event-E | anss-url-E | local-time-E | magnitude-E }}<noinclude>{{documentation}}</noinclude>