Template:Infobox musical artist: Difference between revisions

From The Goon Show Depository

en>Paine Ellsworth
(per edit request on talk page - deprecate parameters + other minor edits)
m (1 revision imported)
 
(9 intermediate revisions by 4 users not shown)
Line 3: Line 3:


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


Line 9: Line 9:
| 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  = color: #202122;background-color: {{Infobox musical artist/color}}; font-size: 125%;
| 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}}}}}}
| 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}}}}}}


Line 45: Line 45:


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


| class10    = note
| class10    = note
| label10    = Instruments
| label10    = {{#if:{{{instruments|}}}|Instruments|Instrument(s)}}
| data10      = {{{instruments|}}}
| data10      = {{{instruments|{{{instrument|}}}}}}


| label11    = {{Nowrap|Years active}}
| label11    = Discography
| data11      = {{{years_active|}}}
| data11      = {{{discography|}}}


| label12    = Labels
| label12    = {{Nowrap|Years active}}
| data12      = {{{label|}}}
| data12      = {{{years_active|}}}


| label13    = Member of
| label13    = Labels
| data13      = {{{current_member_of|}}}
| data13      = {{{label|}}}


| label14    = Formerly of
| label14    = Member of
| data14      = {{{past_member_of|}}}
| data14      = {{{current_member_of|}}}


| label15    = Spinoffs
| label15    = Formerly of
| data15      = {{{spinoffs|}}}
| data15      = {{{past_member_of|}}}


| label16    = Spinoff of
| label16    = Spinoffs
| data16      = {{{spinoff_of|}}}
| data16      = {{{spinoffs|}}}


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


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


| header19   = <nowiki />
| label19   = <span class="nowrap">Partner(s)</span>
| data19    = {{{partner|}}}


| label20    = Members
| header20    = {{#ifeq:{{lc:{{{embed|}}}}}|yes||<nowiki />}}
| data20      = {{{current_members|}}}


| header21    = <nowiki />
| label21    = Members
| data21      = {{{current_members|}}}


| label22    = {{Nowrap|Past members}}
| header22    = {{#ifeq:{{lc:{{{embed|}}}}}|yes||<nowiki />}}
| data22      = {{{past_members|}}}


| header30    = <nowiki />
| label23    = {{Nowrap|Past members}}
| data23      = {{{past_members|}}}
 
| header30    = {{#ifeq:{{lc:{{{embed|}}}}}|yes||<nowiki />}}


| label31    = Website
| label31    = Website
Line 101: Line 104:
  hCards:
  hCards:
-->{{Main other|1=[[Category:Articles with 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:
  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
-->{{#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<!--
  [38x param name]: -->| alias | alt | associated_acts | background | birth_date | birth_name | birth_place | caption | current_member_of | current_members | death_date | death_place | discography | embed | genre | honorific_prefix | honorific_suffix | image_size | image_upright | image | instrument | instruments | label | landscape | module2 | module3 | module | name | native_name_lang | native_name | occupations | occupation | 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:
}}<!--
  associated_acts tracking:
  -->{{main other|1={{#if:{{{associated_acts|}}}|[[Category:Pages using infobox musical artist with associated acts]]}}}}</includeonly><!--
  -->{{main other|1={{#if:{{{associated_acts|}}}|[[Category:Pages using infobox musical artist with associated acts]]}}}}</includeonly><!--
  Documentation:
  Documentation:
  --><noinclude>{{Documentation}}</noinclude>
  --><noinclude>{{Documentation}}</noinclude>

Latest revision as of 10:54, 4 August 2024

Infobox musical artist