Jump to content

Template:Box: Difference between revisions

From NixOS Wiki
DoggoBit (talk | contribs)
Created page with "<includeonly><div style=" --box-color-impl: {{{color|var(--box-color, var(--color-base))}}}; --box-background-impl: {{{background|var(--box-background, var(--background-color-neutral-subtle))}}}; --box-text-color-impl: var(--box-text-color, var(--box-color-impl)); --box-text-weight-impl: var(--box-text-weight, 500); --box-border-color-impl: {{{borderColor|{{{color|var(--notice-border-color, var(--border-color-base))}}}}}}; --box-border-size-impl: var(--box-b..."
 
DoggoBit (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly><div style="
<includeonly><div class="box" style="
   --box-color-impl: {{{color|var(--box-color, var(--color-base))}}};
   --box-color-impl: {{{color|var(--box-color, var(--color-base))}}};
   --box-background-impl: {{{background|var(--box-background, var(--background-color-neutral-subtle))}}};
   --box-background-impl: {{{background|var(--box-background, var(--background-color-neutral-subtle))}}};
Line 19: Line 19:
   border-radius: var(--box-border-radius-impl);
   border-radius: var(--box-border-radius-impl);
">
">
{{{1}}}
  <div class="box-content">{{{1}}}</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
{{Box|This is a box. You can display any content you desire inside of it.}}
{{Box|This is a box. You can display any content you desire inside of it.}}
</noinclude>
</noinclude>

Revision as of 14:12, 5 June 2025

This is a box. You can display any content you desire inside of it.