Template:Mainbox: Difference between revisions
From Against the Storm Official Wiki
xxGODLIKExx (talk | contribs) (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 (Removed some hardcoded styling) |
||
Line 1: | Line 1: | ||
<includeonly><div | <includeonly><div class="ats-mainbox"><h3>{{{title|title}}}</h3></div> | ||
<div> | |||
{{{content| | {{{content| | ||
* [[File:Unknown.png|36px|link=]] Unknown}}} | * [[File:Unknown.png|36px|link=]] Unknown}}} |
Revision as of 17:31, 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