Templat:TMH Infobox: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Relly Komaruzaman (bicara | kontrib)
Tidak ada ringkasan suntingan
M. Adiputra (bicara | kontrib)
kTidak ada ringkasan suntingan
 
(19 revisi perantara oleh 5 pengguna tidak ditampilkan)
Baris 1:
{{Infobox
{| class="infobox" style="width:{{{width1|300}}}px;"
|bodystyle = width:{{{Lebar|280px}}}
|-
|title = {{{Nama<includeonly>|</includeonly>}}}
!colspan="2" style=" background-color: orange; text-align: center; font-size: 140%;" | '''{{{Nama}}}'''
|above = {{Unicode|{{{Devanagari<includeonly>|</includeonly>}}}}}
{{
|abovestyle = font-family:Arial Unicode MS; font-weight:normal
#if: {{{Image<includeonly>|</includeonly>}}} |<tr><td style="font-size: 100%; text-align:center;" colspan="2">{{#if: {{{Caption<includeonly>|</includeonly>}}} |[[Berkas:{{{Image}}}|{{{width2|275}}}px|{{{Caption}}}]]<br/><div style="font-size:90%">{{{Caption}}}</div> |[[Berkas:{{{Image}}}|{{{width2|275}}}px]]}}</td></tr>
|image = {{#if:{{{Image<includeonly>|</includeonly>}}}|[[Berkas:{{{Image<includeonly>|</includeonly>}}}|{{{Image-size|250px}}}|{{{Caption|{{{Nama}}}}}}]]}}
}}{{
#if:|caption = {{{NamaCaption<includeonly>|</includeonly>}}} |
|headerstyle = background-color:{{Hindu/warna}}
<tr><td colspan="2" style="text-align: center; font-size:100%; background-color:gold">'''Tokoh dalam mitologi Hindu'''</td></tr>
 
}}{{
|header1 = Tokoh {{{Tokoh|dalam mitologi Hindu}}}
#if: {{{Nama<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Nama:</th><td style="font-size:90%">{{{Nama}}}</td></tr>
|label2 = Nama
}}{{
|data2 = {{{Nama<includeonly>|</includeonly>}}}
#if: {{{Nama_lain<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Nama lain:</th><td style="font-size:90%">{{{Nama_lain}}}</td></tr>
|label3 = {{Nowrap|Ejaan [[Aksara Dewanagari|Dewanagari]]}}
}}{{
#if:|data3 = {{{Devanagari<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Aksara Dewanagari:</th><td style="font-size:90%">{{{Devanagari}}}</td></tr>
|label4 = Ejaan [[Aksara Jawa|Jawa]]
}}{{
#if:|data4 = {{{Aksara_Jawa<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Aksara Jawa:</th><td style="font-size:90%">{{{Aksara_Jawa}}}</td></tr>
|label5 = Ejaan [[Aksara Bali|Bali]]
}}{{
#if:|data5 = {{{Aksara_Bali<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Aksara Bali:</th><td style="font-size:90%">{{{Aksara_Bali}}}</td></tr>
|label6 = Ejaan {{{Aksara<includeonly>|</includeonly>}}}
}}{{
|data6 = {{{Ejaan_aksara<includeonly>|</includeonly>}}}
#if: {{{Ejaan_Sansekerta<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Ejaan Sanskerta:</th><td style="font-size:90%">{{{Ejaan_Sansekerta}}}</td></tr>
|label7 = Ejaan [[IAST]]
}}{{
#if:|data7 = {{{DevanagariEjaan_Sanskerta<includeonly>|</includeonly>}}} |
|label8 = Arti nama
<tr><td colspan="2" style="text-align: center; font-size:100%; background-color:gold"></td></tr>
|data8 = {{{Arti<includeonly>|</includeonly>}}}
}}{{
|label9 = Nama lain
#if: {{{Kitab<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left; font-size:90%">Muncul dalam kitab:</th><td style="font-size:90%">{{{Kitab}}}</td></tr>
|data9 = {{{Nama_lain<includeonly>|</includeonly>}}}
}}{{
|label10 = Gelar
#if: {{{Gelar<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Gelar:</th><td style="font-size:90%">{{{Gelar}}}</td></tr>
|data10 = {{{Gelar<includeonly>|</includeonly>}}}
}}{{
|label11 = {{Nowrap|Kitab referensi}}
#if: {{{Golongan<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Golongan:</th><td style="font-size:90%">{{{Golongan}}}</td></tr>
|data11 = {{{Kitab<includeonly>|</includeonly>}}}
}}{{
|label12 = Asal
#if: {{{Asal<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Asal:</th><td style="font-size:90%">{{{Asal}}}</td></tr>
|data12 = {{{Asal<includeonly>|</includeonly>}}}
}}{{
|label13 = Kediaman
#if: {{{Tempat<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Kediaman:</th><td style="font-size:90%">{{{Tempat}}}</td></tr>
|data13 = {{{Tempat<includeonly>|</includeonly>}}}
}}{{
|label14 = Golongan
#if: {{{Kasta<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Kasta:</th><td style="font-size:90%">{{{Kasta}}}</td></tr>
|data14 = {{{Golongan<includeonly>|</includeonly>}}}
}}{{
|label15 = Ras
#if: {{{Profesi<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Profesi:</th><td style="font-size:90%">{{{Profesi}}}</td></tr>
|data15 = {{{Ras<includeonly>|</includeonly>}}}
}}{{
|label16 = Suku
#if: {{{Senjata<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Senjata:</th><td style="font-size:90%">{{{Senjata}}}</td></tr>
|data16 = {{{Suku<includeonly>|</includeonly>}}}
}}{{
|label17 = Kasta
#if: {{{Wahana<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Wahana:</th><td style="font-size:90%">{{{Wahana}}}</td></tr>
|data17 = {{{Kasta<includeonly>|</includeonly>}}}
}}{{
|label18 = Profesi
#if: {{{Dinasti<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Dinasti:</th><td style="font-size:90%">{{{Dinasti}}}</td></tr>
|data18 = {{{Profesi<includeonly>|</includeonly>}}}
}}{{
|label19 = Dinasti
<!-- #if: {{{Pasangan<includeonly>|</includeonly>}}} |
|data19 = {{{Dinasti<includeonly>|</includeonly>}}}
<tr><td colspan="2" style="text-align: center; font-size:100%; background-color:gold">'''Keluarga'''</td></tr>
|label20 = Klan
}}{{ -->
|data20 = {{{Wangsa|{{{Klan<includeonly>|</includeonly>}}}}}}
#if: {{{Orang tua<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Orang tua:</th><td style="font-size:90%">{{{Orang tua}}}</td></tr>
|label21 = Senjata
}}{{
|data21 = {{{Senjata<includeonly>|</includeonly>}}}
#if: {{{Pasangan<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Pasangan:</th><td style="font-size:90%">{{{Pasangan}}}</td></tr>
|label22 = Wahana
}}{{
#if:|data22 = {{{AnakWahana<includeonly>|</includeonly>}}} |<tr><th style="background-color:; text-align:left;font-size:90%">Anak:</th><td style="font-size:90%">{{{Anak}}}</td></tr>
|label23 = Ayah
}}</div>
|data23 = {{{Ayah<includeonly>|</includeonly>}}}
|-
|label24 = Ibu
|}
|data24 = {{{Ibu<includeonly>|</includeonly>}}}
<noinclude>
|label25 = Saudara
|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 =
| Identitas = Identitas
| Devanagari =
| Aksara_Bali =
| Aksara_Jawa =
| Ejaan_Sansekerta =
| Nama_lain =
| Golongan =
| Asal =
| Senjata =
| Wahana =
| Dinasti =
| Keluarga = Keluarga
| Orang tua =
| Pasangan =
| Anak =
}}
</pre>
[[Kategori:Templat kotak info Hindu]]</noinclude>