Jump to content

Template:Margin: Difference between revisions

From Mango's Lewd Diplomacy: Official Wiki
MLD>Lorenerd11
No edit summary
 
Mango Stellaris (talk | contribs)
m 1 revision imported
 
(No difference)

Latest revision as of 20:34, 10 May 2025

[view] [edit] Template documentation

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.