Templat:Infobox musical artist: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan
Tanda: Suntingan perangkat seluler Suntingan peramban seluler
Tidak ada ringkasan suntingan
Tanda: Suntingan perangkat seluler Suntingan peramban seluler
 
(50 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 1:
<includeonly><table class="infobox" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; border: 1px solid #a2a9b1; background-color: #f8f9fa; padding: 5px;">
<table class="infobox">
 
{{#if: {{{nameNama|}}}
| <caption class="infobox-title" style="font-size: 65125%; font-weight: bold; text-align: center; padding: 5px; background-color: #f2f2f2; color: black;">{{{nameNama}}}</caption>
}}
 
Baris 16:
}}
 
{{#if: {{{Nama_lahir|}}}{{{Nama_asli|}}}{{{Lahir|}}}{{{Meninggal|}}}{{{Tempat_tinggal|}}}{{{Kebangsaan|}}}{{{Agama|}}}
{{#if: {{{background_information|}}}
| <tr>
<th colspan="122" class="infobox-header" style="text-align: center; background-color: #f2f2f2; padding: 4px; font-weight: bold; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc;">Informasi latar belakangPribadi</th>
</tr>
}}
 
{{#if: {{{birth_nameNama_lahir|{{{Nama_asli|}}}}}}
| <tr>
<th class="infobox-label" style="width: 42%; padding: 4px; vertical-align: top;">Nama lahir</th>
<td class="infobox-data" style="padding: 4px;">{{{birth_nameNama_lahir|{{{Nama_asli}}}}}}</td>
</tr>
}}
 
{{#if: {{{other_nameLahir|{{{Tanggal_lahir|}}}}}}
| <tr>
<th class="infobox-label">Nama lainstyle="padding: 4px; vertical-align: top;">Lahir</th>
<td class="infobox-data" style="padding: 4px;">{{{other_nameLahir|{{{Tanggal_lahir}}}}}}{{#if: {{{Tempat_lahir|}}}|<br />{{{Tempat_lahir}}}}}</td>
</tr>
}}
 
{{#if: {{{birthMeninggal|{{{Tanggal_kematian|}}}}}}
| <tr>
<th class="infobox-label" style="padding: 4px; vertical-align: top;">LahirMeninggal</th>
<td class="infobox-data" style="padding: 4px;">{{{birthMeninggal|{{{Tanggal_kematian}}}}}}{{#if: {{{Tempat_kematian|}}}|<br />{{{Tempat_kematian}}}}}</td>
</tr>
}}
 
{{#if: {{{place_of_birthTempat_tinggal|}}}
| <tr>
<th class="infobox-label" style="padding: 4px; vertical-align: top;">Tempat lahirtinggal</th>
<td class="infobox-data" style="padding: 4px;">{{{place_of_birthTempat_tinggal}}}</td>
</tr>
}}
 
{{#if: {{{birth_dateKebangsaan|{{{Warga_negara|}}}}}}
| <tr>
<th class="infobox-label" style="padding: 4px; vertical-align: top;">UsiaKebangsaan</th>
<td class="infobox-data" style="padding: 4px;">{{#expr:{{CURRENTYEAR}}-{{#time:YKebangsaan|{{{birth_dateWarga_negara}}}}}-({{#time:md|{{CURRENTTIMESTAMP}}}}<{{#time:md|{{{birth_date}}}}})}} tahun</td>
</tr>
}}
 
{{#if: {{{originAgama|}}}
| <tr>
<th class="infobox-label" style="padding: 4px; vertical-align: top;">AsalAgama</th>
<td class="infobox-data" style="padding: 4px;">{{{originAgama}}}</td>
</tr>
}}
 
{{#if: {{{Genre|}}}{{{Pekerjaan|}}}{{{Instrumen|}}}{{{Tahun_aktif|}}}{{{Label|}}}{{{Artis_terkait|}}}{{{Grup|}}}
{{#if: {{{death_date|}}}
| <tr>
<th colspan="2" class="infobox-header" style="text-align: center; background-color: #f2f2f2; padding: 4px; font-weight: bold; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc;">Karier Musik</th>
<th class="infobox-label">Meninggal</th>
<td class="infobox-data">{{#time: j F Y | {{{death_date}}} }}{{#if: {{{death_place|}}} |, {{{death_place}}} }}<br /><span style="font-weight:normal; font-size: 85%;">({{#expr: {{CURRENTYEAR}} - {{#time: Y | {{{death_date}}} }} - ({{#time: md | {{CURRENTTIMESTAMP}} }} < {{#time: md | {{{death_date}}} }})}} tahun yang lalu)</span></td>
</tr>
}}
 
{{#if: {{{nationalityGenre|}}}
| <tr>
<th class="infobox-label" style="padding: 4px; vertical-align: top;">KebangsaanGenre</th>
<td class="infobox-data" style="padding: 4px;">{{{nationalityGenre}}}</td>
</tr>
}}
 
{{#if: {{{genresMipauthor|}}}
| <tr>
<th class="infobox-label" style="padding: 4px; vertical-align: top;">Genre[[MIPAUTHOR|Mipauthor]]</th>
<td class="infobox-data" style="padding: 4px;">{{{genresMipauthor}}}</td>
</tr>
}}
 
{{#if: {{{workPekerjaan|{{{Profesi|}}}}}}
| <tr>
<th class="infobox-label" style="padding: 4px; vertical-align: top;">Pekerjaan</th>
<td class="infobox-data" style="padding: 4px;">{{{workPekerjaan|{{{Profesi}}}}}}</td>
</tr>
}}
 
{{#if: {{{instrumentInstrumen|}}}
| <tr>
<th class="infobox-label" style="padding: 4px; vertical-align: top;">Instrumen</th>
<td class="infobox-data" style="padding: 4px;">{{{instrumentInstrumen}}}</td>
</tr>
}}
 
{{#if: {{{active_yearTahun_aktif|}}}
| <tr>
<th class="infobox-label" style="padding: 4px; vertical-align: top;">Tahun aktif</th>
<td class="infobox-data" style="padding: 4px;">{{{Tahun_aktif}}}</td>
<td class="infobox-data">{{{active_year}}}–{{#if: {{{active_end|}}} | {{{active_end}}} | {{#if: {{{has_died|}}} | {{#time: Y | {{{has_died}}} }} | sekarang }} }} ({{#expr: ({{#if: {{{active_end|}}} | {{{active_end}}} | {{#if: {{{has_died|}}} | {{#time: Y | {{{has_died}}} }} | {{CURRENTYEAR}} }} }}) - {{{active_year}}} }} tahun)</td>
</tr>
}}
 
{{#if: {{{labelLabel|}}}
| <tr>
<th class="infobox-label" style="padding: 4px; vertical-align: top;">Label rekaman</th>
<td class="infobox-data" style="padding: 4px;">{{{labelLabel}}}</td>
</tr>
}}
 
{{#if: {{{related_artistsGrup|{{{Band|}}}}}}
| <tr>
<th class="infobox-label" style="padding: 4px; vertical-align: top;">ArtisGrup / terkaitBand</th>
<td class="infobox-data" style="padding: 4px;">{{{related_artistsGrup|{{{Band}}}}}}</td>
</tr>
}}
 
{{#if: {{{websiteArtis_terkait|}}}
| <tr>
<th class="infobox-label" style="padding: 4px; vertical-align: top;">SitusArtis webterkait</th>
<td class="infobox-data" style="padding: 4px;">{{{websiteArtis_terkait}}}</td>
</tr>
}}
 
{{#if: {{{personal_informationAnggota_saat_ini|}}}
| <tr>
<th colspanclass="12infobox-label" classstyle="infoboxpadding: 4px; vertical-headeralign: top;">Informasi PribadiAnggota</th>
<td class="infobox-data" style="padding: 4px;">{{{Anggota_saat_ini}}}</td>
</tr>
}}
 
{{#if: {{{older_brotherMantan_anggota|}}}
| <tr>
<th class="infobox-label" style="padding: 4px; vertical-align: top;">KakakMantan anggota</th>
<td class="infobox-data" style="padding: 4px;">{{{older_brotherMantan_anggota}}}</td>
</tr>
}}
 
{{#if: {{{younger_brotherSitus_web|}}}
| <tr>
<th class="infobox-label" style="padding: 4px; vertical-align: top;">AdikSitus web</th>
<td class="infobox-data" style="padding: 4px;">{{{younger_brotherSitus_web}}}</td>
</tr>
}}
 
{{#if: {{{Instagram_username|}}}{{{X_username|}}}{{{Twitter_username|}}}{{{Threads_username|}}}{{{TikTok_username|}}}{{{YouTube|}}}{{{Facebook|}}}{{{Spotify|}}}{{{Apple_Music|}}}{{{SoundCloud|}}}{{{Bandcamp|}}}{{{Twitch|}}}{{{Patreon|}}}
{{#if: {{{partner|}}}
| <tr>
<th colspan="2" class="infobox-header" style="text-align: center; background-color: #f2f2f2; padding: 4px; font-weight: bold; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc;">Informasi sosial</th>
<th class="infobox-label">Pasangan</th>
<td class="infobox-data">{{{partner}}}</td>
</tr>
<tr>
}}
<td colspan="2" style="text-align: center; padding: 12px 4px;">
 
<div style="display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; align-items: center;">{{#if: {{{Instagram_username|}}}|[[File:Instagram Logo.svg|20x20px|frameless|class=noviewer|link=https://instagram.com/{{{Instagram_username}}}|alt=Instagram]]}}{{#if: {{{Twitter_username|{{{X_username|}}}}}}|[[File:X logo 2023.svg|20x20px|frameless|class=noviewer|link=https://x.com/{{{Twitter_username|{{{X_username}}}}}}|alt=X]]}}{{#if: {{{Threads_username|}}}|[[File:Threads (app) logo.svg|20x20px|frameless|class=noviewer|link=https://threads.net/@{{{Threads_username}}}|alt=Threads]]}}{{#if: {{{TikTok_username|}}}|[[File:TikTok logo.svg|20x20px|frameless|class=noviewer|link=https://tiktok.com/@{{{TikTok_username}}}|alt=TikTok]]}}{{#if: {{{YouTube|}}}|[[File:YouTube social white circle (2017).svg|20x20px|frameless|class=noviewer|link={{{YouTube}}}|alt=YouTube]]}}
{{#if: {{{song_excerpt|}}}
{{#if: {{{YouTube_music|}}}|[[File:YouTube_music_logo.svg|20x20px|frameless|class=noviewer|link={{{YouTube_music}}}|alt=YouTube_music]]}}{{#if: {{{Facebook|}}}|[[File:Facebook Icon (2019).svg|20x20px|frameless|class=noviewer|link={{{Facebook}}}|alt=Facebook]]}}{{#if: {{{Spotify|}}}|[[File:Spotify Ikon.svg|20x20px|frameless|class=noviewer|link={{{Spotify}}}|alt=Spotify]]}}{{#if: {{{Apple_Music|}}}|[[File:Apple Music Ikon.svg|20x20px|frameless|class=noviewer|link={{{Apple_Music}}}|alt=Apple Music]]}}{{#if: {{{SoundCloud|}}}|[[File:Soundcloud logo.svg|20x20px|frameless|class=noviewer|link={{{SoundCloud}}}|alt=SoundCloud]]}}{{#if: {{{Bandcamp|}}}|[[File:Bandcamp logo.svg|20x20px|frameless|class=noviewer|link={{{Bandcamp}}}|alt=Bandcamp]]}}{{#if: {{{Twitch|}}}|[[File:Twitch logo.svg|20x20px|frameless|class=noviewer|link={{{Twitch}}}|alt=Twitch]]}}{{#if: {{{Imbd|}}}|[[File:Imbd icon.svg|20x20px|frameless|class=noviewer|link={{{Imbd}}}|alt=Imdb]]}}{{#if: {{{MusicBrainz|}}}|[[File: MusicBrainz icon.svg|20x20px|frameless|class=noviewer|link={{{MusicBrainz}}}|alt=MusicBrainz]]}}{{#if: {{{Pinterest|}}}|[[File: Pinterest Ikon.svg|20x20px|frameless|class=noviewer|link={{{Pinterest}}}|alt=Pinterest]]}}</div>
| <tr>
</td>
<th colspan="12" class="infobox-header">Cuplikan Lagu</th>
</tr>
}}
 
</table></includeonly><noinclude>
{{#if: {{{song|}}}
{{Documentation}}
| <tr>
[[Kategori:Templat Infobox|Seniman musik]]
<td colspan="2" style="text-align: center; padding: 70;"> [[File:{{{song}}}]]
</td>
</tr>
}}
 
<tr>
<td colspan="2" style="text-align: center; padding: 10px; background: #f8f9fa; border-top: 1px solid #a2a9b1;">
<div class="plainlinks" style="display: flex; justify-content: center; flex-wrap: wrap; gap: 5px;">
{{#if: {{{instagram|}}} | [https://www.instagram.com/{{{instagram}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #e1306c; color: #e1306c; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">IG</span>] }}
{{#if: {{{twitter|}}} | [https://twitter.com/{{{twitter}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #000; color: #000; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">X</span>] }}
{{#if: {{{youtube|}}} | [https://www.youtube.com/@{{{youtube}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #ff0000; color: #ff0000; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">YT</span>] }}
{{#if: {{{facebook|}}} | [https://www.facebook.com/{{{facebook}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #1877f2; color: #1877f2; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">FB</span>] }}
{{#if: {{{tiktok|}}} | [https://www.tiktok.com/@{{{tiktok}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #000; color: #000; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">TK</span>] }}
{{#if: {{{threads|}}} | [https://www.threads.net/@{{{threads}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #000; color: #000; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">TH</span>] }}
{{#if: {{{spotify|}}} | [https://open.spotify.com/artist/{{{spotify}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #1DB954; color: #1DB954; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">SP</span>] }}
{{#if: {{{apple_music|}}} | [https://music.apple.com/artist/{{{apple_music}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #fa243c; color: #fa243c; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">AM</span>] }}
{{#if: {{{soundcloud|}}} | [https://soundcloud.com/{{{soundcloud}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #ff5500; color: #ff5500; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">SC</span>] }}
{{#if: {{{joox|}}} | [https://www.joox.com/id/artist/{{{joox}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #00d359; color: #00d359; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">JX</span>] }}
{{#if: {{{deezer|}}} | [https://www.deezer.com/artist/{{{deezer}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #ef5464; color: #ef5464; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">DZ</span>] }}
{{#if: {{{imdb|}}} | [https://www.imdb.com/name/{{{imdb}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #f5c518; color: #f5c518; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">IM</span>] }}
{{#if: {{{tmdb|}}} | [https://www.themoviedb.org/person/{{{tmdb}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #01b4e4; color: #01b4e4; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">TM</span>] }}
{{#if: {{{rotten_tomatoes|}}} | [https://www.rottentomatoes.com/celebrity/{{{rotten_tomatoes}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #fa320a; color: #fa320a; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">RT</span>] }}
{{#if: {{{line|}}} | [https://line.me/ti/p/~{{{line}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #00b900; color: #00b900; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">LN</span>] }}
{{#if: {{{telegram|}}} | [https://t.me/{{{telegram}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #0088cc; color: #0088cc; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">TG</span>] }}
{{#if: {{{twitch|}}} | [https://www.twitch.tv/{{{twitch}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #9146ff; color: #9146ff; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">TW</span>] }}
{{#if: {{{discord|}}} | [https://discord.gg/{{{discord}}} <span style="display: inline-block; width: 28px; height: 28px; line-height: 26px; border: 1px solid #5865f2; color: #5865f2; border-radius: 4px; background: #fff; font-size: 9px; font-weight: bold; font-family: sans-serif;">DC</span>] }}
</div>
</td>
</tr>
 
</table><noinclude>
 
== Dokumentasi ==
 
Template ini di pakai untuk membuat infobox artikel tentang seorang artis musik atau seorang musisi ( penyanyi )
{{Notice modul lua}}
=== Cara penggunaan ===
Salin kode ini ke artikel :
 
<pre>
{{Infobox musical artist
| name =
| image =
| image_caption =
| background_information = yes
| birth_name =
| orther_name =
| birth =
| place_of_birth =
| year_of_birth =
| origin =
| date_of_death =
| nationality =
| genres =
| work =
| instrument =
| active_year =
| label =
| related_artists =
| website =
| personal_information = yes
| older_brother =
| younger_brother =
| partner =
| song_excerpt = yes
| song =
}}
</pre>
{{Prohibition notice}}
</noinclude>