Templat:Infobox earthquake: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
ganti contoh |
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 |
||
(37 revisi perantara oleh 19 pengguna tidak ditampilkan) | |||
Baris 1:
{{Infobox
| title = {{{name|<includeonly>{{{title|{{PAGENAMEBASE}}}}}</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|}}}}}}
| image3 = {{#if:{{{pushpin_map|}}}
|{{Location map|{{{pushpin_map|}}}
|float = center|border = infobox
|label = {{{pushpin_label|}}}
|alt = {{{pushpin_map_alt|}}}
|coordinates = {{if empty|{{{coordinates|}}}|{{{location|}}}}}
|mark = {{#if: {{{pushpin_mark|}}} | {{{pushpin_mark}}} | Bullseye1.png }}
|marksize = {{#if: {{{pushpin_marksize|}}} | {{{pushpin_marksize}}} | 40 }}
|caption = {{{pushpin_map_caption|}}}
|position = {{#if:{{{pushpin_label_position|}}}|{{{pushpin_label_position|}}}|none}}
|width = {{{pushpin_mapsize|}}}
|relief = {{{pushpin_relief|1}}}
|AlternativeMap = {{{pushpin_image|}}}
}}
|{{{map2|}}}
}}
<!-- { ================ Labels & data ================ -->
| label1 = Waktu [[Coordinated Universal Time|UTC]]
| 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> </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 =
| data3 =
{{#if: {{{timestamp-A|}}}
| {{#if:{{{tags|}}} | A: }} {{{timestamp-A|}}}
}}
| label4 =
| data4 =
{{#if: {{{timestamp-B|}}}
| {{#if:{{{tags|}}} | B: }} {{{timestamp-B|}}}
}}
| label5 =
| data5 =
{{#if: {{{timestamp-C|}}}
| {{#if:{{{tags|}}} | C: }} {{{timestamp-C|}}}
}}
| label6 =
| data6 =
{{#if: {{{timestamp-D|}}}
| {{#if:{{{tags|}}} | D: }} {{{timestamp-D|}}}
}}
| label7 =
| 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|}}}
| <!-- 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 =
| 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 =
| 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 =
| 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 =
| 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 =
| 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|}}}
| <!-- 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 =
| 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 =
| 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 =
| 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 =
| 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 =
| 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 {{red|<sup>*</sup>}}
| data32 = {{{date|}}}
{{#if: {{{date|{{{time|}}}}}}
| {{main_other|[[Kategori:Artikel gempa bumi yang menggunakan 'date' atau 'time' (kedaluwarsa)]]}}
}}
| label33 = Waktu awal {{red|<sup>*</sup>}}
| data33 = {{{time|{{{origintime|}}}}}}
{{#if: {{{origintime|}}}
| {{main_other|[[Kategori:Artikel gempa bumi yang menggunakan 'origintime' (kedaluwarsa)]]}}
}}
| label34 = Tanggal 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 setempat
| data40 =
{{#if: {{{local-time|}}}
| {{{local-time}}}
| {{#if: {{{local-time-A|}}}
|
| {{#ifeq: {{{pre-1900|}}} | yes
| <!-- Not required if pre-1900 -->
| {{main_other|[[Kategori:Artikel gempa bumi yang membutuhkan 'local-time']]}}
}}
}}
}}
| label41 =
| data41 =
{{#if: {{{local-time-A|}}}
| {{#if:{{{tags|}}} | A: }} {{{local-time-A|}}}
}}
| label42 =
| data42 =
{{#if: {{{local-time-B|}}}
| {{#if:{{{tags|}}} | B: }} {{{local-time-B|}}}
}}
| label43 =
| data43 =
{{#if: {{{local-time-C|}}}
| {{#if:{{{tags|}}} | C: }} {{{local-time-C|}}}
}}
| label44 =
| data44 =
{{#if: {{{local-time-D|}}}
| {{#if:{{{tags|}}} | D: }} {{{local-time-D|}}}
}}
| label45 =
| 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|}}}
|
}}
}}
| label51 =
| data51 =
{{#if: {{{magnitude-A|}}}
| {{#if:{{{tags|}}} | A: }} {{{magnitude-A|}}}
}}
| label52 =
| data52 =
{{#if: {{{magnitude-B|}}}
| {{#if:{{{tags|}}} | B: }} {{{magnitude-B|}}}
}}
| label53 =
| data53 =
{{#if: {{{magnitude-C|}}}
| {{#if:{{{tags|}}} | C: }} {{{magnitude-C|}}}
}}
| label54 =
| data54 =
{{#if: {{{magnitude-D|}}}
| {{#if:{{{tags|}}} | D: }} {{{magnitude-D|}}}
}}
| label55 =
| 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
| data74 = {{{damages|{{{damage|}}}}}}
| label75 = Intensitas maks.
| data75 = {{{intensity|}}}
| label76 = Percepatan puncak
| data76 = {{{pga|{{{PGA|}}}}}}
| label77 = Kecepatan puncak
| data77 = {{{pgv|{{{PGV|}}}}}}
| label78 = Tsunami
| data78 = {{{tsunami|}}}
| label79 = Landslides
| data79 = {{{landslide|}}}
| label80 = Gempa awal
| data80 = <!-- {{{foreshocks|}}} -->
{{#if:{{{foreshocks|}}} | {{{foreshocks|}}} {{main_other|[[Kategori:Artikel gempa bumi yang menggunakan 'foreshock']]}} }}
| label81 = Gempa susulan
| data81 = <!-- {{{aftershocks|}}} -->
{{#if:{{{aftershocks|}}} | {{{aftershocks|}}} {{main_other|[[Kategori:Artikel gempa bumi yang menggunakan 'aftershock']]}} }}
| label82 = Korban
| data82 = {{{casualties|}}}
<!-- [ Swarms-only parameters-->
| labe 83 = Kekuatan maks.
| data83 = {{{maxmagnitude|}}}
| class83 = note
| label84 = Kedalaman rerata
| data84 = {{{meandepth|}}}
| class84 = note
| label85 = Total peristiwa
| data85 = {{{events|}}}
<!-- End of swarms-only parameters ] -->
| data91 = {{{module|{{{embedded|{{{misc|}}}}}}}}}
| label92 = Sumber
| data92 = {{{citations|}}}
| label99 = {{red|* <small>Usang</small>}}
| data99 = {{#if: {{{origintime|{{{time|{{{date|}}}}}}}}}| {{red|Lihat dokumentasi.}} }}
| below = {{{related|}}} <!-- } -->
}}{{#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
| 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>
|