Template:Column: Difference between revisions

Template page
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><templatestyles src="Box/styles.css"/><div class="sc-box sc-rounded {{#if:{{{col|}}}|.sc-col-{{{col}}}|}}">
<includeonly><templatestyles src="Column/styles.css"/><div class="sc-box sc-rounded {{#if:{{{col|}}}|sc-col-{{{col}}}|}}">{{#if:{{{header|}}}|<h{{{h|2}}} class="sc-box-head">{{{header}}}</h2><hr class="sc-box-head-hr">|}}{{{content}}}</div></includeonly><noinclude>
{{#if:{{{header|}}}|<h2 class="sc-box-head">{{{header}}}</h2>
<hr>
|}}
{{{content}}}</div></includeonly>
<noinclude>
{{Doc}}
{{Doc}}
[[Category:Universal]]
</noinclude>
</noinclude>
[[Category:Universal]]

Latest revision as of 22:42, 1 June 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.