Jump to content

Template:Infobox Musician: Difference between revisions

From Musician Wiki
Created page with "<noinclude> == Usage == Copy the following into your article and fill in the fields you need. Fields left blank will not display. <pre> {{Infobox Musician | name = | image = | image_size = | image_upright = | alt = | caption = | birth_name = | alias = | birth_date = | birth_place = | death_date = | death_place = | origin = | genre = | occupation = | in..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 35: Line 35:
</noinclude><includeonly>{{#if:
</noinclude><includeonly>{{#if:
{{{name|}}}{{{image|}}}{{{birth_name|}}}{{{alias|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{origin|}}}{{{genre|}}}{{{occupation|}}}{{{instrument|}}}{{{years_active|}}}{{{label|}}}{{{associated_acts|}}}{{{website|}}}{{{current_members|}}}{{{past_members|}}}|
{{{name|}}}{{{image|}}}{{{birth_name|}}}{{{alias|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{origin|}}}{{{genre|}}}{{{occupation|}}}{{{instrument|}}}{{{years_active|}}}{{{label|}}}{{{associated_acts|}}}{{{website|}}}{{{current_members|}}}{{{past_members|}}}|
<table class="infobox biography vcard" style="width:22em; text-align:left; font-size:88%; line-height:1.5em;">
<table class="infobox biography vcard" style="float:right; clear:right; margin:0 0 1em 1em; width:22em; text-align:left; font-size:88%; line-height:1.5em; border:1px solid #aaa; border-collapse:collapse; background:#f8f9fa;">


{{#if:{{{name|}}}|
{{#if:{{{name|}}}|
<caption class="infobox-title fn" style="font-size:125%; font-weight:bold; text-align:center; padding:5px;">
<tr>
{{{name}}}
<th colspan="2" style="font-size:125%; font-weight:bold; text-align:center; padding:6px; border-bottom:1px solid #aaa; background:#eaecf0;">{{{name}}}</th>
</caption>
</tr>
}}
}}


{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
<tr><td colspan="2" style="text-align:center; padding:5px 0;">
<tr><td colspan="2" style="text-align:center; padding:6px; border-bottom:1px solid #aaa;">
[[File:{{{image}}}|{{{image_size|220px}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}]]
[[File:{{{image}}}|{{{image_size|220px}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}]]
{{#if:{{{caption|}}}|<br/><span style="font-size:90%;">{{{caption}}}</span>}}
{{#if:{{{caption|}}}|<br/><span style="font-size:90%;">{{{caption}}}</span>}}
Line 52: Line 52:
{{#if:{{{birth_name|}}}|
{{#if:{{{birth_name|}}}|
<tr>
<tr>
<th scope="row" style="padding-right:0.5em; white-space:nowrap;">Birth name</th>
<th scope="row" style="padding:4px 6px; white-space:nowrap; border:1px solid #aaa; background:#eaecf0; vertical-align:top;">Birth name</th>
<td>{{{birth_name}}}</td>
<td style="padding:4px 6px; border:1px solid #aaa;">{{{birth_name}}}</td>
</tr>
</tr>
}}
}}
Line 59: Line 59:
{{#if:{{{alias|}}}|
{{#if:{{{alias|}}}|
<tr>
<tr>
<th scope="row" style="padding-right:0.5em; white-space:nowrap;">Also known as</th>
<th scope="row" style="padding:4px 6px; white-space:nowrap; border:1px solid #aaa; background:#eaecf0; vertical-align:top;">Also known as</th>
<td>{{{alias}}}</td>
<td style="padding:4px 6px; border:1px solid #aaa;">{{{alias}}}</td>
</tr>
</tr>
}}
}}
Line 66: Line 66:
{{#if:{{{birth_date|}}}|
{{#if:{{{birth_date|}}}|
<tr>
<tr>
<th scope="row" style="padding-right:0.5em; white-space:nowrap;">Born</th>
<th scope="row" style="padding:4px 6px; white-space:nowrap; border:1px solid #aaa; background:#eaecf0; vertical-align:top;">Born</th>
<td>{{{birth_date}}}{{#if:{{{birth_place|}}}|<br/>{{{birth_place}}}}}</td>
<td style="padding:4px 6px; border:1px solid #aaa;">{{{birth_date}}}{{#if:{{{birth_place|}}}|<br/>{{{birth_place}}}}}</td>
</tr>
</tr>
}}
}}
Line 73: Line 73:
{{#if:{{{death_date|}}}|
{{#if:{{{death_date|}}}|
<tr>
<tr>
<th scope="row" style="padding-right:0.5em; white-space:nowrap;">Died</th>
<th scope="row" style="padding:4px 6px; white-space:nowrap; border:1px solid #aaa; background:#eaecf0; vertical-align:top;">Died</th>
<td>{{{death_date}}}{{#if:{{{death_place|}}}|<br/>{{{death_place}}}}}</td>
<td style="padding:4px 6px; border:1px solid #aaa;">{{{death_date}}}{{#if:{{{death_place|}}}|<br/>{{{death_place}}}}}</td>
</tr>
</tr>
}}
}}
Line 80: Line 80:
{{#if:{{{origin|}}}|
{{#if:{{{origin|}}}|
<tr>
<tr>
<th scope="row" style="padding-right:0.5em; white-space:nowrap;">Origin</th>
<th scope="row" style="padding:4px 6px; white-space:nowrap; border:1px solid #aaa; background:#eaecf0; vertical-align:top;">Origin</th>
<td>{{{origin}}}</td>
<td style="padding:4px 6px; border:1px solid #aaa;">{{{origin}}}</td>
</tr>
</tr>
}}
}}
Line 87: Line 87:
{{#if:{{{genre|}}}|
{{#if:{{{genre|}}}|
<tr>
<tr>
<th scope="row" style="padding-right:0.5em; white-space:nowrap;">Genre(s)</th>
<th scope="row" style="padding:4px 6px; white-space:nowrap; border:1px solid #aaa; background:#eaecf0; vertical-align:top;">Genre(s)</th>
<td>{{{genre}}}</td>
<td style="padding:4px 6px; border:1px solid #aaa;">{{{genre}}}</td>
</tr>
</tr>
}}
}}
Line 94: Line 94:
{{#if:{{{occupation|}}}|
{{#if:{{{occupation|}}}|
<tr>
<tr>
<th scope="row" style="padding-right:0.5em; white-space:nowrap;">Occupation(s)</th>
<th scope="row" style="padding:4px 6px; white-space:nowrap; border:1px solid #aaa; background:#eaecf0; vertical-align:top;">Occupation(s)</th>
<td>{{{occupation}}}</td>
<td style="padding:4px 6px; border:1px solid #aaa;">{{{occupation}}}</td>
</tr>
</tr>
}}
}}
Line 101: Line 101:
{{#if:{{{instrument|}}}|
{{#if:{{{instrument|}}}|
<tr>
<tr>
<th scope="row" style="padding-right:0.5em; white-space:nowrap;">Instrument(s)</th>
<th scope="row" style="padding:4px 6px; white-space:nowrap; border:1px solid #aaa; background:#eaecf0; vertical-align:top;">Instrument(s)</th>
<td>{{{instrument}}}</td>
<td style="padding:4px 6px; border:1px solid #aaa;">{{{instrument}}}</td>
</tr>
</tr>
}}
}}
Line 108: Line 108:
{{#if:{{{years_active|}}}|
{{#if:{{{years_active|}}}|
<tr>
<tr>
<th scope="row" style="padding-right:0.5em; white-space:nowrap;">Years active</th>
<th scope="row" style="padding:4px 6px; white-space:nowrap; border:1px solid #aaa; background:#eaecf0; vertical-align:top;">Years active</th>
<td>{{{years_active}}}</td>
<td style="padding:4px 6px; border:1px solid #aaa;">{{{years_active}}}</td>
</tr>
</tr>
}}
}}
Line 115: Line 115:
{{#if:{{{label|}}}|
{{#if:{{{label|}}}|
<tr>
<tr>
<th scope="row" style="padding-right:0.5em; white-space:nowrap;">Label(s)</th>
<th scope="row" style="padding:4px 6px; white-space:nowrap; border:1px solid #aaa; background:#eaecf0; vertical-align:top;">Label(s)</th>
<td>{{{label}}}</td>
<td style="padding:4px 6px; border:1px solid #aaa;">{{{label}}}</td>
</tr>
</tr>
}}
}}
Line 122: Line 122:
{{#if:{{{associated_acts|}}}|
{{#if:{{{associated_acts|}}}|
<tr>
<tr>
<th scope="row" style="padding-right:0.5em; white-space:nowrap;">Associated acts</th>
<th scope="row" style="padding:4px 6px; white-space:nowrap; border:1px solid #aaa; background:#eaecf0; vertical-align:top;">Associated acts</th>
<td>{{{associated_acts}}}</td>
<td style="padding:4px 6px; border:1px solid #aaa;">{{{associated_acts}}}</td>
</tr>
</tr>
}}
}}
Line 129: Line 129:
{{#if:{{{website|}}}|
{{#if:{{{website|}}}|
<tr>
<tr>
<th scope="row" style="padding-right:0.5em; white-space:nowrap;">Website</th>
<th scope="row" style="padding:4px 6px; white-space:nowrap; border:1px solid #aaa; background:#eaecf0; vertical-align:top;">Website</th>
<td>{{{website}}}</td>
<td style="padding:4px 6px; border:1px solid #aaa;">{{{website}}}</td>
</tr>
</tr>
}}
}}
Line 136: Line 136:
{{#if:{{{current_members|}}}|
{{#if:{{{current_members|}}}|
<tr>
<tr>
<th scope="row" style="padding-right:0.5em; white-space:nowrap; vertical-align:top;">Members</th>
<th scope="row" style="padding:4px 6px; white-space:nowrap; border:1px solid #aaa; background:#eaecf0; vertical-align:top;">Members</th>
<td>{{{current_members}}}</td>
<td style="padding:4px 6px; border:1px solid #aaa;">{{{current_members}}}</td>
</tr>
</tr>
}}
}}
Line 143: Line 143:
{{#if:{{{past_members|}}}|
{{#if:{{{past_members|}}}|
<tr>
<tr>
<th scope="row" style="padding-right:0.5em; white-space:nowrap; vertical-align:top;">Past members</th>
<th scope="row" style="padding:4px 6px; white-space:nowrap; border:1px solid #aaa; background:#eaecf0; vertical-align:top;">Past members</th>
<td>{{{past_members}}}</td>
<td style="padding:4px 6px; border:1px solid #aaa;">{{{past_members}}}</td>
</tr>
</tr>
}}
}}

Latest revision as of 16:01, 19 April 2026

Usage

[edit]

Copy the following into your article and fill in the fields you need. Fields left blank will not display.

{{Infobox Musician
| name            = 
| image           = 
| image_size      = 
| image_upright   = 
| alt             = 
| caption         = 
| birth_name      = 
| alias           = 
| birth_date      = 
| birth_place     = 
| death_date      = 
| death_place     = 
| origin          = 
| genre           = 
| occupation      = 
| instrument      = 
| years_active    = 
| label           = 
| associated_acts = 
| website         = 
| current_members = 
| past_members    = 
}}

All fields are optional. Use

* item

for multi-value fields like genre, label, instrument, current_members, and past_members.