Template:Infobox person: Difference between revisions
Content added Content deleted
(more common combinations) |
(use template to had placeholder images rather than lots of #ifs) |
||
Line 3: | Line 3: | ||
| bodystyle = {{#if:{{{box_width|}}}|width:{{{box_width}}};}} |
| bodystyle = {{#if:{{{box_width|}}}|width:{{{box_width}}};}} |
||
| above = {{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span><br />}}<includeonly><span class="fn">{{{name|{{PAGENAME}}}}}</span></includeonly>{{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<br /><span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}} |
| above = {{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span><br />}}<includeonly><span class="fn">{{{name|{{PAGENAME}}}}}</span></includeonly>{{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<br /><span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}} |
||
| image = {{# |
| image = {{#if:{{Hide if placeholder image|{{{image|}}}}}|[[File:{{{image}}}|{{px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|frameless}}|alt={{{alt|}}}]]}} |
||
| imageclass = {{image class names|{{{image}}}}} |
| imageclass = {{image class names|{{{image}}}}} |
||
| caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}} |
| caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}} |