ಟೆಂಪ್ಲೇಟು:Frame
This template uses block elements, e.g. See H:DIVSPAN for details. |
Usage
[ಸಂಪಾದಿಸಿ]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
[ಸಂಪಾದಿಸಿ]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
[ಸಂಪಾದಿಸಿ]- color: border outline colour (default #99B)
- width: border width (default 2px)
- padding: border padding (default 5px top and bottom, 15px left and right)
See also
[ಸಂಪಾದಿಸಿ]- {{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