Template:Artist: Difference between revisions
Appearance
Seed: data model + example content |
Fix: image and Died row broken by ParserFunctions pipe-splitting bug |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 12: | Line 12: | ||
|roles= | |roles= | ||
|groups= | |groups= | ||
|image= | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 19: | Line 20: | ||
|died=Date | |died=Date | ||
|birthplace=String | |birthplace=String | ||
|city=String | |||
|instruments=List (,) of String | |instruments=List (,) of String | ||
|roles=List (,) of String | |roles=List (,) of String | ||
| Line 29: | Line 31: | ||
|died={{{died|}}} | |died={{{died|}}} | ||
|birthplace={{{birthplace|}}} | |birthplace={{{birthplace|}}} | ||
|city={{{city|}}} | |||
|instruments={{{instruments|}}} | |instruments={{{instruments|}}} | ||
|roles={{{roles|}}} | |roles={{{roles|}}} | ||
| Line 35: | 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|}}}|<tr><td colspan="2" style="text-align:center; padding:4px">[[File:{{{image}}}|220px]]</td></tr>}} | |||
|- | |- | ||
! style="text-align:left" | Born | ! style="text-align:left" | Born | ||
| {{{born|}}}{{#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>}} | |||
|- | |- | ||
! 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.