Template:Box: Difference between revisions
Appearance
m change to required |
m fixed background color to work with dark mode |
||
(3 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
|style="background: # | |style="background: var(--background-color-interactive-subtle,#f8f9fa);" |{{{1|}}} | ||
|} | |} | ||
</includeonly> | </includeonly> | ||
Line 17: | Line 17: | ||
</pre> | </pre> | ||
to create a box with around the text like this: {{Box|Example of text in a box}} | to create a box with around the text like this: {{Box|Example of text in a box}} | ||
[[Category:Styling templates]] | |||
== Template Data == | == Template Data == | ||
Latest revision as of 16:21, 7 February 2025
Usage[edit source]
Add this to the source editor
{{Box|Example of text in a box}}
to create a box with around the text like this:
Example of text in a box |
Template Data[edit source]
Create a box containing text
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | Text to put in the box | String | required |