Template:Main Page/Frame: Difference between revisions

Template page
Content added Content deleted
m (content padding)
(added usage and syntax from documentation)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 2em 0; padding: 1px;">
<div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 2em 0; padding: 1px;">
<div style="background: #{{{color|888}}}; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;"><span style="opacity: .7;">[[File:SoldiersLogo.png|27px|link=|alt=]]</span> &nbsp; '''{{{title}}}'''</div>
<div style="background: #{{{color|888}}}; border-radius: .2em; color: #FFF; font-weight:300; font-size:120%; padding: .4em .8em .5em;"><span style="opacity: 1;">[[File:SoldiersLogo.png|27px|link=|alt=]]</span> &nbsp; {{{title}}}</div>
<div style="padding: .5em 1em;">{{{content}}}</div></div><noinclude>{{documentation}}{{protected}}</noinclude>
<div style="padding: .5em 1em;">{{{content}}}</div></div><noinclude>
===Usage===
<pre style="white-space:pre-wrap;">
{{Main Page/Frame
| color = 069
| title = The title of this frame in your language
| content =
* Bullet 1
* Bullet 2
* Bullet 3
}}
</pre>

=== Syntax ===
; color : This changes the title box background color. Default: 888 (gray).
; title : The title of this frame in your language.
; content : The title of this frame in your language. Additional tags <tt><nowiki><div></div></nowiki></tt> are set by the template and not needed in the inclusion.
[[Category:Template]]</noinclude>

Latest revision as of 09:20, 28 August 2016

  {{{title}}}
{{{content}}}

Usage

{{Main Page/Frame
 | color      = 069
 | title      = The title of this frame in your language
 | content    =
* Bullet 1
* Bullet 2
* Bullet 3
}}

Syntax

color
This changes the title box background color. Default: 888 (gray).
title
The title of this frame in your language.
content
The title of this frame in your language. Additional tags <div></div> are set by the template and not needed in the inclusion.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.