Templat:TMH Infobox: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
-spasi
M. Adiputra (bicara | kontrib)
kTidak ada ringkasan suntingan
 
(15 revisi perantara oleh 4 pengguna tidak ditampilkan)
Baris 1:
{{Infobox
{| class="infobox" style="background-color:#F0EAD6; width:{{{width1|275}}}px;"
|bodystyle = width:{{{Lebar|280px}}}
|-
|title = {{{Nama<includeonly>|</includeonly>}}}
!colspan="2" style=" background-color: orange; text-align: center;" |<font size="4">'''{{{Nama}}}'''</font>{{br}}
|above = {{#if: Unicode|{{{Devanagari<includeonly>|</includeonly>}}} | <font face="Arial Unicode MS">{{{Devanagari}}}</font>
|abovestyle = font-family:Arial Unicode MS; font-weight:normal
}}
|image = {{#if:{{{Image<includeonly>|</includeonly>}}}|[[Berkas:{{{Image<includeonly>|</includeonly>}}}|{{{Image-size|250px}}}|{{{Caption|{{{Nama}}}}}}]]}}
{{
|caption = {{{Caption<includeonly>|</includeonly>}}}
#if: {{{Image<includeonly>|</includeonly>}}} |<tr><td style="font-size: 100%; text-align:center; background-color:#FFFFFF" colspan="2">{{#if: {{{Caption<includeonly>|</includeonly>}}} |[[Berkas:{{{Image}}}|{{{width2|250}}}px|{{{Caption}}}]]<br/><div style="font-size:80%">{{{Caption}}}</div> |[[Berkas:{{{Image}}}|{{{width2|250}}}px]]}}</td></tr>
|headerstyle = background-color:{{Hindu/warna}}
}}{{
 
#if: {{{Nama<includeonly>|</includeonly>}}} |
<tr><td|header1 colspan="2" style="text-align:Tokoh center; font-size:100%; background-color:gold">'''{{{Tokoh |dalam mitologi Hindu'''</td></tr>}}}
|label2 = Nama
}}{{
|data2 = {{{Nama<includeonly>|</includeonly>}}}
#if: {{{Nama<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Nama:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Nama}}}</td></tr>
|label3 = {{Nowrap|Ejaan [[Aksara Dewanagari|Dewanagari]]}}
}}{{
|data3 = {{{Devanagari<includeonly>|</includeonly>}}}
#if: {{{Nama_lain<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Nama lain:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Nama_lain}}}</td></tr>
|label4 = Ejaan [[Aksara Jawa|Jawa]]
}}{{
|data4 = {{{Aksara_Jawa<includeonly>|</includeonly>}}}
#if: {{{Devanagari<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Aksara Dewanagari:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Devanagari}}}</td></tr>
|label5 = Ejaan [[Aksara Bali|Bali]]
}}{{
|data5 = {{{Aksara_Bali<includeonly>|</includeonly>}}}
#if: {{{Aksara_Jawa<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Aksara Jawa:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Aksara_Jawa}}}</td></tr>
|label6 = Ejaan {{{Aksara<includeonly>|</includeonly>}}}
}}{{
|data6 = {{{Ejaan_aksara<includeonly>|</includeonly>}}}
#if: {{{Aksara_Bali<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Aksara Bali:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Aksara_Bali}}}</td></tr>
|label7 = Ejaan [[IAST]]
}}{{
|data7 = {{{Ejaan_Sanskerta<includeonly>|</includeonly>}}}
#if: {{{Ejaan_Sansekerta<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Ejaan Sanskerta:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Ejaan_Sansekerta}}}</td></tr>
|label8 = Arti nama
}}{{
#if:|data8 = {{{DevanagariArti<includeonly>|</includeonly>}}} |
|label9 = Nama lain
<tr><td colspan="2" style="text-align: center; font-size:100%; background-color:#F0EAD6"></td></tr>
|data9 = {{{Nama_lain<includeonly>|</includeonly>}}}
}}{{
|label10 = Gelar
#if: {{{Kitab<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left; font-size:85%">Muncul dalam kitab:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Kitab}}}</td></tr>
|data10 = {{{Gelar<includeonly>|</includeonly>}}}
}}{{
|label11 = {{Nowrap|Kitab referensi}}
#if: {{{Gelar<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Gelar:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Gelar}}}</td></tr>
|data11 = {{{Kitab<includeonly>|</includeonly>}}}
}}{{
|label12 = Asal
#if: {{{Golongan<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Golongan:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Golongan}}}</td></tr>
|data12 = {{{Asal<includeonly>|</includeonly>}}}
}}{{
|label13 = Kediaman
#if: {{{Asal<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Asal:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Asal}}}</td></tr>
|data13 = {{{Tempat<includeonly>|</includeonly>}}}
}}{{
|label14 = Golongan
#if: {{{Tempat<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Kediaman:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Tempat}}}</td></tr>
|data14 = {{{Golongan<includeonly>|</includeonly>}}}
}}{{
|label15 = Ras
#if: {{{Kasta<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Kasta:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Kasta}}}</td></tr>
|data15 = {{{Ras<includeonly>|</includeonly>}}}
}}{{
|label16 = Suku
#if: {{{Profesi<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Profesi:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Profesi}}}</td></tr>
|data16 = {{{Suku<includeonly>|</includeonly>}}}
}}{{
|label17 = Kasta
#if: {{{Senjata<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Senjata:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Senjata}}}</td></tr>
|data17 = {{{Kasta<includeonly>|</includeonly>}}}
}}{{
|label18 = Profesi
#if: {{{Wahana<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Wahana:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Wahana}}}</td></tr>
|data18 = {{{Profesi<includeonly>|</includeonly>}}}
}}{{
|label19 = Dinasti
#if: {{{Dinasti<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Dinasti:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Dinasti}}}</td></tr>
|data19 = {{{Dinasti<includeonly>|</includeonly>}}}
}}{{
|label20 = Klan
<!-- #if: {{{Pasangan<includeonly>|</includeonly>}}} |
|data20 = {{{Wangsa|{{{Klan<includeonly>|</includeonly>}}}}}}
<tr><td colspan="2" style="text-align: center; font-size:100%; background-color:gold">'''Keluarga'''</td></tr>
|label21 = Senjata
}}{{ -->
|data21 = {{{Senjata<includeonly>|</includeonly>}}}
#if: {{{Orang tua<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Orang tua:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Orang tua}}}</td></tr>
|label22 = Wahana
}}{{
|data22 = {{{Wahana<includeonly>|</includeonly>}}}
#if: {{{Pasangan<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Pasangan:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Pasangan}}}</td></tr>
|label23 = Ayah
}}{{
|data23 = {{{Ayah<includeonly>|</includeonly>}}}
#if: {{{Anak<includeonly>|</includeonly>}}} |<tr><th style="background-color:#FFFFFF; text-align:left;font-size:85%">Anak:</th><td style="font-size:85%; background-color:#FFFFFF">{{{Anak}}}</td></tr>
|label24 = Ibu
}}</div>
|data24 = {{{Ibu<includeonly>|</includeonly>}}}
|-
|label25 = Saudara
|}<noinclude>
|data25 = {{{Saudara<includeonly>|</includeonly>}}}
|label26 = {{#if:{{{Istri<includeonly>|</includeonly>}}}|Istri|Suami}}
|data26 = {{{Suami|{{{Istri<includeonly>|</includeonly>}}}}}}
|label27 = Anak
|data27 = {{{Anak<includeonly>|</includeonly>}}}
|belowstyle =
|below =
}}<noinclude>
<br style="clear: both;">
{{doc}}
 
== Penggunaan ==
Untuk kotak info yang lebih ramping, tinggal gunakan
<nowiki>{{</nowiki>TMH Infobox|width1=275|width2=240
...
}}
 
Untuk ukuran biasa default (width1=300|width2=275), gunakan
<pre>
{{TMH Infobox
| Image =
| Caption = <!-- Keterangan Gambar -->
| Nama =
| Devanagari =
| Aksara_Bali =
| Aksara_Jawa =
| Ejaan_Sansekerta =
| Nama_lain =
| Golongan =
| Asal =
| Senjata =
| Wahana =
| Dinasti =
| Orang tua =
| Pasangan =
| Anak =
}}
</pre>
[[Kategori:Templat kotak info Hindu]]</noinclude>