Template:Infobox musical artist: Difference between revisions

From Robin's SM-201 Website
Jump to navigation Jump to search
m (Robinr78 moved page Template:Infobox musicians to Template:Infobox musical artist: data format update)
No edit summary
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{|class="infobox" cellspacing="5" style="width:28em; font-size:90%; border: 1px solid black;padding:0.5em  1em 0.5em 1em" align="right"
{|class="infobox" cellspacing="5" style="width:25em; font-size:90%; border: 1px solid black;padding:0.5em  1em 0.5em 1em" align="right"
|-
|-
|colspan="3" style="text-align:center; font-size:larger; background-color:{{#if:{{{bgcolour|}}}|<nowiki/>{{{bgcolour}}}|<nowiki/>#ed8}}; color:#000000;"| '''{{{name|{{PAGENAME}}}}}'''
|colspan="3" style="text-align:center; font-size:larger; background-color:{{#if:{{{color|}}}|<nowiki/>{{{color}}}|<nowiki/>#ed8}}; color:#000000;"| '''{{{name|{{PAGENAME}}}}}'''
|-
|-
|colspan="3" style="text-align:center; font-size:90%;" | {{#if:{{{image|}}} |<!--then:-->[[Image:{{{image}}}|{{#if:{{{imagesize|}}}|<!--then: -->{{{imagesize}}}|<!--else:-->220px}}| ]]<br/><small>{{{caption|}}}</small>}}
|colspan="3" style="text-align:center; font-size:90%;" | {{#if:{{{image|}}} |<!--then:-->[[Image:{{{image}}}|{{#if:{{{imagesize|}}}|<!--then: -->{{{imagesize}}}|<!--else:-->220px}}| ]]<br/><small>{{{caption|}}}</small>}}
|-
|-
{{#if:{{{nationality|}}} |  
|colspan="3" style="text-align: center; font-weight: bold; background-color: {{{color|#ddf}}};" | Background information
{{!}}''' Nationality'''
|-  
{{!}} {{{nationality|&nbsp;}}}
{{#if:{{{birthname|}}} |
}}
|-
{{#if:{{{birthname|}}} |  
{{!}}'''Birth name'''  
{{!}}'''Birth name'''  
{{!}} {{{birthname|&nbsp;}}}  
{{!}} {{{birthname|&nbsp;}}}  
}}
}}
|-
|- valign="top"
{{#if:{{{othername|}}} |
{{!}} '''Other name(s)'''
{{!}} {{{othername|}}}
}}
|-
{{#if:{{{parents|}}} |  
{{#if:{{{parents|}}} |  
{{!}}'''Parents'''  
{{!}}'''Parents'''  
{{!}} {{{parents}}}  
{{!}} {{{parents}}}  
}}
}}
|-
|- valign="top"
{{#if:{{{birthdate|}}} |  
{{#if:{{{birthdate|}}} |
{{!}} '''Born'''
{{!}} '''Born'''  
{{!}} {{{birthdate|}}}<br/> {{{location|}}}
{{!}} {{{birthdate|}}}
}}
|- valign="top"
{{#if:{{{birthplace|}}} |
{{!}} '''Birth place'''
{{!}} {{{birthplace|}}}  
}}
}}
|-
|- valign="top"
{{#if:{{{deathdate|}}} |
{{#if:{{{deathdate|}}} |
{{!}} '''Died'''  
{{!}} '''Died'''
{{!}} {{{deathdate|&nbsp;}}}<br/>{{{deathplace|&nbsp;}}}<br/>{{{deathcause|&nbsp;}}}
{{!}} {{{deathdate|}}}
}}
}}
|-
|- valign = "top"
{{#if:{{{height|}}} |
{{#if:{{{deathplace|}}} |
{{!}} '''Height'''
{{!}} '''Location'''
{{!}} {{{ht|{{{height}}}}}}
{{!}} {{{deathplace}}}  
}}
}}
|-
|- valign = "top"
{{#if:{{{weight|}}} |
{{#if:{{{deathcause|}}} |  
{{!}} '''Weight'''  
{{!}} '''Cause'''  
{{!}} {{{wt|{{{weight}}}}}}
{{!}} {{{deathcause|}}}
}}
|- valign="top"
{{#if:{{{nationality|}}} |
{{!}} ''' Nationality'''
{{!}} {{{nationality|}}}  
}}
}}
|-
|- valign="top"
{{#if:{{{vitals|}}} |
{{#if:{{{alias|}}} |
{{!}} '''Vital stats'''  
{{!}} '''Other name(s)'''  
{{!}} {{{vitals|}}}
{{!}} {{{alias|}}}
}}
}}
|-
|- valign="top"
{{#if:{{{occupation|}}} |
{{#if:{{{occupation|}}} |
{{!}} '''Occupation'''  
{{!}} '''Occupation'''  
{{!}} {{{occupation|}}}
{{!}} {{{occupation|}}}
}}
}}
|-
|- valign="top"
{{#if:{{{yearsactive|}}} |
{{#if:{{{instrument|}}} | {{!}} '''Instrument''' {{!!}} {{{instrument|}}} }}
{{!}} '''Years active'''  
|- valign="top"
{{!}} {{{yearsactive|}}}
{{#if:{{{background|}}} | {{!}} '''Background'''  {{!!}} {{{background|}}} }}
|- valign="top"
{{#if:{{{yearsactive|}}} | {{!}} '''Years active''' {{!!}} {{{yearsactive|}}} }}
|- valign="top"
{{#if:{{{style|}}} | {{!}} '''Style''' {{!!}} {{{style|}}} }}
|- valign="top"
{{#if:{{{genre|}}} |
{{!}} '''Genre'''
{{!}} {{{genre|}}}
}}
|- valign="top"
{{#if:{{{label|}}} |
{{!}} '''Label'''
{{!}} {{{label|}}}
}}
|- valign="top"
{{#if:{{{associates|}}} |
{{!}} '''Associates'''
{{!}} {{{associates|}}}
}}
|- valign="top"
{{#if:{{notable|}}} |
{{!}} '''Notable for'''
{{!}} {{{notable|}}}
}}
}}
|-
|-
| colspan="3" | {{hr}}
|- valign="top"
{{#if:{{{spouse|}}} |
{{#if:{{{spouse|}}} |
{{!}} '''Spouse(s)''' {{!!}} {{{spouse|}}}
{{!}} '''Spouse(s)''' {{!!}} {{{spouse|}}}
}}
}}
|-
|- valign="top"
{{#if:{{{children|}}} |
{{#if:{{{children|}}} |
{{!}} '''Children'''  
{{!}} '''Children'''  
{{!}} {{{children|}}}
{{!}} {{{children|}}}
}}
}}
|-
|- valign="top"
{{#if:{{{height|}}} |
{{!}} '''Height'''
{{!}} {{ht| | }}
}}
|- valign="top"
{{#if:{{{weight|}}} |
{{!}} '''Weight'''
{{!}} {{{wt|{{{weight}}}}}}
}}
|- valign="top"
{{#if:{{{vitals|}}} |
{{!}} '''Vital stats'''
{{!}} {{{vitals|}}}
}}
|- valign="top"
{{#if:{{{homepage|}}} |
{{#if:{{{homepage|}}} |
{{!}} '''Official site'''  
{{!}} '''Official site'''  
{{!}} {{{homepage|}}}
{{!}} {{{homepage|}}}
}}
}}
|-
|- valign="top"
{{#if:{{{imdb|}}} |
{{#if:{{{imdb|}}} |
{{!}} '''IMdB ID'''
{{!}} '''IMdB ID'''
{{!}} {{{imdb|}}}
{{!}} {{{imdb|}}}
}}
}}
|-
|- valign="top"
{{#if:{{{iafd|}}} |
{{#if:{{{iafd|}}} |
{{!}} '''Iafd ID'''
{{!}} '''Iafd ID'''
{{!}} {{{iafd|}}}
{{!}} {{{iafd|}}}
}}
}}
|-
|- valign="top"
{{#if:{{{notable role|}}} |
{{#if:{{{URL|}}} |
{{!}} '''Notable roles'''
{{!}} '''Web site'''  
{{!}}{{{notable role|}}}
{{!}} {{{URL|}}}
}}
}}
|}</includeonly>
|}</includeonly><noinclude>
<noinclude>
<pre>
Usage:
Usage:
: copy template below to new page and populate
: copy template below to new page and populate with new data
{{hr}}


{ {infobox actor<br>
{{ Infobox musical artist
| Name      = name else ((PAGENAME))<br>
| Name      = name else ((PAGENAME))
| image = image.jpg <br>
| image     = image.jpg  
| imagesize = ???px else 200px <br>
| imagesize = ???px else 200px  
| caption  =
| birthname  =
| birthdate  =
| birthplace  =
| deathdate  =
| deathplace  =
| deathcause  =
| parents    =
| nationality =
| nationality =
| birthname= <br>
| othername   =
| othername =<br>
| occupation  =  
| Parents =<br>
| instrument  =  
| birthdate = ((dob|year|mo|dy))<br>
| background  =
| location =<br>
| yearsactive =  
| deathdate =<br>
| style      =
| deathdate = <br>
| genre      =  
| deathcause = <br>
| label      =
| Height = ((ht|ft|in))<br>
| associates =
| Weight = ((wt|nnn))<br>
| notable_for =  
| vitals = nn/nn/nn<br>
| spouse   =  
| occupation = <br>
| yearsactive = text<br>
| spouse = <br>
| children =  
| children =  
| homepage =<br>
| height  = ((ht|ft|in))
| imdb = <br>
| weight  =  ((wt|nnn)
| iafd = <br>
| vitals  = nn/nn/nn
| notable role = <br>
| homepage =
| }
| imdb     =  
| iafd     =  
}}
</pre>
[[Category:Infobox]]
[[Category:Infobox]]
</noinclude>
</noinclude>

Latest revision as of 01:44, 5 November 2022

Usage:
: copy template below to new page and populate with new data

{{ Infobox musical artist
| Name      = name else ((PAGENAME))
| image     = image.jpg 
| imagesize = ???px else 200px 
| caption   =
| birthname   = 
| birthdate   = 
| birthplace  = 
| deathdate   =
| deathplace  = 
| deathcause  = 
| parents     = 
| nationality =
| othername   =
| occupation  = 
| instrument  = 
| background  =
| yearsactive = 
| style       =
| genre       = 
| label       =
| associates  =
| notable_for = 
| spouse   = 
| children = 
| height  = ((ht|ft|in))
| weight  =  ((wt|nnn)
| vitals  = nn/nn/nn
| homepage =
| imdb     = 
| iafd     = 
}}