Template:Mainbox: Difference between revisions
From He is Coming Official Wiki
Proposed revamp of mainbox, using InfoboxFrame. Revert if you don't like it. |
m Reverted edit by 76561198010361111 (talk) to last revision by Aether Tags: Rollback Reverted |
||
| Line 1: | Line 1: | ||
<includeonly><div style="font-size: 125%; padding: 3px 0px 0px 0px; text-indent: 0.5em; color: white;">{{{title|title}}}</div> | <includeonly><div style="font-size: 125%; padding: 3px 0px 0px 0px; text-indent: 0.5em; color: white;">{{{title|title}}}</div><hr style="border-top: 2px solid #92A4B6;"><div style="padding: 5px;"> | ||
{{{content| | |||
* [[File:Unknown.png|36px|link=]] Unknown}}}</div> | * [[File:Unknown.png|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. | 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 16:58, 16 September 2025
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


