4,821
editsAd placeholder
Template:Image frame: Difference between revisions
Jump to navigation
Jump to search
Added basic style that doesn't use a clip-path
(Suppress the outer div if the border width is 0) |
(Added basic style that doesn't use a clip-path) |
||
Line 12: | Line 12: | ||
| rounded = xywh(0 0 100% 100% round 15%) | | rounded = xywh(0 0 100% 100% round 15%) | ||
| diamond = polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%) | | diamond = polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%) | ||
| basic = none | |||
| #default = {{{border-shape}}} | | #default = {{{border-shape}}} | ||
}}}}{{#ifexpr: {{{border-width|4}}} > 0|<div style=" | }}}}{{#ifexpr: {{{border-width|4}}} > 0|<div style=" | ||
Line 59: | Line 60: | ||
"type": "string", | "type": "string", | ||
"default": "rounded", | "default": "rounded", | ||
"suggestedvalues": ["rounded", "diamond"], | "suggestedvalues": ["rounded", "diamond", "basic"], | ||
"example": "polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)", | "example": "polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)", | ||
"suggested": true, | "suggested": true, |