Template:Infobox person: Difference between revisions

simplify name inclusion. always include either "name" if present or PAGENAME if not, no need for if statement
(includeonly)
(simplify name inclusion. always include either "name" if present or PAGENAME if not, no need for if statement)
Line 1:
<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">
<tr><th colspan="2" style="text-align:center; font-size:larger;" class="fn">{{#if: {{{name|}}} | {{{namePAGENAME}}} | {{PAGENAME}}
}}{{
#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|}}}
Anonymous user