Template:Box/doc

From LFS Manual
< Template:Box
Revision as of 11:01, 3 December 2023 by Flame CZE (talk | contribs) (Created page with "=== Basic usage === {{markup| <nowiki>{{box|box content}}</nowiki>|{{box|box content}}}}<!-- Template:Mra --> === Border color === {{markup| <nowiki>{{box|border=red|box co...")
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to navigationJump to search

Basic usage

Markup Renders as
{{box|box content}}
box content

Border color

Markup Renders as
{{box|border=red|box content}}
box content

Background color

Markup Renders as
{{box|bg=yellow|box content}}
box content

Padding

Markup Renders as
{{box|padding=8px|box content}}
box content

Custom style

Markup Renders as
{{box|style=outline: 1px solid|box content}}
box content

All at once

Markup Renders as
{{box|box content|border=red|bg=yellow|padding=8px}}
box content