Template:Infobox musical artist: Difference between revisions

From The Goon Show Depository

m (1 revision imported)
en>Paine Ellsworth
(per edit request on talk page - deprecate parameters + other minor edits)
Line 1: Line 1:
{{Infobox
{{Infobox
| child      = {{lc:{{{embed}}}}}
| child      = {{lc:{{{embed|}}}}}


| bodyclass  = vcard plainlist
| bodyclass  = vcard plainlist
| headerstyle = background-color: {{Infobox musical artist/color}}
| autoheaders = y


| title      = {{#ifeq:{{lc:{{{embed}}}}}|yes|'''Musical career'''}}
| title      = {{#ifeq:{{lc:{{{embed|}}}}}|yes|'''Musical career'''}}
| decat      = yes <!-- remove from template:infobox tracking categories -->
| decat      = yes <!-- remove from template:infobox tracking categories -->


| abovestyle  = background-color: {{Infobox musical artist/color}}; font-size: 125%;
| abovestyle  = background-color: {{Infobox musical artist/color}}; font-size: 125%;
| above      = {{#ifeq:{{lc:{{{embed}}}}}|yes||{{#if:{{{Name|{{{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|{{{background|}}}}}}}}">{{{Name|{{{name|{{PAGENAMEBASE}}}}}}}}</div>{{#if:{{{native_name|}}}|{{#if:{{{native_name_lang|}}}|<div class="nickname" lang="{{{native_name_lang}}}">}}{{{native_name}}}{{#if:{{{native_name_lang|}}}|</div>}}}}{{#if:{{{honorific_suffix|}}}|<div class="honorific-suffix" style="font-size: 78%; font-weight: normal;">{{{honorific_suffix|}}}</div>}} |{{BASEPAGENAME}}}}}}
| 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|}}}}}">{{{name|{{PAGENAMEBASE}}}}}</div>{{#if:{{{native_name|}}}|{{#if:{{{native_name_lang|}}}|<div class="nickname" lang="{{{native_name_lang|}}}">}}{{{native_name|}}}{{#if:{{{native_name_lang|}}}|</div>}}}}{{#if:{{{honorific_suffix|}}}|<div class="honorific-suffix" style="font-size: 78%; font-weight: normal;">{{{honorific_suffix|}}}</div>}} |{{BASEPAGENAME}}}}}}
 
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{Img|{{{image|}}}}}}|size={{#ifeq:{{lc:{{{Landscape|{{{landscape|}}}}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{Img_size|{{{image_size}}}}}}}}|300|{{{Img_size|{{{image_size}}}}}}}}}}x200px|{{{Img_size|{{{image_size|}}}}}}}}|sizedefault=frameless|upright={{{Img_upright|{{{image_upright|1}}}}}}|title={{{Img_alt|{{{alt|{{{Img_capt|{{{caption|}}}}}}}}}}}}|alt={{{Img_alt|{{{alt|}}}}}}|suppressplaceholder=yes}}
| caption    = {{{Img_capt|{{{caption|}}}}}}


| headerstyle = background-color: {{Infobox musical artist/color}}
| image      = {{#invoke:InfoboxImage|InfoboxImage
|image={{{image|}}}
|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image_size|}}}}}|300|{{{image_size|}}}}}}}x200px|{{{image_size|}}}}}
|sizedefault=frameless
|upright={{{image_upright|1}}}
|title={{{alt|{{{caption|}}}}}}
|alt={{{alt|}}}
|suppressplaceholder=yes}}
| caption    = {{{caption|}}}


| header1    = {{#if:{{{Img|{{{image|}}}}}}|Background information}}
| header1    = {{#if:{{{image|}}}|Background information}}


| class3      = nickname
| class3      = nickname
| label3      = {{Nowrap|Birth name}}
| label3      = {{Nowrap|Birth name}}
| data3      = {{{Birth_name|{{{birth_name|}}}}}}
| data3      = {{{birth_name|}}}


| class4      = nickname
| class4      = nickname
| label4      = {{Nowrap|Also known as}}
| label4      = {{Nowrap|Also known as}}
| data4      = {{{Alias|{{{alias|}}}}}}
| data4      = {{{alias|}}}


| label5      = Born
| label5      = Born
Line 29: Line 36:


| label6      = Origin
| label6      = Origin
| data6      = {{{Origin|{{{origin|}}}}}}
| data6      = {{{origin|}}}


| label7      = Died
| label7      = Died
Line 35: Line 42:


| label8    = Genres
| label8    = Genres
| data8      = {{{Genre|{{{genre|}}}}}}
| data8      = {{{genre|}}}


| class9    = role
| class9    = role
| label9    = {{Nowrap|{{#if:{{{Occupations|{{{occupations|}}}}}}|Occupations|Occupation(s)}}}}
| label9    = Occupations
| data9      = {{#if:{{{Occupations|{{{occupations|}}}}}}|{{{Occupations|{{{occupations|}}}}}}|{{{Occupation|{{{occupation|}}}}}}}}
| data9      = {{{occupations|}}}


| class10    = note
| class10    = note
| label10    = Instruments
| label10    = Instruments
| data10      = {{{Instrument|{{{instrument|{{{instruments|}}}}}}}}}
| data10      = {{{instruments|}}}


| label11    = {{Nowrap|Years active}}
| label11    = {{Nowrap|Years active}}
| data11      = {{{Years_active|{{{years_active|{{{yearsactive|}}}}}}}}}  
| data11      = {{{years_active|}}}


| label12    = Labels
| label12    = Labels
| data12      = {{{Label|{{{label|}}}}}}
| data12      = {{{label|}}}


| label13    = Member of
| label13    = Member of
Line 64: Line 71:


| label17    = <span class="nowrap">Spouse(s)</span>
| label17    = <span class="nowrap">Spouse(s)</span>
| data17    = {{{spouse|{{{spouses|}}}}}}
| data17    = {{{spouse|}}}


| label18    = <span class="nowrap">Partner(s)</span>
| label18    = <span class="nowrap">Partner(s)</span>
| data18    = {{{partner|{{{partners|}}}}}}
| data18    = {{{partner|}}}


| header19    = {{#if:{{{Current_members|{{{current_members|}}}}}}|<nowiki />}}
| header19    = <nowiki />


| label20    = Members
| label20    = Members
| data20      = {{{Current_members|{{{current_members|}}}}}}
| data20      = {{{current_members|}}}


| header21    = {{#if:{{{Past_members|{{{past_members|{{{Former_members|{{{former_members|}}}}}}}}}}}}|<nowiki />}}
| header21    = <nowiki />


| label22    = {{Nowrap|Past members}}
| label22    = {{Nowrap|Past members}}
| data22      = {{{Past_members|{{{past_members|{{{Former_members|{{{former_members|}}}}}}}}}}}}
| data22      = {{{past_members|}}}
 
| header30    = <nowiki />


| label23     = Website
| label31     = Website
| data23      = {{{website|{{{URL|{{{url|}}}}}}}}}
| data31    = {{{website|}}}


| data60     = {{{module|}}}
| label40    = <nowiki />
| data61     = {{{module2|}}}
| data41     = {{{module|}}}
| data62     = {{{module3|}}}
| data42     = {{{module2|}}}
| data43     = {{{module3|}}}


}}<includeonly>{{#if:{{{current_members|}}}{{{past_members|}}}||{{#ifeq:{{#invoke:Is infobox in lead|main|[Ii]nfobox [Mm]usical [Aa]rtists?}}{{#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}}}}}}{{Main other|[[Category:Articles with hCards]]{{#invoke:Check for unknown parameters | check | unknown={{main other|[[Category:Pages using Template:Infobox musical artist with unknown parameters|_VALUE_]]}}| preview = Page using [[Template:Infobox musical artist]] with unknown parameter "_VALUE_"|ignoreblank=y | current_member_of | embed | honorific_prefix | Name | name | honorific_suffix | Img | image | Landscape | landscape | Img_size | image_size | image_upright | Img_upright | Img_alt | alt | Img_capt | caption | native_name | native_name_lang | Birth_name | birth_name | Alias | alias | birth_date | birth_place | Origin | origin | death_date | death_place | Genre | genre | Occupations | occupations | Occupation | occupation | Instrument | instrument | instruments | Years_active | years_active | yearsactive | Label | label | website | URL | url | Current_members | current_members | Past_members | past_members | past_member_of | Former_members | former_members | spinoff_of | spinoffs | module | module2 | module3 | Background | background | Associated_acts | associated_acts | spouse | spouses | partner | partners }}}}<!-- Associated acts tracking-->{{#if:{{{Associated_acts|{{{associated_acts|}}}}}}|[[Category:Pages using infobox musical artist with associated acts]]}}</includeonly><noinclude>
}}<includeonly>{{#if:{{{current_members|}}}{{{past_members|}}}||{{#ifeq:{{#invoke:Is infobox in lead|main|[Ii]nfobox [Mm]usical [Aa]rtists?}}<!--
{{Documentation}}
Is infobox in lead:
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
-->{{#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}}}}}}<!--
</noinclude>
hCards:
-->{{Main other|1=[[Category:Articles with hCards]]}}<!--
Deprecated parameters (June 2022):
-->{{#invoke:Check for deprecated parameters|check
|category={{main other|1=[[Category:Pages using Template:Infobox musical artist with unknown parameters|_VALUE_]]}}
| ignoreblank=no | status = active<!-- Jun 2022 deprecations: 29x --><!--
set1: uc to lc [13x]: -->| Alias = alias | Associated_acts = associated_acts | Background = background | Birth_name = birth_name | Current_members = current_members | Genre = genre | Label = label | Landscape = landscape | Name = name | Occupations = occupations | Origin = origin | Past_members = past_members | Years_active = years_active<!--
  set2: other synonyms [16x]: --> | Img_alt = alt | Img_capt = caption | Img = image | Img_size = image_size | Img_upright = image_upright | instrument = instruments | Instrument = intruments | Occupation = occupations | occupation = occupations | partners = partner | Former_members = past_members | former_members = past_members | spouses = spouse | URL = website | url = website | yearsactive = years_active
}}<!--
Unknown parameters:
-->{{#invoke:Check for unknown parameters | check | unknown={{main other|1=[[Category:Pages using Template:Infobox musical artist with unknown parameters|_VALUE_]]}}| preview = Page using [[Template:Infobox musical artist]] with unknown parameter "_VALUE_"| ignoreblank=y <!-- whitelist 29 Jun 2022
[38x param name]: -->| alias | alt | associated_acts | background | birth_date | birth_name | birth_place | caption | current_member_of | current_members | death_date | death_place | embed | genre | honorific_prefix | honorific_suffix | image_size | image_upright | image | instruments | label | landscape | module2 | module3 | module | name | native_name_lang | native_name | occupations | origin | partner | past_member_of | past_members | spinoff_of | spinoffs | spouse | website | years_active<!--
  set-deprecated not unk: whitelist _here_ the deprecated parameters (& handle below), as 'deprecated' not 'unknown' [29x] -->| Alias | Associated_acts | Background | Birth_name | Current_members | Genre | Label | Landscape | Name | Occupations | Origin | Past_members | Years_active | Img_alt | Img_capt | Img | Img_size | Img_upright | instrument | Instrument | Occupation | occupation | partners | Former_members | former_members | spouses | URL | url | yearsactive
}}<!--
associated_acts tracking:
-->{{main other|1={{#if:{{{associated_acts|}}}|[[Category:Pages using infobox musical artist with associated acts]]}}}}</includeonly><!--
Documentation:
--><noinclude>{{Documentation}}</noinclude>

Revision as of 07:35, 25 July 2022

Infobox musical artist