Template:Mainbox: Difference between revisions

From Against the Storm Official Wiki
(Created page with "<includeonly><div style="font-size: 125%; padding: 3px 0px 0px 0px; text-indent: 0.5em; color: black;">{{{title|title}}}</div><hr style="border-top: 2px solid #92A4B6;"><div style="padding: 5px;"> {{{content| * 36px|link= Unknown}}} </div></includeonly><noinclude> Styled box to showcased content, mostly in the form of a list. For best looking result stick several inside a {{template|box wrapper}} template. == Parameters == {| class="wikitable" ! Par...")
 
m (Added wrapping div for styling the whole box)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><div style="font-size: 125%; padding: 3px 0px 0px 0px; text-indent: 0.5em; color: black;">{{{title|title}}}</div><hr style="border-top: 2px solid #92A4B6;"><div style="padding: 5px;">
<includeonly><div class="ats-mainbox">
<h3>{{{title|title}}}</h3>
<div>
{{{content|
{{{content|
* [[File:Unknown.png|36px|link=]] Unknown}}}
* [[File:Unknown.png|36px|link=]] Unknown}}}
</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
Styled box to showcased content, mostly in the form of a list. For best looking result stick several inside a {{template|box wrapper}} template.
Styled box to showcased content, mostly in the form of a list. For best looking result stick several inside a {{template|box wrapper}} template.

Latest revision as of 17:51, 23 December 2023

Styled box to showcased content, mostly in the form of a list. For best looking result stick several inside a Template:Template template.

Parameters

Parameter Notes Status
title Content box title required
content Content to appear in the box required
col Number of columns for content to spread over. Default set to "2". optional

Syntax

{{mainbox|title|content|column}}

Usage

{{mainbox
|title=Example
|content=
* [[File:|36px|link=]] Unknown
* [[File:|36px|link=]] Unknown
* [[File:|36px|link=]] Unknown
|col=1}}
Outcome

Example

  • [[File:|36px|link=]] Unknown
  • [[File:|36px|link=]] Unknown
  • [[File:|36px|link=]] Unknown