Template:Column: Difference between revisions

Template page
m (Shiburizu moved page Template:Box to Template:Column without leaving a redirect)
No edit summary
Line 1: Line 1:
<includeonly><templatestyles src="Box/styles.css"/><div class="sc-box sc-rounded {{#if:{{{col|}}}|sc-col-{{{col}}}|}}">{{#if:{{{header|}}}|<h2 class="sc-box-head">{{{header}}}</h2><hr>|}}{{{content}}}</div></includeonly><noinclude>
<includeonly><templatestyles src="Column/styles.css"/><div class="sc-box sc-rounded {{#if:{{{col|}}}|sc-col-{{{col}}}|}}">{{#if:{{{header|}}}|<h2 class="sc-box-head">{{{header}}}</h2><hr>|}}{{{content}}}</div></includeonly><noinclude>
{{Doc}}
{{Doc}}
[[Category:Universal]]
[[Category:Universal]]
</noinclude>
</noinclude>

Revision as of 16:22, 29 May 2023

Template DocumentationEdit This Documentation

Syntax

{{column
|col=
|header=
|h=
|content=
}}

Arguments:

  1. col: Enter a number from 1-12 to specify the box's width when placed alongside other boxes (where 12 is 100% width).
  2. header: Enter some text to show a level 2 header at the top of the box.
  3. h: Enter a number from 2 to 6 to change the header text level.
  4. content: Enter any content here to be inside the box.

A Header


This is some text.

This documentation is automatically transcluded from Template:Column/Documentation and is not included when this page is transcluded.