Jump to content

Template:Infobox musical artist: Difference between revisions

From English Mippedia, general encyclopedia
No edit summary
Tags: Manual revert Reverted Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#invoke:infobox|infoboxTemplate
<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;">
| child      = {{lc:{{{embed|}}}}}


| bodyclass  = vcard plainlist
{{#if: {{{name|}}}
| headerstyle = color: #202122;background-color: #b0c4de
| <caption class="infobox-title fn" style="font-size: 125%; font-weight: bold; text-align: center; padding: 5px; background-color: #f0e68c; color: black;">{{{name}}}</caption>
| autoheaders = y
}}


| title      = {{#ifeq:{{lc:{{{embed|}}}}}|yes|'''Musical career'''}}
{{#if: {{{image|}}}
| decat      = yes <!-- remove from template:infobox tracking categories -->
| <tr>
 
    <td colspan="2" style="text-align: center; padding: 10px;">
| abovestyle  = color: #202122;background-color: #b0c4de; font-size: 125%;
       [[File:{{{image}}}|250px|center|alt={{{image_caption|}}}]]
| above       = {{#ifeq:{{lc:{{{embed|}}}}}|yes||{{#if:{{{name|}}}{{PAGENAMEBASE}}|{{#if:{{{honorific_prefix|}}}|<div class="honorific-prefix" style="font-size: 78%; font-weight: normal;">{{{honorific_prefix|}}}</div>}}<div class="{{Infobox musical artist/hCard class|{{{background|}}}}}">{{if empty|{{{name|}}}|{{PAGENAMEBASE}}}}</div>{{#if:{{{native_name|}}}|<div style="font-weight: normal;">{{#if:{{{native_name_lang|}}}|<div class="nickname" lang="{{{native_name_lang|}}}">}}{{{native_name|}}}{{#if:{{{native_name_lang|}}}|</div>}}</div>}}{{#if:{{{honorific_suffix|}}}|<div class="honorific-suffix" style="font-size: 78%; font-weight: normal;">{{{honorific_suffix|}}}</div>}} |{{BASEPAGENAME}}}}}}
      {{#if: {{{image_caption|}}}
      | <div style="font-size: 85%; line-height: 1.5em; padding-top: 5px;">{{{image_caption}}}</div>
      }}
    </td>
  </tr>
}}


| image      = {{#invoke:InfoboxImage|InfoboxImage
{{#if: {{{birth_name|}}}
| image              = {{{image|}}}
| <tr>
| size                = {{#ifeq:{{lc:{{yesno|{{{landscape|}}}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image_size|}}}}}|300|{{{image_size|}}}}}}}x200px|{{{image_size|}}}}}
    <th class="infobox-label" style="width: 40%; vertical-align: top;">Birth name</th>
| upright            = {{if empty|{{{image_upright|}}}|1}}
    <td class="infobox-data nickname" style="width: 60%;">{{{birth_name}}}</td>
| title              = {{if empty|{{{alt|}}}|{{{caption|}}}}}
</tr>
| alt                = {{{alt|}}}
| suppressplaceholder = yes
| class              = {{{image_class|}}}
}}
}}
| caption    = {{{caption|}}}


| header1     = {{#if:{{{image|}}}|Background information}}
{{#if: {{{Born|{{{Date_of_birth|}}}}}}
| <tr>
    <th class="infobox-label" style="padding: 4px; vertical-align:
top;">Born</th>
     <td class="infobox-data" style="padding: 4px;">{{{Born|{{{Date_of_birth}}}}}}
{{#if: {{{Place_of_birth|}}}
|<br />{{{Place_of_birth}}}}}</td> </tr> }}


| class4      = nickname
{{#if: {{{death_date|}}}
| label4      = {{Nowrap|Also known as}}
| <tr>
| data4      = {{{alias|}}}
    <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>
}}


| label5      = Born
{{#if: {{{residence|}}}
| data5      = {{br separated entries
| <tr>
  |1={{#if:{{{birth_name|}}}|<div style="display:inline" class="nickname">{{{birth_name|}}}</div>}}
    <th class="infobox-label" style="vertical-align: top;">Residence</th>
  |2={{#invoke:person date|birth}}
    <td class="infobox-data">{{{residence}}}</td>
  |3={{#if:{{{birth_place|}}}|<div style="display:inline" class="birthplace">{{{birth_place|}}}</div>}}
</tr>
}}
}}
| label6      = Origin
| data6      = {{{origin|}}}


| label7      = Died
{{#if: {{{nationality|}}}
| data7      = {{br separated entries
| <tr>
| 1 = {{#invoke:person date|death}}
    <th class="infobox-label" style="vertical-align: top;">Nationality</th>
| 2 = {{#if:{{{death_place|}}}|<div class="deathplace">{{{death_place|}}}</div>}}
    <td class="infobox-data">{{{nationality}}}</td>
</tr>
}}
}}


| label8      = Cause of death
{{#if: {{{religion|}}}
| data8      = {{{death_cause|}}}
| <tr>
    <th class="infobox-label" style="vertical-align: top;">Religion</th>
    <td class="infobox-data">{{{religion}}}</td>
</tr>
}}


| label9      = Education
{{#if: {{{genre|}}}
| data9      = {{{education|}}}
| <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>
}}


| label18     = Genres
{{#if: {{{occupation|}}}
| data18      = {{{genre|}}}
| <tr>
     <th class="infobox-label" style="vertical-align: top;">Occupations</th>
    <td class="infobox-data role">{{{occupation}}}</td>
</tr>
}}


| class19    = role
{{#if: {{{instruments|}}}
| label19    = {{#if:{{{occupations|}}}|Occupations|Occupation{{Pluralize from text|{{{occupation|}}}|plural=s}}}}
| <tr>
| data19      = {{if empty|{{{occupations|}}}|{{{occupation|}}}}}
    <th class="infobox-label" style="vertical-align: top;">Instruments</th>
    <td class="infobox-data note">{{{instruments}}}</td>
</tr>
}}


| class20    = note
{{#if: {{{years_active|}}}
| label20    = {{#if:{{{instruments|}}}|Instruments|Instrument{{Pluralize from text|{{{instrument|}}}|plural=s}}}}
| <tr>
| data20      = {{if empty|{{{instruments|}}}|{{{instrument|}}}}}
    <th class="infobox-label" style="vertical-align: top;">Years active</th>
    <td class="infobox-data">{{{years_active}}}</td>
</tr>
}}


| class21    = noprint
{{#if: {{{label|}}}
| label21    = Works
| <tr>
| data21      = {{if empty|{{{discography|}}}|{{{works|}}}}}
    <th class="infobox-label" style="vertical-align: top;">Labels</th>
    <td class="infobox-data">{{{label}}}</td>
</tr>
}}


| label22    = {{Nowrap|Years active}}
{{#if: {{{groups|}}}
| data22      = {{{years_active|}}}
| <tr>
    <th class="infobox-label" style="vertical-align: top;">Member of</th>
    <td class="infobox-data">{{{groups}}}</td>
</tr>
}}


| label23    = Label{{Pluralize from text|{{{label|}}}|plural=s}}
{{#if: {{{associated_acts|}}}
| data23      = {{{label|}}}
| <tr>
    <th class="infobox-label" style="vertical-align: top;">Associated acts</th>
    <td class="infobox-data">{{{associated_acts}}}</td>
</tr>
}}


| label24    = Publisher{{Pluralize from text|{{{publishers|}}}|plural=s}}
{{#if: {{{website|}}}
| data24      = {{{publishers|}}}
| <tr>
 
     <th class="infobox-label" style="vertical-align: top;">Website</th>
| label25     = Member of
     <td class="infobox-data">{{{website}}}</td>
| data25      = {{{current_member_of|}}}
</tr>
 
}}
| label26    = Formerly of
| data26      = {{{past_member_of|}}}
 
| label27    = Spinoffs
| data27      = {{{spinoffs|}}}
 
| label28    = Spinoff of
| data28      = {{{spinoff_of|}}}
 
| label29    = <div class="nowrap">Spouse{{Pluralize from text|{{{spouse|}}}|likely=(s)|plural=s}}</div>
| data29     = {{{spouse|}}}
 
| label40    = <div class="nowrap">Partner{{Pluralize from text|{{{partner|}}}|likely=(s)|plural=s}}</div>
| data40    = {{{partner|}}}
 
| label41    = Award{{Pluralize from text|{{{awards|}}}|plural=s}}
| data41    = {{{awards|}}}
 
| header42    = {{#ifeq:{{lc:{{{embed|}}}}}|yes||<nowiki />}}
 
| label43    = Members
| data43      = {{{current_members|}}}
 
| header44    = {{#ifeq:{{lc:{{{embed|}}}}}|yes||<nowiki />}}
 
| label45    = {{Nowrap|Past members}}
| data45      = {{{past_members|}}}
 
| header50    = {{#ifeq:{{lc:{{{embed|}}}}}|yes||<nowiki />}}
 
| label51    = Website
| data51      = {{{website|}}}
 
| label60    = BLANK
| data61      = {{{module|}}}
| data62      = {{{module2|}}}
| data63      = {{{module3|}}}


}}<includeonly>{{#if:{{{current_members|}}}{{{past_members|}}}||{{#ifeq:{{#invoke:Is infobox in lead|main|[Ii]nfobox [Mm]usical [Aa]rtists?}}<!--
</table><noinclude>
Is infobox in lead:
{{Documentation}}
-->{{#invoke:Is infobox in lead|main|[Ii]nfobox [Ss]inger}}{{#invoke:Is infobox in lead|main|[Ii]nfobox [Mm]usician}}{{#invoke:Is infobox in lead|main|[Ii]nfobox [Ii]nstrumentalist}}|true|{{short description|Musical artist|noreplace}}}}}}<!--
[[Category:People and person infobox templates]]
hCards:
[[Category:Music infobox templates]]
-->{{Main other|1=[[Category:Articles with hCards]]}}<!--
</noinclude>
Unknown parameters:
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox musical artist with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox musical artist]] with unknown parameter "_VALUE_"|ignoreblank=y| alias | alt | associated_acts | awards | background | birth_date | birth_name | birth_place | caption | current_member_of | current_members | death_cause | death_date | death_place | discography | education | embed | genre | honorific_prefix | honorific_suffix | image | image_class | image_size | image_upright | instrument | instruments | label | landscape | module | module2 | module3 | name | native_name | native_name_lang | occupation | occupations | origin | partner | past_member_of | past_members | publishers | spinoff_of | spinoffs | spouse | website | works | years_active }}<!--
Associated_acts tracking:
-->{{#invoke:Check for deprecated parameters|check
| _category = {{main other|[[Category:Pages using infobox musical artist with associated acts]]}}
| ignoreblank = y
| _remove = associated_acts
}}</includeonly><!--
Documentation:
-->{{#invoke:Check for conflicting parameters|check
| template = [[Template:Infobox musical artist]]
| cat = {{main other|Category:Pages using infobox musical artist with conflicting parameters}}
| occupations; occupation
| instruments; instrument
| discography; works
}}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 15:42, 26 September 2026