Template:Infobox musical artist: Difference between revisions

From Chalo Chatu, Zambia online encyclopedia
Jump to navigationJump to search
No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
 
Line 1: Line 1:
{{Infobox
{{Infobox
| name          = {{{name|}}}                    <!-- Artist or band name -->
| child      = {{lc:{{{embed}}}}}
| image          = {{{image|}}}                  <!-- Filename with extension -->
| caption        = {{{caption|}}}                <!-- Image caption -->
| background    = {{{background|group_or_band}}} <!-- solo_singer, group_or_band, etc. -->
| origin        = {{{origin|}}}                  <!-- City, region, country -->
| genre          = {{{genre|}}}                  <!-- e.g., Hip hop, Afropop -->
| years_active  = {{{years_active|}}}            <!-- e.g., 2010–present -->
| members        = {{{members|}}}                <!-- Current members -->
| past_members  = {{{past_members|}}}            <!-- Past members if any -->
| label          = {{{label|}}}                  <!-- Record label -->
| notable_works  = {{{notable_works|}}}          <!-- Albums, singles, collaborations -->
| known_for      = {{{known_for|}}}              <!-- Signature style or achievements -->
| key_themes    = {{{key_themes|}}}              <!-- Lyrical/social themes -->
| awards        = {{{awards|}}}                  <!-- Awards and nominations -->
| legacy        = {{{legacy|}}}                  <!-- Cultural impact, influence -->
| deaths        = {{{deaths|}}}                  <!-- Important passings -->
| website        = {{{website|}}}                 <!-- Official website -->
}}
<noinclude>
'''Template documentation: Infobox musical artist'''


This template creates a structured infobox for musical artists and groups on Chalo Chatu. 
| bodyclass  = vcard plainlist


=== Parameters ===
| title      = {{#ifeq:{{lc:{{{embed}}}}}|yes|'''Musical career'''}}
* '''name''': Full artist or band name
| decat      = yes <!-- remove from template:infobox tracking categories -->
* '''image''': Filename of representative image
* '''caption''': Image description
* '''background''': Type (e.g., solo_singer, group_or_band)
* '''origin''': City, region, country
* '''genre''': Musical genres
* '''years_active''': Active years
* '''members''': Current members
* '''past_members''': Former members
* '''label''': Record label
* '''notable_works''': Albums, singles, collaborations
* '''known_for''': Signature style or achievements
* '''key_themes''': Main themes of music
* '''awards''': Awards and nominations
* '''legacy''': Cultural impact or influence
* '''deaths''': Deaths of members (if applicable)
* '''website''': Official website URL


=== Usage Example ===
| abovestyle  = background-color: {{Infobox musical artist/color|{{{Background|{{{background|}}}}}}}}
<pre>
| above      = {{#ifeq:{{lc:{{{embed}}}}}|yes||{{#if:{{{Name|{{{name|}}}}}}|{{#if:{{{honorific_prefix|}}}|<div class="honorific-prefix" style="display:inline; font-size: 77%; font-weight: normal;">{{{honorific_prefix|}}}</div><br />}}<div style="display:inline;" class="{{Infobox musical artist/hCard class|{{{Background|{{{background|}}}}}}}}">{{{Name|{{{name}}}}}}</div>{{#if:{{{honorific_suffix|}}}|<br /><div class="honorific-suffix" style="display:inline; font-size: 77%; font-weight: normal;">{{{honorific_suffix|}}}</div>}} |{{BASEPAGENAME}}}}}}
{{Infobox musical artist
 
| name         = Impi
| 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}}}}}}|alt={{{Img_alt|{{{alt|}}}}}}|suppressplaceholder=yes}}
| image        = Impi_live.jpg
| caption    = {{{Img_capt|{{{caption|}}}}}}
| caption     = Impi performing in Lusaka
 
| background  = group_or_band
| headerstyle = background-color: {{Infobox musical artist/color|{{{Background|{{{background|}}}}}}}}
| origin       = Lusaka, Zambia
| genre        = Conscious music, Contemporary, Zambian hip hop
| header1    = {{#if:{{{Img|{{{image|}}}}}}|Background information}}
| years_active = 2010–2018
| members     = Jordan Sinkala, Kendrick Kafula
| label2    = Native name
| notable_works= Album: ''Bantalamisoka''; Singles: ''Ku Ghetto'' (feat. JK), ''Senorita'', ''Muchiloto''
| data2      = {{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div> }}
| known_for   = Socially conscious music addressing urban life and societal challenges
 
| key_themes   = Social issues, ghetto life, aspirations for a better Zambia
| class3      = nickname
| deaths      = Jordan Sinkala (2014), Kendrick Kafula (2018)
| label3      = {{Nowrap|Birth name}}
}}
| data3      = {{{Birth_name|{{{birth_name|}}}}}}
</pre>
 
| class4     = nickname
| label4      = {{Nowrap|Also known as}}
| data4       = {{{Alias|{{{alias|}}}}}}
 
| label5    = Born
| data5      = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}
 
| label6    = Origin
| data6      = {{{Origin|{{{origin|}}}}}}
 
| label7    = Died
| data7     = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
 
| label8    = Genres
| data8      = {{#ifexist:Template:Infobox musical artist/genre/{{FULLPAGENAME}}|{{Infobox musical artist/genre/{{FULLPAGENAME}}}}|{{{Genre|{{{genre|}}}}}}}}
 
| class9    = role
| label9    = {{Nowrap|{{#if:{{{Occupations|{{{occupations|}}}}}}|Occupations|Occupation(s)}}}}
| data9      = {{#if:{{{Occupations|{{{occupations|}}}}}}|{{{Occupations|{{{occupations|}}}}}}|{{{Occupation|{{{occupation|}}}}}}}}
 
| class10    = note
| label10    = Instruments
| data10      = {{{Instrument|{{{instrument|{{{instruments|}}}}}}}}}
 
| label11    = {{Nowrap|Years active}}
| data11    = {{{Years_active|{{{years_active|{{{yearsactive|}}}}}}}}}
 
| label12    = Labels
| data12    = {{{Label|{{{label|}}}}}}
 
| label13    = {{Nowrap|Associated acts}}
| data13    = {{{Associated_acts|{{{associated_acts|}}}}}}
 
| label14    = Website
| data14    = {{{website|{{{URL|{{{url|}}}}}}}}}
 
| header15  = {{#if:{{{Current_members|{{{current_members|}}}}}}|<nowiki />}}
 
| label16   = Members
| data16    = {{{Current_members|{{{current_members|}}}}}}
 
| header17   = {{#if:{{{Past_members|{{{past_members|{{{Former_members|{{{former_members|}}}}}}}}}}}}|<nowiki />}}
 
| label18    = {{Nowrap|Past members}}
| data18    = {{{Past_members|{{{past_members|{{{Former_members|{{{former_members|}}}}}}}}}}}}
 
| data21    = {{{module|}}}
| data22    = {{{module2|}}}
| data23    = {{{module3|}}}
 
}}<includeonly>{{ns0|[[Category:Articles with hCards]]{{Infobox musical artist/tracking|{{{Background|{{{background|}}}}}}}}{{#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 | embed | Background | background | 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 | Associated_acts | associated_acts | website | URL | url | Current_members | current_members | Past_members | past_members | Former_members | former_members | module | module2 | module3 }}}}</includeonly><noinclude>
{{Documentation}}
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
</noinclude>
</noinclude>

Latest revision as of 10:22, 25 November 2025

Infobox musical artist

<templatestyles src="Module:Documentation/styles.css"></templatestyles>

  1. 1.0 1.1 1.2 1.3 1.4 1.5 Cite error: Invalid <ref> tag; no text was provided for refs named lists