Templat:Kota Lama Yerusalem
Templat ini adalah referensi sendiri dan merupakan bagian dari proyek Wikipedia alih-alih konten ensiklopedia.
Templat ini secara otomatis akan mengategorisasikan templat terkini ke Kategori:Templat peta gambar berlabel.
- Penggunaan
Lihat contoh berikut yang diadaptasi dari Templat:Australia Labelled Map:
{{Image label begin|image=Australia location map recolored.png|width=400|float=none |alt=Australia map. Western Australia in the west third with capital Perth, Northern Territory in the north center with capital Darwin, Queensland in the northeast with capital Brisbane, South Australia in the south with capital Adelaide, New South Wales in the northern southeast with capital Sydney, and Victoria in the far southeast with capital Melbourne. Tasmania, with capital Hobart, is off the coast of Victoria, across the Bass Strait. The Indian Ocean is to the west and northwest, the South Pacific Ocean to the east, the Southern Ocean to the south, and the Tasman Sea to the southeast. The Great Australian Bight to the south and the Gulf of Carpentaria to the north are the major bays. The Timor and Arafura Seas are off the north coast, and the Great Barrier Reef guards the northeast coast from the Coral Sea.}} {{Image label small|x=0.26 |y=0.345 |scale=400|text=[[Western Australia|Western<br/>Australia]]}} {{Image label small|x=0.46 |y=0.20 |scale=400|text=[[Northern Territory|Northern<br/>Territory]]}} {{Image label small|x=0.505|y=0.4025|scale=400|text=[[South Australia|South<br/>Australia]]}} ... {{Image label end}}
- Lebar/Skala
Dalam contoh ini, semua lebar harus diset ke angka yang sama yaitu 400 sebagai lebar baku. Semuanya harus 400 agar templat ini dapat berganti ukuran. Ini berarti templat dapat ditampilkan dalam berbagai ukuran dengan memasukkan parameter lebar ke templat saat digunakan. Misalnya, {{Australia Labelled Map|width=500}} akan menampilkan gambar berlabel dalam ukuran lebar 500 piksel, bukannya 400.
Untuk mengubah ukuran baku, cari dan ganti
"{{{width|400}}}
"
dengan
"{{{width|500}}}
".
Untuk peta geografis Bumi, konform terhadap spesifikasi ini memungkinkan konversi yang lebih mudah untuk keperluan lain seperti pemakaian {{Location map+}}.
- X/Y
Nilai X dan Y selalu antara 0 dan 1. Mereka merepresentasikan persentase lebar dan panjang tempat label akan ditempatkan. Titik pastinya adalah sudut kiri atas label gambar.
x=0 |y=0 will place the top-left corner of the label at the top-left of the image x=0 |y=1 will place the top-left corner of the label at the bottom-left of the image x=1 |y=1 will place the top-left corner of the label at the bottom-right of the image x=1 |y=0 will place the top-left corner of the label at the top-right of the image x=0.5|y=0.5 will place the top-left corner of the label at the centre of the image
- Gambar
Judul halaman wiki gambar tidak diawali "Image:".
- Teks
Label teks ditampilkan sebagai markup wiki.
- Float
Tiga pilihan:
{{{float|none}}} makes the image sit on its own line of the page by default {{{float|left}}} makes the image pushed to the left of the page by default {{{float|right}}} makes the image pushed to the right of the page by default
- link
Specifies where the image should link to. If File:
(the default), the image links to its file page. If empty, the image does not link to anything; this is appropriate for purely decorative images.
- alt
Specifies text to be used in the image's "alt" attribute. If |link=
is empty, this should be empty; if |link=
is File:
or is not given, this should describe the image; if |link=
points to some other page this should describe the action that will be taken if you click on the image. See Wikipedia:Alternative text for images.
- caption
Specifies text to be used in the image's "title" attribute. In certain browsers, this text will appear in a tooltip when the mouse pointer is rolled over it.
- Set templat
{{Image label begin|image=Example.png|width=400|float=right}}
{{Image label|x=0.25|y=0.75|scale=400|text=[[Wikipedia]]}}
{{Image label small|x=0.25|y=0.75|scale=400|text=[[Wikipedia]]}}
- {{Image label end}}
- Alat
- Contoh peta berlabel