Template:Frame/doc
![]() | This is a documentation subpage for Template:Frame. It contains usage information, categories and other content that is not part of the original template page. |
![]() | This template uses block elements, e.g. See H:DIVSPAN for details. |
![]() | This template uses TemplateStyles: |
Usage
[edit]Places a frame around text
{{frame|{{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.
The parameter text=…
can be interchanged with the positional parameter as required
Start and end version
[edit]Where the frame wraps over multiple pages in the Page: namespace, the alternate {{frame/s}} and {{frame/e}} should be used.
{{frame/s}}{{lorem ipsum}}{{frame/e}}
Parameters
[edit]- color: border outline colour (default #99B)
- width: border width (default 2px)
- padding: border padding (default 5px top and bottom, 15px left and right)
Tracking Categories
[edit]See also
[edit]- {{Ruled box}}: for boxes with borders only on top and bottom
- {{Centered Box}}: centered box, width to fit text
- {{Border}}: fully customisable fixed width box
- {{Border2}}: fully customisable box