Templat:Infobox musical artist: Perbedaan antara revisi

Tanda: Suntingan perangkat seluler Suntingan peramban seluler
Tidak ada ringkasan suntingan
Tanda: Suntingan perangkat seluler Suntingan peramban seluler
 
(83 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 1: Baris 1:
<table class="infobox">
<includeonly><table class="infobox" style="width: 24em; border: 1px solid #a2a9b1; background-color: #f8f9fa; margin-bottom: 0.5em; margin-left: 1em; float: right; clear: right; font-size: 88%; line-height: 1.5em; border-spacing: 2px;">
   
 
{{#if: {{{name|}}}
{{#if: {{{name|}}} |
| <caption class="infobox-title" style="font-size: 65%;">{{{name}}}</caption>
<tr>
    <th colspan="2" style="text-align: center; font-size: 107%; font-weight: bold; padding: 10px; color: #000; background-color: {{#switch: {{lc:{{{work|}}}}}
      | penyanyi | musisi | band = #fbc2eb
    }};">{{{name|}}}</th>
</tr>
}}
}}


{{#if: {{{image|}}}
{{#if: {{{image|}}}
| <tr>
| <tr>
     <td colspan="2" style="text-align: center; padding: 70;"> [[File:{{{image}}}]]
     <td colspan="2" style="text-align: center; padding: 10px;">  
      [[File:{{{image}}}|250px|center|alt={{{image_caption|}}}]]
      {{#if: {{{image_caption|}}}
      | <div style="font-size: 85%; line-height: 1.5em; padding-top: 5px;">{{{image_caption}}}</div>
      }}
     </td>
     </td>
   </tr>
   </tr>
Baris 46: Baris 54:
}}
}}


{{#if: {{{year_of_birth|}}}
{{#if: {{{birth_date|}}}
| <tr>
| <tr>
    <th class="infobox-label">Usia</th>
<th class="infobox-label">Usia</th>
    <td class="infobox-data">{{#expr: {{CURRENTYEAR}} - {{{year_of_birth}}}}} tahun</td>
<td class="infobox-data">{{#expr:{{CURRENTYEAR}}-{{#time:Y|{{{birth_date}}}}}-({{#time:md|{{CURRENTTIMESTAMP}}}}<{{#time:md|{{{birth_date}}}}})}} tahun</td>
</tr>
</tr>
}}
}}
Baris 60: Baris 68:
}}
}}


{{#if: {{{date_of_death|}}}
{{#if: {{{death_date|}}}
| <tr>
| <tr>
    <th class="infobox-label">Meninggal</th>
<th class="infobox-label">Meninggal</th>
    <td class="infobox-data">{{{date_of_death}}}</td>
<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>
</tr>
}}
}}
Baris 70: Baris 78:
| <tr>
| <tr>
     <th class="infobox-label">Kebangsaan</th>
     <th class="infobox-label">Kebangsaan</th>
     <td class="infobox-data">{{{nationality}}}</td>
     <td class="infobox-data">
    {{#switch: {{lc:{{{nationality}}}}}
    | afghanistan | af = 🇦🇫 Afghanistan | albania | al = 🇦🇱 Albania | aljazair | dz = 🇩🇿 Aljazair | andorra | ad = 🇦🇩 Andorra | angola | ao = 🇦🇴 Angola | antigua | ag = 🇦🇬 Antigua & Barbuda | argentina | ar = 🇦🇷 Argentina | armenia | am = 🇦🇲 Armenia | australia | au = 🇦🇺 Australia | austria | at = 🇦🇹 Austria | azerbaijan | az = 🇦🇿 Azerbaijan
    | bahama | bs = 🇧🇸 Bahama | bahrain | bh = 🇧🇭 Bahrain | bangladesh | bd = 🇧🇩 Bangladesh | barbados | bb = 🇧🇧 Barbados | belanda | nl | netherlands = 🇳🇱 Belanda | belarus | by = 🇧🇾 Belarus | belgia | be = 🇧🇪 Belgia | belize | bz = 🇧🇿 Belize | benin | bj = 🇧🇯 Benin | bhutan | bt = 🇧🇹 Bhutan | bolivia | bo = 🇧🇴 Bolivia | bosnia | ba = 🇧🇦 Bosnia & Herzegovina | botswana | bw = 🇧🇼 Botswana | brasil | brazil | br = 🇧🇷 Brasil | britania | uk | gb | inggris = 🇬🇧 Britania Raya | brunei | bn = 🇧🇳 Brunei Darussalam | bulgaria | bg = 🇧🇬 Bulgaria | burkina faso | bf = 🇧🇫 Burkina Faso | burundi | bi = 🇧🇮 Burundi
    | ceko | cz = 🇨🇿 Ceko | chad | td = 🇹🇩 Chad | chile | cl = 🇨🇱 Chile | cina | tiongkok | cn | china = 🇨🇳 Tiongkok | ciprus | cy = 🇨🇾 Ciprus
    | denmark | dk = 🇩🇰 Denmark | djibouti | dj = 🇩🇯 Djibouti | dominika | dm = 🇩🇲 Dominika
    | ekuador | ec = 🇪🇨 Ekuador | el salvador | sv = 🇸🇻 El Salvador | eritrea | er = 🇪🇷 Eritrea | estonia | ee = 🇪🇪 Estonia | etiopia | et = 🇪🇹 Etiopia
    | fiji | fj = 🇫🇯 Fiji | filipina | ph | phil = 🇵🇭 Filipina | finlandia | fi = 🇫🇮 Finlandia | france | prancis | fr = 🇫🇷 Prancis
    | gabon | ga = 🇬🇦 Gabon | gambia | gm = 🇬🇲 Gambia | georgia | ge = 🇬🇪 Georgia | ghana | gh = 🇬🇭 Ghana | grenada | gd = 🇬🇩 Grenada | guatemala | gt = 🇬🇹 Guatemala | guinea | gn = 🇬🇮 Guinea | guyana | gy = 🇬🇾 Guyana
    | haiti | ht = 🇭🇹 Haiti | honduras | hn = 🇭🇭 Honduras | hungaria | hu = 🇭🇺 Hungaria
    | india | in = 🇮🇳 India | indonesia | id | indo = 🇮🇩 Indonesia | irak | iq = 🇮🇶 Irak | iran | ir = 🇮🇷 Iran | irlandia | ie = 🇮🇪 Irlandia | islandia | is = 🇮🇸 Islandia | israel | il = 🇮🇱 Israel | italia | it = 🇮🇹 Italia
    | jamaika | jm = 🇯🇲 Jamaika | jepang | jp | japan = 🇯🇵 Jepang | jerman | de | germany = 🇩🇪 Jerman | jordan | jo = 🇯🇴 Yordania
    | kamboja | kh = 🇰🇭 Kamboja | kamerun | cm = 🇨🇲 Kamerun | kanada | ca | canada = 🇨🇦 Kanada | kazakhstan | kz = 🇰🇿 Kazakhstan | kenya | ke = 🇰🇪 Kenya | kirgizstan | kg = 🇰🇬 Kirgizstan | kiribati | ki = 🇰🇮 Kiribati | kolombia | co = 🇨🇴 Kolombia | komoro | km = 🇰🇲 Komoro | kongo | cg = 🇨🇬 Kongo | korsel | kr | korea selatan = 🇰🇷 Korea Selatan | korut | kp | korea utara = 🇰🇵 Korea Utara | kosta rika | cr = 🇨🇷 Kosta Rika | kroasia | hr = 🇭🇷 Kroasia | kuba | cu = 🇨🇺 Kuba | kuwait | kw = 🇰🇼 Kuwait
    | laos | la = 🇱🇦 Laos | latvia | lv = 🇱🇻 Latvia | lebanon | lb = 🇱🇧 Lebanon | lesotho | ls = 🇱🇸 Lesotho | liberia | lr = 🇱🇮 Liberia | libya | ly = 🇱🇾 Libya | liechtenstein | li = 🇱🇮 Liechtenstein | lituania | lt = 🇱🇹 Lituania | luksemburg | lu = 🇱🇺 Luksemburg
    | madagaskar | mg = 🇲🇬 Madagaskar | makau | mo = 🇲🇴 Makau | makedonia | mk = 🇲🇰 Makedonia Utara | maladewa | mv = 🇲🇻 Maladewa | malawi | mw = 🇲🇼 Malawi | malaysia | my | malay = 🇲🇾 Malaysia | mali | ml = 🇲🇲 Mali | malta | mt = 🇲🇹 Malta | maroko | ma = 🇲🇦 Maroko | mauritius | mu = 🇲🇺 Mauritius | meksiko | mx = 🇲🇽 Meksiko | mesir | eg | egypt = 🇪🇬 Mesir | mikronesia | fm = 🇫🇲 Mikronesia | moldova | md = 🇲🇩 Moldova | monako | mc = 🇲🇨 Monako | mongolia | mn = 🇲🇳 Mongolia | montenegro | me = 🇲🇪 Montenegro | mozambik | mz = 🇲🇿 Mozambik | myanmar | mm = 🇲🇲 Myanmar
    | namibia | na = 🇳🇦 Namibia | nauru | nr = 🇳🇷 Nauru | nepal | np = 🇳🇵 Nepal | niger | ne = 🇳🇪 Niger | nigeria | ng = 🇳🇬 Nigeria | nikaragua | ni = 🇳🇮 Nikaragua | norwegia | no = 🇳🇴 Norwegia
    | oman | om = 🇴🇲 Oman
    | pakistan | pk = 🇵🇰 Pakistan | palau | pw = 🇵🇼 Palau | palestina | ps = 🇵🇸 Palestina | panama | pa = 🇵🇦 Panama | papua nugini | pg = 🇵🇬 Papua Nugini | paraguay | py = 🇵🇾 Paraguay | peru | pe = 🇵🇪 Peru | polandia | pl = 🇵🇱 Polandia | portugal | pt = 🇵🇹 Portugal
    | qatar | qa = 🇶🇦 Qatar
    | romania | ro = 🇷🇴 Romania | rusia | ru = 🇷🇺 Rusia | rwanda | rw = 🇷🇼 Rwanda
    | saint kitts | kn = 🇰🇳 Saint Kitts & Nevis | samoa | ws = 🇼🇸 Samoa | san marino | sm = 🇸🇲 San Marino | selandia baru | nz = 🇳🇿 Selandia Baru | senegal | sn = 🇸🇳 Senegal | serbia | rs = 🇷🇸 Serbia | seychelles | sc = 🇸🇨 Seychelles | sierra leone | sl = 🇸🇱 Sierra Leone | singapura | sg = 🇸🇬 Singapura | siprus | cy = 🇨🇾 Ciprus | slovenia | si = 🇸🇮 Slovenia | somalia | so = 🇸🇴 Somalia | spanyol | es = 🇪🇸 Spanyol | sri lanka | lk = 🇱🇰 Sri Lanka | sudan | sd = 🇸🇩 Sudan | suriah | sy = 🇸🇾 Suriah | suriname | sr = 🇸🇷 Suriname | swedia | se = 🇸🇪 Swedia | swiss | ch = 🇨🇭 Swiss
    | taiwan | tw = 🇹🇼 Taiwan | tajikistan | tj = 🇹🇯 Tajikistan | tanjung verde | cv = 🇨🇻 Tanjung Verde | tanzania | tz = 🇹🇿 Tanzania | thailand | th = 🇹🇭 Thailand | timor leste | tl = 🇹🇱 Timor Leste | togo | tg = 🇹🇬 Togo | tonga | to = 🇹🇴 Tonga | tunisia | tn = 🇹🇳 Tunisia | turki | tr = 🇹🇷 Turki | turkmenistan | tm = 🇹🇲 Turkmenistan
    | uganda | ug = 🇺🇬 Uganda | ukraina | ua = 🇺🇦 Ukraina | uea | uae | emirate = 🇦🇪 Uni Emirat Arab | uruguay | uy = 🇺🇾 Uruguay | usa | us | amerika = 🇺🇸 Amerika Serikat | uzbekistan | uz = 🇺🇿 Uzbekistan
    | vanuatu | vu = 🇻🇺 Vanuatu | vatikan | va = 🇻🇦 Vatikan | venezuela | ve = 🇻🇪 Venezuela | vietnam | vn = 🇻🇳 Vietnam
    | yaman | ye = 🇾🇪 Yaman | yunani | gr = 🇬🇷 Yunani
    | zambia | zm = 🇿🇦 Zambia | zimbabwe | zw = 🇿🇼 Zimbabwe
    | #default = {{{negara}}}
    }}</td>
</tr>
</tr>
}}
}}
Baris 78: Baris 113:
     <th class="infobox-label">Genre</th>
     <th class="infobox-label">Genre</th>
     <td class="infobox-data">{{{genres}}}</td>
     <td class="infobox-data">{{{genres}}}</td>
</tr>
}}
{{#if: {{{karya|}}}
| <tr>
    <th class="infobox-label">Karya</th>
    <td class="infobox-data">{{{karya}}}</td>
</tr>
</tr>
}}
}}
Baris 97: Baris 139:
{{#if: {{{active_year|}}}
{{#if: {{{active_year|}}}
| <tr>
| <tr>
    <th class="infobox-label">Tahun aktif</th>
<th class="infobox-label">Tahun aktif</th>
    <td class="infobox-data">{{{active_year}}}</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>
</tr>
}}
}}
Baris 163: Baris 205:
}}
}}


</table><noinclude>
{{#if: {{{instagram|}}}{{{twitter|}}}{{{youtube|}}}{{{facebook|}}}{{{tiktok|}}}{{{threads|}}}{{{spotify|}}}{{{apple_music|}}}{{{soundcloud|}}}{{{joox|}}}{{{deezer|}}}{{{imdb|}}}{{{tmdb|}}}{{{rotten_tomatoes|}}}{{{line|}}}{{{telegram|}}}{{{twitch|}}}{{{discord|}}}
 
| <tr>
== Dokumentasi ==
<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;">
Template ini di pakai untuk membuat infobox artikel tentang seorang artis musik atau seorang musisi ( penyanyi )
{{#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>] }}
{{Notice modul lua}}
{{#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>] }}
=== Cara penggunaan ===
{{#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>] }}
Salin kode ini ke artikel :
{{#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>] }}
<pre>
{{#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>] }}
{{Infobox musical artist
{{#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>] }}
| name =  
{{#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>] }}
| image =
{{#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>] }}
| image_caption =
{{#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>] }}
| background_information = yes
{{#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>] }}
| birth_name =  
{{#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>] }}
| orther_name =  
{{#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>] }}
| birth =  
{{#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>] }}
| place_of_birth =  
{{#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>] }}
| year_of_birth =
{{#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>] }}
| origin =
{{#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>] }}
| date_of_death =
{{#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>] }}
| nationality =
</div>
| genres =
</td>
| work =
</tr>
| instrument =
| active_year =
| label =
| related_artists =
| website =
| personal_information = yes
| older_brother =
| younger_brother =
| partner =
| song_excerpt = yes
| song =
}}
}}
</pre>
</table></includeonly><noinclude>
{{Prohibition notice}}
{{:{{FULLPAGENAME}}/doc}}
[[Kategori:Templat Infobox]]
</noinclude>
</noinclude>