Template:Infobox musical artist: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
(Created page with '{{Infobox | child = {{lc:{{{embed}}}}} | bodyclass = vcard plainlist | title = {{#ifeq:{{lc:{{{embed}}}}}|yes|Musical career}} | aboveclass = {{Infobox musical …')
 
No edit summary
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| child      = {{lc:{{{embed}}}}}
| child      = {{{embed}}}


| bodyclass  = vcard plainlist
| bodyclass  = vcard plainlist


| title      = {{#ifeq:{{lc:{{{embed}}}}}|yes|Musical career}}
| title      = {{#ifeq:{{{embed}}}|yes|Musical career}}


| aboveclass  = {{Infobox musical artist/hCard class|{{{Background|{{{background|}}}}}}}}
| aboveclass  = {{Infobox musical artist/hCard class|{{{Background|{{{background|}}}}}}}}
| abovestyle  = background-color: {{Infobox musical artist/color|{{{Background|{{{background|}}}}}}}}
| abovestyle  = background-color: {{Infobox musical artist/color|{{{Background|{{{background|}}}}}}}}
| above      = {{#ifeq:{{lc:{{{embed}}}}}|yes||{{#if:{{{Name|{{{name|}}}}}}|{{{Name|{{{name}}}}}}|<includeonly>{{BASEPAGENAME}}</includeonly>}}}}
| above      = {{#ifeq:{{{embed}}}|yes||{{#if:{{{Name|{{{name|}}}}}}|{{{Name|{{{name}}}}}}|<includeonly>{{BASEPAGENAME}}</includeonly>}}}}


| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{Img|{{{image|}}}}}}|size={{px|{{#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|alt={{{Img_alt|{{{alt|}}}}}}|suppressplaceholder=yes}}
| image      = {{{image|}}}
| caption    = {{{Img_capt|{{{caption|}}}}}}
| caption    = {{{Img_capt|{{{caption|}}}}}}


Line 29: Line 29:


| label5    = Born
| label5    = Born
| data5      = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}
| data5      = {{{Birth_date|{{{birth_date|}}}}}}<br>{{{Birth_place|{{{birth_place|}}}}}}


| label6    = Origin
| label6    = Origin
Line 35: Line 35:


| label7    = Died
| label7    = Died
| data7      = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
| data7      = {{{Death_date|{{{death_date|}}}}}}<br>{{{Death_place|{{{death_place|}}}}}}


| label8    = [[Music genre|Genres]]
| label8    = [[wikipedia:Music genre|Genres]]
| data8      = {{{Genre|{{{genre|}}}}}}
| data8      = {{{Genre|{{{genre|}}}}}}


Line 51: Line 51:
| data11    = {{{Years_active|{{{years_active|{{{yearsactive|}}}}}}}}}
| data11    = {{{Years_active|{{{years_active|{{{yearsactive|}}}}}}}}}


| label12    = [[Record label|Labels]]
| label12    = [[wikipedia:Record label|Labels]]
| data12    = {{{Label|{{{label|}}}}}}
| data12    = {{{Label|{{{label|}}}}}}


Line 74: Line 74:
| class20    = note
| class20    = note
| data20    = {{{Notable_instruments|{{{notable_instruments|}}}}}}
| data20    = {{{Notable_instruments|{{{notable_instruments|}}}}}}
}}<includeonly>{{ns0|[[Category:Articles with hCards]]{{Infobox musical artist/tracking|{{{Background|{{{background|}}}}}}}}{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}}}</includeonly><noinclude><!-- Please add metadata to the <includeonly> section at the bottom of the /doc subpage -->{{documentation}}</noinclude>
}}
[[Category:Musical artists]]<includeonly>{{ns0|{{Infobox musical artist/tracking|{{{Background|{{{background|}}}}}}}}{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}}}</includeonly><noinclude><!-- Please add metadata to the <includeonly> section at the bottom of the /doc subpage -->{{documentation}}</noinclude>

Revision as of 23:37, 15 December 2018

Born
Died
[edit] [purge] Template documentation

This is the documentation for Template:Infobox musical artist. This template is used to create an infobox for a musical artist, band or musician.

Usage

To use this template, copy the following code and fill in the appropriate parameters:

{{Infobox musical artist
| embed                = 
| Name                 = 
| image                = 
| image_size           = 
| alt                  = 
| caption              = 
| background           = 
| native_name          = 
| native_name_lang     = 
| birth_name           = 
| alias                = 
| birth_date           = <!-- {{Birth date and age|YYYY|MM|DD}} -->
| birth_place          = 
| origin               = 
| death_date           = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
| death_place          = 
| genre                = 
| occupation           = 
| instrument           = 
| years_active         = 
| label                = 
| associated_acts      = 
| website              = <!-- {{URL|example.com}} -->
| current_members      = 
| past_members         = 
| notable_instruments  = 
}}

Example

Here is an example of how to use this template:

{{Infobox musical artist
| Name                 = John Doe
| image                = John_Doe.jpg
| caption              = John Doe performing at XYZ festival
| background           = solo_singer
| birth_date           = {{Birth date and age|1970|1|1}}
| birth_place          = Anytown, Anycountry
| genre                = Rock, Folk
| occupation           = Singer-songwriter, Guitarist
| instrument           = Vocals, Guitar
| years_active         = 1990–present
| label                = Big Records
| website              = {{URL|johndoe.com}}
}}

Please add categories and interwiki links as needed.