Jump to content

Template:Artist: Difference between revisions

From wiki
Add musician photos (Wikimedia Commons, freely licensed)
Fix: image and Died row broken by ParserFunctions pipe-splitting bug
 
Line 38: Line 38:
|-
|-
! colspan="2" style="background:#1d3f8f; color:#fff; font-size:115%" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="background:#1d3f8f; color:#fff; font-size:115%" | {{{name|{{PAGENAME}}}}}
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center; padding:4px">[[File:{{{image}}}|220px]]</td></tr>}}
|-
| colspan="2" style="text-align:center; padding:4px" | [[File:{{{image}}}|220px]]
}}
|-
|-
! style="text-align:left" | Born
! style="text-align:left" | Born
| {{{born|}}}{{#if:{{{city|}}}|<br>[[{{{city}}}]]|{{#if:{{{birthplace|}}}|<br>{{{birthplace}}}|}}}}
| {{{born|}}}{{#if:{{{city|}}}|<br>[[{{{city}}}]]|{{#if:{{{birthplace|}}}|<br>{{{birthplace}}}|}}}}
{{#if:{{{died|}}}|<tr><th style="text-align:left">Died</th><td>{{{died}}}</td></tr>}}
|-
|-
{{#if:{{{died|}}}|! style="text-align:left" | Died
! style="text-align:left" | Instruments
| {{{died}}}
|-|}}! style="text-align:left" | Instruments
| {{{instruments|}}}
| {{{instruments|}}}
|-
|-

Latest revision as of 21:50, 13 July 2026

This template stores data about a person (musician) in the Artists Cargo table.

Usage:

{{Artist
|name=
|born=
|died=
|birthplace=
|instruments=
|roles=
|groups=
|image=
}}

This template defines the table "Artists". View table.