Jump to content

Template:Infobox musical artist: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
{{#invoke:infobox|infoboxTemplate
<includeonly><table class="infobox biography vcard" style="width:22em; font-size:90%; text-align:left; float:right; clear:right; margin:0 0 1em 1em; background:#f8f9fa; border:1px solid #a2a9b1; border-collapse:collapse;">
| child      = {{lc:{{{embed|}}}}}
<tr><th colspan="2" style="text-align:center; font-size:125%; font-weight:bold; padding:0.5em;">{{{name|{{PAGENAME}}}}}</th></tr>
 
{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center; padding:0.5em;">[[File:{{{image}}}|{{{image_size|frameless}}}|alt={{{alt|}}}]]</td></tr>}}
| bodyclass  = vcard plainlist
{{#if:{{{caption|}}}|<tr><td colspan="2" style="text-align:center; padding:0 0.5em 0.5em;">{{{caption}}}</td></tr>}}
| headerstyle = color: #202122;background-color: {{Infobox musical artist/color}}
{{#if:{{{native_name|}}}{{{birth_name|}}}{{{alias|}}}{{{birth_date|}}}{{{birth_place|}}}{{{origin|}}}{{{death_date|}}}{{{death_place|}}}{{{genre|}}}{{{occupation|}}}|<tr><th colspan="2" style="background:#f0e68c; text-align:center; padding:0.2em;">Background information</th></tr>}}
| autoheaders = y
{{#if:{{{native_name|}}}|<tr><td style="padding:0.2em 0.5em; width:40%;"><b>Native name</b></td><td style="padding:0.2em 0.5em;">{{{native_name}}}</td></tr>}}
 
{{#if:{{{birth_name|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Birth name</b></td><td style="padding:0.2em 0.5em;">{{{birth_name}}}</td></tr>}}
| title      = {{#ifeq:{{lc:{{{embed|}}}}}|yes|'''Musical career'''}}
{{#if:{{{alias|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Also known as</b></td><td style="padding:0.2em 0.5em;">{{{alias}}}</td></tr>}}
| decat      = yes <!-- remove from template:infobox tracking categories -->
{{#if:{{{birth_date|}}}{{{birth_place|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Born</b></td><td style="padding:0.2em 0.5em;">{{{birth_date|}}}{{#if:{{{birth_place|}}}|<br />{{{birth_place}}}}}</td></tr>}}
 
{{#if:{{{origin|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Origin</b></td><td style="padding:0.2em 0.5em;">{{{origin}}}</td></tr>}}
| abovestyle  = color: #202122;background-color: {{Infobox musical artist/color}}; font-size: 125%;
{{#if:{{{death_date|}}}{{{death_place|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Died</b></td><td style="padding:0.2em 0.5em;">{{{death_date|}}}{{#if:{{{death_place|}}}|<br />{{{death_place}}}}}</td></tr>}}
| 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:{{{genre|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Genres</b></td><td style="padding:0.2em 0.5em;">{{{genre}}}</td></tr>}}
 
{{#if:{{{occupation|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Occupation(s)</b></td><td style="padding:0.2em 0.5em;">{{{occupation}}}</td></tr>}}
| image      = {{#invoke:InfoboxImage|InfoboxImage
{{#if:{{{instrument|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Instrument(s)</b></td><td style="padding:0.2em 0.5em;">{{{instrument}}}</td></tr>}}
| image              = {{{image|}}}
{{#if:{{{years_active|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Years active</b></td><td style="padding:0.2em 0.5em;">{{{years_active}}}</td></tr>}}
| size                = {{#ifeq:{{lc:{{yesno|{{{landscape|}}}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image_size|}}}}}|300|{{{image_size|}}}}}}}x200px|{{{image_size|}}}}}
{{#if:{{{label|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Labels</b></td><td style="padding:0.2em 0.5em;">{{{label}}}</td></tr>}}
| upright            = {{if empty|{{{image_upright|}}}|1}}
{{#if:{{{current_member_of|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Member of</b></td><td style="padding:0.2em 0.5em;">{{{current_member_of}}}</td></tr>}}
| title              = {{if empty|{{{alt|}}}|{{{caption|}}}}}
{{#if:{{{past_member_of|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Formerly of</b></td><td style="padding:0.2em 0.5em;">{{{past_member_of}}}</td></tr>}}
| alt                = {{{alt|}}}
{{#if:{{{spouse|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Spouse(s)</b></td><td style="padding:0.2em 0.5em;">{{{spouse}}}</td></tr>}}
| suppressplaceholder = yes
{{#if:{{{partner|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Partner(s)</b></td><td style="padding:0.2em 0.5em;">{{{partner}}}</td></tr>}}
| class              = {{{image_class|}}}
{{#if:{{{children|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Children</b></td><td style="padding:0.2em 0.5em;">{{{children}}}</td></tr>}}
}}
{{#if:{{{parents|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Parent(s)</b></td><td style="padding:0.2em 0.5em;">{{{parents}}}</td></tr>}}
| caption    = {{{caption|}}}
{{#if:{{{relatives|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Relatives</b></td><td style="padding:0.2em 0.5em;">{{{relatives}}}</td></tr>}}
 
{{#if:{{{website|}}}|<tr><td style="padding:0.2em 0.5em;"><b>Website</b></td><td style="padding:0.2em 0.5em;">{{{website}}}</td></tr>}}
| header1    = {{#if:{{{image|}}}|Background information}}
{{#if:{{{signature|}}}|<tr><td colspan="2" style="text-align:center; padding:0.5em;">{{{signature}}}</td></tr>}}
 
</table></includeonly><noinclude>
| class4      = nickname
{{Documentation}}
| label4      = {{Nowrap|Also known as}}
</noinclude>
| data4      = {{{alias|}}}
 
| label5      = Born
| data5      = {{br separated entries
  |1={{#if:{{{birth_name|}}}|<div style="display:inline" class="nickname">{{{birth_name|}}}</div>}}
  |2={{#invoke:person date|birth}}
  |3={{#if:{{{birth_place|}}}|<div style="display:inline" class="birthplace">{{{birth_place|}}}</div>}}
}}
| label6      = Origin
| data6      = {{{origin|}}}
 
| label7      = Died
| data7      = {{br separated entries
| 1 = {{#invoke:person date|death}}
| 2 = {{#if:{{{death_place|}}}|<div class="deathplace">{{{death_place|}}}</div>}}
}}
 
| label8      = Cause of death
| data8      = {{{death_cause|}}}
 
| label9      = Education
| data9      = {{{education|}}}
 
| label18    = Genres
| data18      = {{{genre|}}}
 
| class19    = role
| label19    = {{#if:{{{occupations|}}}|Occupations|Occupation{{Pluralize from text|{{{occupation|}}}|plural=s}}}}
| data19      = {{if empty|{{{occupations|}}}|{{{occupation|}}}}}
 
| class20    = note
| label20    = {{#if:{{{instruments|}}}|Instruments|Instrument{{Pluralize from text|{{{instrument|}}}|plural=s}}}}
| data20      = {{if empty|{{{instruments|}}}|{{{instrument|}}}}}
 
| class21    = noprint
| label21    = Works
| data21      = {{if empty|{{{discography|}}}|{{{works|}}}}}
 
| label22    = {{Nowrap|Years active}}
| data22      = {{{years_active|}}}
 
| label23    = Label{{Pluralize from text|{{{label|}}}|plural=s}}
| data23      = {{{label|}}}
 
| label24    = Publisher{{Pluralize from text|{{{publishers|}}}|plural=s}}
| data24      = {{{publishers|}}}
 
| label25    = Member of
| data25      = {{{current_member_of|}}}
 
| 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?}}<!--
Is infobox in lead:
-->{{#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}}}}}}<!--
hCards:
-->{{Main other|1=[[Category:Articles with hCards]]}}<!--
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>

Revision as of 13:31, 15 May 2026

   📄 Template documentation
   Template loop detected: Template:Documentation

Template loop detected: Template:Documentation

Original content on DGR Wiki is © DGR Entertainment & Multimedia Ltd.