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="{{{style-tmp|margin:0 auto 16px; padding:0 2px 2px 2px; border-radius:.5em; background: #666; box-shadow: 0 0 6px #666;}}} width:{{{width|90%}}};"><div class="containerTitle" style="{{{style-title|color:#fff; text-align:center; font-weight:bold; font-size:115%}}};">{{{title|Title}}}</div><div class="containerContent" style="{{{style-content|text-align:justify; color:#000000; border-radius:0 0 .5em .5em; padding: 0 4px 0 4px; background:#FAFAFA;}}}">
<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:
Optional fields:
 
<pre>
<pre>
|width=
|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=
}}