Template:Container: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
m (Text replacement - "> [[Category:" to "> [[Category:")
 
(37 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| align="center" width="{{{width|90%}}}" style="{{{style1|margin:4px auto; padding:1px; border-radius: .5em; -moz-border-radius: .5em; -webkit-border-radius: .5em; -ms-border-radius: .5em; -o-border-radius: .5em; background: #333333; font-family:Trebuchet MS, Tahoma, Verdana, Arial;}}}" {{#if:{{{id|}}}|class="{{{id|}}}"|}}
<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:left; color:#000; border-radius:0 0 .5em .5em; padding: 0 4px 0 4px; background:#FAFAFA;}}}">
! style="color:#fff; text-align:center;" | {{{title|Title}}}
{{{1|{{{content|Content}}}}}}</div>
| style="width:10px; font-size:80%;" | {{#if:{{{page|}}}|[[{{{page|Template:Header}}}|<span style="color:#FFFFFF;">+</span>]]|}}
</div><noinclude>
|-
| style="{{{style2|text-align:justify; color:#000000; border-radius: 0 0 .5em .5em; -moz-border-radius: 0 0 .5em .5em; -webkit-border-radius: 0 0 .5em .5em; -ms-border-radius: 0 0 .5em .5em; -o-border-radius: 0 0 .5em .5em; padding: 0 4px 0 4px; background:#F0F8FF;}}}" colspan="2" |
{{{content|Content}}}
|}
<noinclude>
==How to==
==How to==
Simply copy the following:
Simply copy the following:
<pre>
<pre>
{{Header
{{Container|title=|}}
|title=
|content=
}}
</pre>
</pre>


For an alternate/expanded version, copy the following:
;Optional fields:
<pre>
<pre>
{{Header
|width=
|width=
|page=
|style-tmp=
|id=
|style-title=
|style1=
|style-content=
|style2=
|title=
|content=
}}
}}
</pre>
</pre>
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
[[Category:Updated templates]]</noinclude>

Latest revision as of 19:08, September 15, 2022

Title
Content

How to

Simply copy the following:

{{Container|title=|}}
Optional fields
|width=
|style-tmp=
|style-title=
|style-content=
}}