Template:Infobox Person: Difference between revisions

No edit summary
Tag: Reverted
Handling images via InfoboxImage instead
 
(3 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]]
<templatedata>
{{documentation}} <!-- Add categories to the /doc sub-page -->
{
</noinclude>
"params": {
"embed": {},
"name": {},
"image": {},
"alt": {},
"caption": {},
"username": {},
"birthdate": {},
"homecountry": {},
"highestrole": {},
"skillrole": {},
"youtube": {},
"twitter": {},
"discord": {}
},
"description": "lalala"
}
</templatedata></noinclude>