Jump to content

Template:Margin/doc

From Mango's Lewd Diplomacy: Official Wiki
This is the documentation page for Template:Margin.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

Sets the margin of an element using parameters left, right, top, and bottom. Must include "px".

Can also be set to negative values to crop an element instead.

Example:

Wikitext Produces
[[File:Building research lab 1.png]] File:Building research lab 1.png
{{margin|[[File:Building research lab 1.png]]|left=-20px|bottom=-20px}} File:Building research lab 1.png
Cookies help us deliver our services. By using our services, you agree to our use of cookies.