Template:Infobox person: Difference between revisions
Content added Content deleted
(includeonly) |
(simplify name inclusion. always include either "name" if present or PAGENAME if not, no need for if statement) |
||
Line 1: | Line 1: | ||
<noinclude>{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}}}</noinclude> |
<noinclude>{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}}}</noinclude> |
||
<includeonly><table class="infobox biography vcard" style="width:{{#if: {{{box_width|}}} | {{{box_width|}}} | 22em}}; font-size:90%; text-align: left;" cellspacing="2"> |
<includeonly><table class="infobox biography vcard" style="width:{{#if: {{{box_width|}}} | {{{box_width|}}} | 22em}}; font-size:90%; text-align: left;" cellspacing="2"> |
||
<tr><th colspan="2" style="text-align:center; font-size:larger;" class="fn"> |
<tr><th colspan="2" style="text-align:center; font-size:larger;" class="fn">{{{name|{{PAGENAME}}}}} |
||
{{ |
|||
#if: {{{image|}}} | |
#if: {{{image|}}} | |
||
<tr><td colspan="2" style="font-size:8pt;text-align:center;padding:4pt;line-height:1.25em"{{image class|{{{image}}}}}>[[Image:{{{image}}}|{{#if: {{{image_size|{{{imagesize|}}}}}} | {{{image_size|{{{imagesize}}}}}} | 225px}}|]]<br />{{{caption|}}} |
<tr><td colspan="2" style="font-size:8pt;text-align:center;padding:4pt;line-height:1.25em"{{image class|{{{image}}}}}>[[Image:{{{image}}}|{{#if: {{{image_size|{{{imagesize|}}}}}} | {{{image_size|{{{imagesize}}}}}} | 225px}}|]]<br />{{{caption|}}} |