Template:Box: Difference between revisions

mNo edit summary
Tag: Reverted
Nescap (talk | contribs)
m fixed background color to work with dark mode
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
{| class="wikitable"
{| class="wikitable"
  |-
  |-
  |style="background: #efefef;" |{{{1|}}}
  |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}}
<noinclude>[[Category:Styling templates]]</noinclude>
[[Category:Styling templates]]
== Template Data ==
== Template Data ==