Template:Main Page/Frame: Difference between revisions

added usage and syntax from documentation
m (1 revision imported)
(added usage and syntax from documentation)
 
(5 intermediate revisions by the same user not shown)
Line 1:
<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; font-weight:300; font-size:120%; padding: .4em .8em .5em;"><span style="opacity: .71;">[[File:Wikidata-logo whiteSoldiersLogo.svgpng|27px|link=|alt=]]</span> &nbsp; '''{{{title}}}'''</div>
<div style="padding: .5em 1em;">{{{content}}}</div></div><noinclude>{{documentation}}{{protected}}</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>