Jump to content

Template:RoundImage

From SpongeBob Wiki
Revision as of 12:10, 10 January 2021 by imported>The gamer 987654321's bot (Examples: Adding categories)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

This template is used to round the corners of an image.

{{RoundImage|No title card available.png}}

Examples

  • The variable size= controls the size of the image. The default value is 180px in width.
    {{RoundImage|No title card available.png|size=250px}}
  • The variable roundness= controls how rounded the corners are. The default value is 10px.
    {{RoundImage|No title card available.png|roundness=5px}}
    {{RoundImage|No title card available.png|roundness=20px}}

    For an oval, set this value to 50%. This will only produce a perfect circle if the image itself is a perfect square.
    {{RoundImage|No title card available.png|roundness=50%}}