Jump to content

Template:RoundImage: Difference between revisions

From SpongeBob Wiki
imported>The gamer 987654321's bot
m Examples: Adding categories
 
(No difference)

Latest revision as of 12:10, 10 January 2021

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%}}