Templat:Bendera parpol image/doc: Perbedaan antara revisi

Loncat ke navigasi Loncat ke pencarian
tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
 
(6 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 1: Baris 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Javasatu:Wikidata]]) -->
== Usage ==
== Usage ==
This template generates a floating flag image. Use the parameter {{para|Image}} to specify an image without "File:"/"Image:" prefix, {{para|Pos}} to control the position of the image (left, right, none or center; default right), {{para|Image_size}} to control the image size (default 210&times;105px), {{para|Width}} to specify image width (integer only, without any unit or suffix), {{para|Box_width}} to specify the width of the box (integer only, without any unit or suffix), {{para|Caption}} to specify the text underneath the image, and {{para|NoCentering}} to make the text not centered underneath the image. The parameter {{para|Country}} may be used to use the image specified by Template:Country data {{{Country}}} (overridden by the {{para|Image}} parameter if specified) and to generate a default caption "Flag of {{{Country}}}". Parameter names are fully case-sensitive.
Templat ini menghasilkan gambar bendera mengambang. Gunakan aturan {{para|Image}} untuk menetapkan sebuah gambar tanpa awalan "File:"/"Image:", {{para|Pos}} untuk mengatur posisi dari gambar (kiri, kanan, tak diatur atau tengah; normalnya kanan), {{para|Image_size}} untu mengatur ukuran gambar (normalnya 210&times;105px), {{para|Width}} untuk mengatur lebar gambar (hanya integer, tanpa unit apapun atau akhiran), {{para|Box_width}} to specify the width of the box (integer only, without any unit or suffix), {{para|Caption}} to specify the text underneath the image, and {{para|NoCentering}} to make the text not centered underneath the image. Isian {{para|Parpol}} digunakan untuk mengatur hal yang ditentukan Templat:Data parpol {{{Parpol}}} (overridden by the {{para|Image}} parameter if specified) and to generate a default caption "Flag of {{{Parpol}}}". Parameter names are fully case-sensitive.


==Examples==
==Examples==
Baris 8: Baris 8:
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
{|
{|
|{{Bendera parpol image|Country=Denmark}}
|{{Bendera parpol image|Parpol=Partai Kebangkitan Bangsa}}
|{{Bendera parpol image|Image=Flag of Germany.svg|Caption=Flag of Germany}}
|{{Bendera parpol image|Image=Flag of Germany.svg|Caption=Flag of Germany}}
|{{Bendera parpol image|Country=Nepal|NoBorder=yes}}
|{{Bendera parpol image|Parpol=Partai Demokrasi Indonesia Perjuangan|NoBorder=yes}}
|{{Bendera parpol image|Country=Russia|Image_size=120px}}
|{{Bendera parpol image|Parpol=Partai Kebangkitan Bangsa|Image_size=120px}}
|}
|}
</syntaxhighlight>
</syntaxhighlight>
Baris 17: Baris 17:
Output:
Output:
{|
{|
|{{Bendera parpol image|Country=Denmark}}
|{{Bendera parpol image|Parpol=Partai Kebangkitan Bangsa}}
|{{Bendera parpol image|Image=Flag of Germany.svg|Caption=Flag of Germany}}
|{{Bendera parpol image|Image=Flag of Germany.svg|Caption=Flag of Germany}}
|{{Bendera parpol image|Country=Nepal|NoBorder=yes}}
|{{Bendera parpol image|Parpol=Partai Demokrasi Indonesia Perjuangan|NoBorder=yes}}
|{{Bendera parpol image|Country=Russia|Image_size=120px}}
|{{Bendera parpol image|Parpol=Partai Kebangkitan Bangsa|Image_size=120px}}
|}
|}


Menu navigasi