Template:Mainbox: Difference between revisions

From Terra Invicta Official Wiki
(Created page with "<includeonly><div class="eu4box-inline plainlist" style="float: left; margin-right: 5px; margin-bottom: 5px; flex: 1 1 20rem;"> <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;">{{MultiColumn| {{{content| * 36px|link= Unknown}}} |{{{col|2}}}}} </div></div></includeonly><noinclude> Styled box to showcased content, mostly...")
 
No edit summary
Line 1: Line 1:
<includeonly><div class="eu4box-inline plainlist" style="float: left; margin-right: 5px; margin-bottom: 5px; flex: 1 1 20rem;">
<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;">
<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;">{{MultiColumn|
{{{content|
{{{content|
* [[File:Unknown.png|36px|link=]] Unknown}}}
* [[File:Unknown.png|36px|link=]] Unknown}}}
|{{{col|2}}}}}
</div></includeonly><noinclude>
</div></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.



Revision as of 11:56, 16 September 2022

Styled box to showcased content, mostly in the form of a list. For best looking result stick several inside a {{box wrapper}}

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:Unknown.png|36px|link=]] Unknown
* [[File:Unknown.png|36px|link=]] Unknown
* [[File:Unknown.png|36px|link=]] Unknown
|col=1}}
Outcome
Example