Difference between revisions of "Template:Box/doc"
From LFS Manual
Jump to navigationJump to search (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...") |
m |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | <noinclude>{{documentation subpage}}</noinclude> | ||
| + | |||
=== Basic usage === | === Basic usage === | ||
| Line 13: | Line 15: | ||
{{markup| | {{markup| | ||
<nowiki>{{box|bg=yellow|box content}}</nowiki>|{{box|bg=yellow|box content}}}}<!-- Template:Mra --> | <nowiki>{{box|bg=yellow|box content}}</nowiki>|{{box|bg=yellow|box content}}}}<!-- Template:Mra --> | ||
| + | |||
| + | === Text alignment === | ||
| + | |||
| + | {{markup| | ||
| + | <nowiki>{{box|textalign=center|box content}}</nowiki>|{{box|textalign=center|box content}}}}<!-- Template:Mra --> | ||
=== Padding === | === Padding === | ||
| Line 22: | Line 29: | ||
{{markup| | {{markup| | ||
| − | <nowiki>{{box|style=outline: 1px solid|box content}}</nowiki>|{{box| | + | <nowiki>{{box|style=outline: 1px solid|box content}}</nowiki>|{{box|style=outline: 1px solid|box content}}}}<!-- Template:Mra --> |
=== All at once === | === All at once === | ||
Latest revision as of 10:51, 24 January 2024
| This is a documentation subpage for Template:Box.
It may contain usage information, categories and other content that is not part of the original page. |
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
|
Text alignment
| Markup | Renders as |
|---|---|
{{box|textalign=center|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
|