Jump to content

Template:Margin/doc

From Mango's Lewd Diplomacy: Official Wiki
Revision as of 20:39, 10 May 2025 by Mango Stellaris (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.