Difference between revisions of "Template:Infobox person"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>16@r
(includeonly)
imported>Thumperward
(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">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}}
+
<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|}}}

Revision as of 20:13, 15 December 2007