Template:Pinp misc

From Ring of Brodgar
Template documentation (for the template shown above, sometimes hidden or invisible)
Pinp_misc
Page-image-name-processing _ Max-Image-Size-Clamp.
Experimental.
Intended features
- Clamp to a general maximum infobox image size.
- While still allowing image enlarging below maximum.
- Max size set per infobox.
Used by
- Template:Page-image-name-processing (direct caller)
- Template:Infobox creature (max 320)
- Template:Infobox metaobj (max 320)
- Template:Infobox skill (max 320)
- Template:Infobox terrain (max 320)
- Template:Infobox tree (max 320)
- Template:Infobox legmetaobj (max 320)
- Template:Infobox legskill (max 320)
- Template:Infobox legcreature (max 320)
- Template:Infobox legterrain (max 320)
Calls + behavior
{{pinp_misc|size=12|max=100}} => |12x12px
{{pinp_misc|size=123|max=100}} => |frameless|100x100px
{{pinp_misc|max=100}} => |frameless|100x100px
{{pinp_misc|size=|max=100}} => |frameless|100x100px
{{pinp_misc|size=abc|max=100}} => |frameless|100x100px
{{pinp_misc|size=123abc|max=100}} => |frameless|100x100px
{{pinp_misc|size=12}} => Expression error: Unrecognized punctuation character "{".
{{pinp_misc|size=123|max=}} => Expression error: Missing operand for >.
{{pinp_misc|size=123|max=abc}} => Expression error: Unrecognized word "abc".
{{pinp_misc|size=123|max=100abc}} => Expression error: Unrecognized word "abc".

Visit Template:Pinp misc/doc to edit this text! (How does this work?)