Template:Image frame
Jump to navigation
Jump to search
Renders an image cropped into a frame of arbitrary shape.
Examples
Markup | Renders as |
---|---|
{{User:NtCarlson/Template:Foo | height = 120px | border-shape = diamond | border-width = 4px }} | |
{{User:NtCarlson/Template:Foo | height = 120px | border-shape = rounded | border-width = 2px | border-color = red }} | |
{{User:NtCarlson/Template:Foo | height = 120px | border-shape = polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%); | border-width = 2px | border-color = #3d3d3d }} |