Difference between revisions of "Template:Infobox"

From Speedsolving.com Wiki
m (Minor edits.)
m (Add category.)
 
(16 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| border="1" style="border-collapse:collapse; width: 22em; font-size: 90%;"
+
{| border="1" class="infobox-template" style="float: right; border-collapse:collapse; width: 22em; font-size: 90%; margin: 0 0 10px 10px;"
 
|
 
|
 
{| border="0" cellpadding="3" bgcolor="#F0F0F0" cellspacing="2" style="color:black; text-align:center; width: 100%"
 
{| border="0" cellpadding="3" bgcolor="#F0F0F0" cellspacing="2" style="color:black; text-align:center; width: 100%"
Line 5: Line 5:
 
| bgcolor="#D0DFEE" colspan="2" style="font-size: 125%;" | '''{{{NAME}}}'''
 
| bgcolor="#D0DFEE" colspan="2" style="font-size: 125%;" | '''{{{NAME}}}'''
 
|-
 
|-
| colspan="2" style="font-size:90%;"| [[Image:{{{IMAGE}}}]]<br>{{{NAME}}} in {{{IMAGEYEAR}}}
+
| colspan="2" style="font-size:90%;"| {{#if:{{{IMAGE}}}|[[Image:{{{IMAGE}}}|125px]]<br>{{{NAME}}} {{#if:{{{IMAGEYEAR}}}| in {{{IMAGEYEAR}}}|}}|}}
 
|-
 
|-
 
| bgcolor="#E0E8EF" colspan="2" | '''Background Information'''
 
| bgcolor="#E0E8EF" colspan="2" | '''Background Information'''
Line 13: Line 13:
 
|-
 
|-
 
| bgcolor="#F0F0F0"  align="right" | '''Country:'''
 
| bgcolor="#F0F0F0"  align="right" | '''Country:'''
| align="left" | [[{{{COUNTRY}}}]]
+
| align="left" | {{{COUNTRY}}}
 
|-
 
|-
 
| bgcolor="#F0F0F0"  align="right" | '''Born:'''
 
| bgcolor="#F0F0F0"  align="right" | '''Born:'''
| align="left" | {{{BIRTHDATE}}} (age {{{AGE}}})
+
| align="left" | {{{BIRTHDATE}}} {{#if:{{{AGE}}}|(age {{{AGE}}})|}}
 
|-
 
|-
 
| bgcolor="#F0F0F0"  align="right" | '''Occupation(s):'''
 
| bgcolor="#F0F0F0"  align="right" | '''Occupation(s):'''
Line 26: Line 26:
 
| bgcolor="#F0F0F0"  align="right" | '''WCA ID:'''
 
| bgcolor="#F0F0F0"  align="right" | '''WCA ID:'''
 
| align="left" | [http://www.worldcubeassociation.org/results/p.php?i={{{ID}}} {{{ID}}}]
 
| align="left" | [http://www.worldcubeassociation.org/results/p.php?i={{{ID}}} {{{ID}}}]
 +
|-
 +
| bgcolor="#F0F0F0"  align="right" | '''Claim to Fame:'''
 +
| align="left" | {{{FAMOUSFOR}}}
 
|}
 
|}
 
|}
 
|}
 +
<noinclude>[[Category:Infobox templates]]</noinclude>

Latest revision as of 10:24, 4 March 2021

{{{NAME}}}
[[Image:{{{IMAGE}}}|125px]]
{{{NAME}}} in {{{IMAGEYEAR}}}
Background Information
Alias(es): {{{ALIASES}}}
Country: {{{COUNTRY}}}
Born: {{{BIRTHDATE}}} (age {{{AGE}}})
Occupation(s): {{{JOBS}}}
Years Active: {{{YEARSACTIVE}}}
WCA ID: {{{ID}}}
Claim to Fame: {{{FAMOUSFOR}}}