Template:Infobox musician: Difference between revisions

The Free Encyclopedia of Bharat
Jump to navigation Jump to search
m Removed gradient styling for clean look
Created Infobox musician template with professional styling and verified badge support.
 
Line 1: Line 1:
{| class="infobox biography vcard" style="width:22em; text-align:left; font-size:90%; border:1px solid #aaa; background:#f9f9f9;"
{| class="infobox biography vcard" style="width:25em; text-align:left; font-size:90%; border:1px solid #aaa; background:#f9f9f9; float:right; margin:0 0 1em 1em; clear:right; border-collapse:collapse;"
! colspan="2" style="font-size:125%; font-weight:bold; background-color:#f8f9fa; color:#000; padding:5px; text-align:center;" class="fn" | {{{name|{{PAGENAME}}}}}{{#if:{{{verified|}}}| <span class="verified-badge"></span>}}
! colspan="2" style="font-size:125%; font-weight:bold; background-color:#f8f9fa; color:#000; padding:8px 5px; text-align:center;" class="fn" | {{{name|{{{Name|{{PAGENAME}}}}}}}}{{#if:{{{verified|{{{Verified|}}}}}}| <span class="verified-badge"></span>}}
|-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|{{{Image|}}}}}}|
{{!}} colspan="2" style="text-align:center; padding:5px;" {{!}} [[File:{{{image}}}|220px]]
{{!}} colspan="2" style="text-align:center; padding:15px; border-bottom:1px solid #ddd;" {{!}} [[File:{{{image|{{{Image}}}}}}|250px]]
{{!}}-
{{!}}-
}}
}}
{{#if:{{{birth_name|}}}|
{{#if:{{{caption|{{{Caption|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Birth Name
{{!}} colspan="2" style="text-align:center; font-size:90%; border-bottom:1px solid #ddd; padding:5px;" {{!}} {{{caption|{{{Caption}}}}}}
{{!}} style="padding:4px 8px;" {{!}} {{{birth_name}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{birth_date|}}}|
{{#if:{{{birth_name|{{{Birth_name|{{{Birth Name|}}}}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Born
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Birth Name
{{!}} style="padding:4px 8px;" {{!}} {{{birth_date}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{birth_name|{{{Birth_name|{{{Birth Name}}}}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{origin|}}}|
{{#if:{{{birth_date|{{{Birth_date|{{{Birth Date|}}}}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Origin
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Born
{{!}} style="padding:4px 8px;" {{!}} {{{origin}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{birth_date|{{{Birth_date|{{{Birth Date}}}}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{genres|}}}|
{{#if:{{{origin|{{{Origin|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Genres
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Origin
{{!}} style="padding:4px 8px;" {{!}} {{{genres}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{origin|{{{Origin}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{occupation|}}}|
{{#if:{{{genres|{{{Genres|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Occupation
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Genres
{{!}} style="padding:4px 8px;" {{!}} {{{occupation}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{genres|{{{Genres}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{instruments|}}}|
{{#if:{{{occupation|{{{Occupation|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Instruments
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Occupation
{{!}} style="padding:4px 8px;" {{!}} {{{instruments}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{occupation|{{{Occupation}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{years_active|}}}|
{{#if:{{{instruments|{{{Instruments|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Years Active
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Instruments
{{!}} style="padding:4px 8px;" {{!}} {{{years_active}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{instruments|{{{Instruments}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{labels|}}}|
{{#if:{{{years_active|{{{Years_active|{{{Years Active|}}}}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Labels
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Years Active
{{!}} style="padding:4px 8px;" {{!}} {{{labels}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{years_active|{{{Years_active|{{{Years Active}}}}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{website|}}}|
{{#if:{{{labels|{{{Labels|}}}}}}|
! style="background:#e8e8e8; padding:4px 8px;" {{!}} Website
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Labels
{{!}} style="padding:4px 8px;" {{!}} {{{website}}}
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{labels|{{{Labels}}}}}}
{{!}}-
}}
{{#if:{{{website|{{{Website|}}}}}}|
! style="background:#e8e8e8; padding:6px 8px; width:35%; border-bottom:1px solid #ddd;" {{!}} Website
{{!}} style="padding:6px 8px; border-bottom:1px solid #ddd;" {{!}} {{{website|{{{Website}}}}}}
{{!}}-
{{!}}-
}}
}}
|}
|}
{{#if:{{{verified|}}}|[[Category:Verified profiles]]}}
{{#if:{{{verified|{{{Verified|}}}}}}|[[Category:Verified profiles]]}}
<noinclude>
<noinclude>
== Usage ==
{{Documentation}}
<pre>
{{Infobox musician
| name = Artist Name
| image = image.jpg
| verified = yes
| birth_name = Full Legal Name
| birth_date = Month Day, Year
| origin = City, Country
| genres = Pop, Rock
| occupation = Singer, Songwriter
| instruments = Vocals, Guitar, Piano
| years_active = 2015–present
| labels = Record Label Name
| website = [https://example.com Official Website]
}}
</pre>
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 18:43, 20 February 2026

Infobox musician


Template:Documentation