Template:Border

From Retro Modding Wiki
Revision as of 10:31, 24 October 2019 by imported>Antidote (Created page with "border:{{{1|1}}}px solid #{{RMWBorder}}; <noinclude> ==Usage== :'''<nowiki>{{Border</nowiki> | '''''border size (in px)''''' <nowiki>}}</nowiki>''' This template is meant to...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

border:1px solid #446fa7


Usage

{{Border | border size (in px) }}

This template is meant to be used within styles. It sets the border size, defaulted to 1px, and border color, as designated by {{RMWBorder}}.

The second parameter changes the size of the border, already in pixels. So if you want a border 2px wide, you would use {{Border|2}}.