Difference between revisions of "Template:Infobox chess biography"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(rm idiosyncratic style overrides)
Line 2: Line 2:
 
--> {{Infobox
 
--> {{Infobox
 
|bodyclass    = vcard
 
|bodyclass    = vcard
|bodystyle    = width:25em; text-align:left; font-size:90%;
 
 
|above        = {{{playername<includeonly>|PAGENAME</includeonly>}}}
 
|above        = {{{playername<includeonly>|PAGENAME</includeonly>}}}
 
|aboveclass  = fn
 
|aboveclass  = fn
|abovestyle  = padding:0.35em; background:#bfe0bf; font-size:120%;
 
 
|image        = {{{image<includeonly>|</includeonly>}}}
 
|image        = {{{image<includeonly>|</includeonly>}}}
 
|imageclass  = photo
 
|imageclass  = photo
 
|caption      = {{{caption<includeonly>|</includeonly>}}}
 
|caption      = {{{caption<includeonly>|</includeonly>}}}
|captionstyle = padding-top:0.25em; line-height:1.2em; font-size:90%;
 
|labelstyle  = padding:0.25em 0.5em 0.25em 0; background:transparent; line-height:1.1em;
 
|datastyle    = padding:0.25em 0; line-height:1.2em; vertical-align:middle;
 
  
 
|label1  = Full name
 
|label1  = Full name
Line 19: Line 14:
 
|data2  = {{{country<includeonly>|</includeonly>}}}
 
|data2  = {{{country<includeonly>|</includeonly>}}}
 
|label3  = Born
 
|label3  = Born
|data3  = <div style="line-height:1.3em;"><!--
+
|data3  = {{{datebirth<includeonly>|</includeonly>}}}<br />{{{placebirth<includeonly>|</includeonly>}}}
            -->{{{datebirth<includeonly>|</includeonly>}}}<br/><!--
 
            -->{{{placebirth<includeonly>|</includeonly>}}}<!--
 
        --></div>
 
 
|label4  = Died
 
|label4  = Died
|data4  = {{#if:{{{datedeath<includeonly>|</includeonly>}}}{{{placedeath|}}}
+
|data4  = {{#if:{{{datedeath<includeonly>|</includeonly>}}}{{{placedeath|}}}|{{{datedeath}}}<br />{{{placedeath}}} }}
            | <div style="line-height:1.3em;">{{{datedeath}}}<br/>{{{placedeath}}}</div>}}
 
 
|label5  = Title
 
|label5  = Title
 
|class5  = note
 
|class5  = note
Line 44: Line 35:
 
[[Category:Chess templates| ]]
 
[[Category:Chess templates| ]]
 
[[Category:People infobox templates|Chess player]]
 
[[Category:People infobox templates|Chess player]]
 
  
 
<!------- Interwiki--------->
 
<!------- Interwiki--------->

Revision as of 23:06, 8 April 2009