Template:Container: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "font-size:110%; " to "") |
mNo edit summary |
||
(14 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<div class="containerTem" style=" | <div class="containerTem" style="background:#666;border-radius:0.5em;padding:{{#if:{{{title|}}}|0 2px 2px|2px}};margin:0 auto 16px;{{{style-tmp|}}}">{{#if:{{{title|}}}|<div class="containerTitle" style="color:#fff;text-align:center;font-size:115%;font-weight:bold;{{{style-title|}}}">{{{title}}}</div>}}<div class="containerContent" style="overflow:auto;background:#FAFAFA;border-radius:{{#if:{{{title|}}}|0 0 0.5em 0.5em|0.5em}};padding:{{#if:{{{title|}}}|2px 4px 1px|2px}};{{{style-content|}}}"> | ||
{{{1|{{{content|Content}}}}}}</div> | {{{1|{{{content|Content}}}}}}</div> | ||
</div><noinclude> | </div><noinclude> | ||
==How to== | ==How to== | ||
Simply copy the following: | Simply copy the following: | ||
<pre> | <pre> | ||
{{Container|title=|}} | {{Container | ||
|title= | |||
|content= | |||
}} | |||
</pre> | </pre> | ||
Optional fields: | |||
<pre> | <pre> | ||
|style-tmp= | |style-tmp= | ||
|style-title= | |style-title= | ||
Line 16: | Line 20: | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Updated templates]]</noinclude> | [[Category:Updated templates]]</noinclude> |
Latest revision as of 12:23, March 20, 2025
Content
How to
Simply copy the following:
{{Container |title= |content= }}
Optional fields:
|style-tmp= |style-title= |style-content= }}