Template:PopImg: Difference between revisions

No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#info:[[File:{{{file}}}|alt&#61;{{{alt|}}}|thumb|{{{caption|}}}]]||max-width={{{width|500}}}}}</includeonly>
 
<includeonly>{{#info:[[File:{{{file}}}|alt&#61;{{{alt|}}}|{{#expr:{{{width|500}}} -60 }}px|thumb|{{{caption|}}}]]||max-width={{{width|500}}}}}</includeonly>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 11: Line 12:
},
},
"width": {
"width": {
"example": "300"
"example": "300",
"suggested": true
},
},
"caption": {
"caption": {
"suggested": true
"suggested": true
}
}
}
    },
"paramOrder": [
        "file",
        "alt",
        "caption",
        "width"
        ]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 09:25, 14 April 2023


No description.

Template parameters

ParameterDescriptionTypeStatus
filefile

no description

Unknownrequired
altalt

no description

Unknownrequired
captioncaption

no description

Unknownsuggested
widthwidth

no description

Example
300
Unknownsuggested