साचा:Ruled box/doc
This template uses TemplateStyles: |
Usage
संपादनA simple box with rules top and bottom, centred in the page.
- padding: left and right padding (default 0)
- padding-left, padding-right: left and right padding, individually set (default: not set)
- padding-tb: top and bottom padding (default 0)
- padding-top, padding-bottom: top and bottom padding, individually set (default: not set)
- border-top: border style, overridden by border-top and border-bottom. Default:
1px solid black
- border-top, border-bottom: top/bottom border styles, set individually (default: not set)
- class: extra CSS classes for the container
- style: extra CSS styles for the container
The container always has the class _ruledbox
.
Examples
संपादनExample
{{ruled box|padding=2em | {{lorem ipsum}} }}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Example
{{ruled box | padding=0 | padding-tb=1em | border=3px double black | style=color:blue; | {{lorem ipsum}} }}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
See also
संपादन- {{border}} for boxes with borders on all sides