Template:Column: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><templatestyles src="Box/styles.css"/><div class="sc-box sc-rounded {{#if:{{{col|}}}|.sc-col-{{{col}}}|}}">{{{content}}}</div></includeonly>
<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>
<noinclude>
{{Doc}}
{{Doc}}
</noinclude>
</noinclude>
[[Category:Universal]]
[[Category:Universal]]

Revision as of 02:20, 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.
Page Template:Box/styles.css has no content.

A Header


This is some text.

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