Jump to content

Template:Infobox person: Difference between revisions

fix handling of blank image_size so image displays at default infobox size (225px) instead of full image size (which can distort infobox if too large)
(convert to html (fixes problem with multi-line parameters), allow image_size parameter to work if blank, make template page show all parameter names.)
(fix handling of blank image_size so image displays at default infobox size (225px) instead of full image size (which can distort infobox if too large))
Line 7:
}}{{
#if: {{{image_name|{{{image<includeonly>|</includeonly>}}}}}} |
<tr><td colspan="2" style="text-align: center;">[[Image:{{{image_name|{{{image}}}}}}|{{{imagesize|{{{image_size|225px}}}}}}|]]<br />{{{image_caption|{{{caption<includeonly>|</includeonly>}}}}}}
#if: {{{image_size|{{{imagesize|}}}}}}|{{{image_size|{{{imagesize}}}}}}|225px}}|]]<br />{{{image_caption|{{{caption<includeonly>|</includeonly>}}}}}}
}}{{
#if: {{{birth_name<includeonly>|</includeonly>}}} {{{date_of_birth|{{{birth_date|}}}}}} {{{place_of_birth|{{{birth_place|}}}}}} |
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.