Template:Infobox Person: Difference between revisions

Replaced title with above
Handling images via InfoboxImage instead
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:


| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} <!-- Title is the page name unless otherwise specified -->
| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} <!-- Title is the page name unless otherwise specified -->
| image     = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|{{{name}}}}}}]]}} <!-- Not adding images is ok too -->
| image   = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{alt|}}}}}
| caption    = {{{caption|}}} <!-- Image caption -->
| caption    = {{{caption|}}} <!-- Image caption -->


Line 34: Line 34:
}}<noinclude>
}}<noinclude>
[[Category:Infobox templates]]
[[Category:Infobox templates]]
{{documentation}} <!-- Add categories to the /doc sub-page -->
</noinclude>
</noinclude>