Template:RoundImage: Difference between revisions

From Dead Suns Game
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div style=" box-shadow: 5px 5px 10px 1px #bbf;display: block;height:{{{height|100px}}}; width:{{{width|100px}}};border-radius: 25px;padding:0;overflow:hidden">{{{pic|}}}</div></includeonly>
<includeonly><div style=" box-shadow: 5px 5px 10px 1px #bbf;display: block;height:{{{height|100px}}}; width:{{{width|100px}}};border-radius: 25px;padding:0;overflow:hidden;{{{extra}}}">{{{pic|}}}</div></includeonly>


<noinclude>
<noinclude>

Revision as of 16:27, 24 October 2022


Put a rounded frame and trim overflow

Use

{{RoundImage
|pic=
|width=
|height=
}

pic = The thing you want to round
width & height = the size of the "box" that will enclose it.

Example

{{RoundImage|pic=[[File:Absalom.jpg]]|width=700px|height=400px}}
Absalom.jpg