Template:Frame
Appearance
{{{1}}}
This template uses block elements, e.g. This template applies the class(es) 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}}
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.
Parameters
[edit]- 1 or text: whatever goes in the box
See also
[edit]- {{Border}}: fully-customizable box
- {{Ruled box}}: for boxes with borders only on top and bottom
- {{Centered Box}}: centered box, width to fit text
- {{Frame}}: full-width frame around content
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
text | text 1 | no description | Unknown | required |