Template:Infobox person: Difference between revisions

try remove border
(made it so it adds a category when infobox has no image)
(try remove border)
 
(3 intermediate revisions by 2 users not shown)
Line 2:
| above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}
 
| image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|}}}|border|upright=.6|]]<includeonly>|[[Category:Persons without image]]</includeonly>}}
| caption1 = {{{caption|}}}
 
| image2 = {{#if:{{{image2|}}}|[[File:{{{image2}}}|frameless|alt={{{alt|}}}|border|upright=.6|]]}}
| caption2 = {{{caption2|}}}
| autoheaders = y
Line 134:
| label85 = {{{custom_misc_info_label6|}}}
| data85 = {{{custom_misc_info_data6|}}}
}}<includeonly>{{#ifeq: {{lc:{{{categories}}}}} | no ||
}}
[[Category:People]]}}</includeonly><noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here -->
<includeonly>{{#ifeq: {{lc:{{{categories}}}}} | no ||
[[Category:People]]}}</includeonly>
<noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here -->
<templatedata>
{
Line 175 ⟶ 173:
"citizenships": {
"description": "the list of citizenships of the person, using flags and links to the nations is recommended",
"example": "[[File:Flag of Lusitania.gif{{flag|20px]] [[Lusitania]]}}",
"type": "string",
"suggested": true
},
Line 276 ⟶ 273:
}
</templatedata>
[[Category:Civ infobox templates]]
</noinclude>
2,232

edits