Template:Infobox musical artist: Difference between revisions
Appearance
No edit summary Tags: Manual revert Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit |
||
| Line 1: | Line 1: | ||
<table class="infobox vcard" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; border: 1px solid #a2a9b1; background-color: #f8f9fa; padding: 5px;"> | |||
| | {{#if: {{{name|}}} | ||
| | | <caption class="infobox-title fn" style="font-size: 125%; font-weight: bold; text-align: center; padding: 5px; background-color: #f0e68c; color: black;">{{{name}}}</caption> | ||
}} | |||
{{#if: {{{image|}}} | |||
| | | <tr> | ||
<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> | |||
</tr> | |||
}} | |||
{{#if: {{{birth_name|}}} | |||
| <tr> | |||
<th class="infobox-label" style="width: 40%; vertical-align: top;">Birth name</th> | |||
<td class="infobox-data nickname" style="width: 60%;">{{{birth_name}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{birth_date|}}} | |||
| <tr> | |||
<th class="infobox-label" style="vertical-align: top;">Born</th> | |||
<td class="infobox-data"> | |||
{{{birth_date}}}<br /> | |||
{{#if: {{{birth_place|}}} | <span class="birthplace">{{{birth_place}}}</span> }} | |||
</td> | |||
</tr> | |||
}} | }} | ||
| | {{#if: {{{death_date|}}} | ||
| <tr> | |||
<th class="infobox-label" style="vertical-align: top;">Died</th> | |||
<td class="infobox-data"> | |||
{{{death_date}}}<br /> | |||
{{#if: {{{death_place|}}} | <span class="deathplace">{{{death_place}}}</span> }} | |||
</td> | |||
</tr> | |||
}} | |||
{{#if: {{{residence|}}} | |||
| <tr> | |||
| | <th class="infobox-label" style="vertical-align: top;">Residence</th> | ||
<td class="infobox-data">{{{residence}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{nationality|}}} | |||
| <tr> | |||
<th class="infobox-label" style="vertical-align: top;">Nationality</th> | |||
<td class="infobox-data">{{{nationality}}}</td> | |||
</tr> | |||
}} | }} | ||
{{#if: {{{religion|}}} | |||
| <tr> | |||
<th class="infobox-label" style="vertical-align: top;">Religion</th> | |||
<td class="infobox-data">{{{religion}}}</td> | |||
</tr> | |||
}} | }} | ||
| | {{#if: {{{genre|}}} | ||
| <tr> | |||
<th colspan="2" class="infobox-header" style="text-align: center; background-color: #f9f4c6; font-weight: bold; padding: 3px;">Musical career</th> | |||
</tr> | |||
<tr> | |||
<th class="infobox-label" style="vertical-align: top;">Genres</th> | |||
<td class="infobox-data">{{{genre}}}</td> | |||
</tr> | |||
}} | |||
| | {{#if: {{{occupation|}}} | ||
| <tr> | |||
<th class="infobox-label" style="vertical-align: top;">Occupations</th> | |||
<td class="infobox-data role">{{{occupation}}}</td> | |||
</tr> | |||
}} | |||
| | {{#if: {{{instruments|}}} | ||
| <tr> | |||
<th class="infobox-label" style="vertical-align: top;">Instruments</th> | |||
<td class="infobox-data note">{{{instruments}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{years_active|}}} | |||
| <tr> | |||
<th class="infobox-label" style="vertical-align: top;">Years active</th> | |||
<td class="infobox-data">{{{years_active}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{label|}}} | |||
| <tr> | |||
<th class="infobox-label" style="vertical-align: top;">Labels</th> | |||
<td class="infobox-data">{{{label}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{groups|}}} | |||
| <tr> | |||
<th class="infobox-label" style="vertical-align: top;">Member of</th> | |||
<td class="infobox-data">{{{groups}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{associated_acts|}}} | |||
| | | <tr> | ||
<th class="infobox-label" style="vertical-align: top;">Associated acts</th> | |||
<td class="infobox-data">{{{associated_acts}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{website|}}} | |||
| | | <tr> | ||
<th class="infobox-label" style="vertical-align: top;">Website</th> | |||
<td class="infobox-data">{{{website}}}</td> | |||
</tr> | |||
}} | |||
</table><noinclude> | |||
{{Documentation}} | |||
[[Category:People and person infobox templates]] | |||
[[Category:Music infobox templates]] | |||
</noinclude> | |||
Revision as of 15:04, 26 September 2026
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Template documentation
This page provides documentation for the parent template. It is not meant to be transcluded directly into standard encyclopedia articles.
Editors can experiment in this template's sandbox and testcases pages, if they exist.
Please add categories and interwiki links to the bottom of this subpage.
This template is an infobox for musical artists, singers, and musicians. It uses a standard khaki header background (#f0e68c), which is the traditional color used on Wikipedia to denote solo musical artists.
Usage
Copy and paste the blank template below into an article and fill in the desired fields. Any fields left blank will automatically be hidden.
{{Infobox musical artist
| name =
| birth_name =
| image =
| image_caption =
| birth_date = <!-- Use {{Birth date and age|YYYY|MM|DD}} -->
| birth_place =
| death_date =
| death_place =
| residence =
| nationality =
| religion =
| genre =
| occupation =
| instruments =
| years_active =
| label =
| groups =
| associated_acts =
| website =
}}
Example
See the Rumi Haitami article for a live example of this template in action.