Content added Content deleted
(removed duplicate border) |
m (box shadow added) |
||
Line 1: | Line 1: | ||
<div style="margin:1em 0 0 0; border:2px solid #{{{bg-colour|ccc}}}; padding:0;"> |
<div style="margin:1em 0 0 0; border:2px solid #{{{bg-colour|ccc}}}; box-shadow: 1px 4px 4px #eeeeee; padding:0;"> |
||
<div style="background:#{{{bg-colour|ccc}}}; color:#{{{text-colour|444}}}; font-family:noteworthy; font-weight:600; font-size:130%; text-align:center; font-variant:small-caps; padding:3px 10px 6px 10px;">{{{icon|}}}{{2nbsp}}{{{title}}}</div> |
<div style="background:#{{{bg-colour|ccc}}}; color:#{{{text-colour|444}}}; font-family:noteworthy; font-weight:600; font-size:130%; text-align:center; font-variant:small-caps; padding:3px 10px 6px 10px;">{{{icon|}}}{{2nbsp}}{{{title}}}</div> |
||
<div style="padding:10px;">{{{content}}}</div></div> |
<div style="padding:10px;">{{{content}}}</div></div><noinclude>{{doc|{{MainPage-Frame/doc}}}}</noinclude> |
||
<noinclude>{{doc|{{MainPage-Frame/doc}}}}</noinclude> |
Latest revision as of 12:44, 8 February 2023
{{{title}}}
{{{content}}}
Template documentation
Usage
{{Main Page/Frame | bg-colour = hexadecimal colours without # | text-colour = hexadecimal colours without # | icon = header icon (optional) | title = | content = * Bullet 1 * Bullet 2 * Bullet 3 }}
Syntax
- bg-colour: This changes the title box background colour. Default: ccc (light grey).
- text-colour: This changes the colour of the title text. Dark backgrounds colours are better with light coloured text. Default: 444 (very dark grey).
- 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.
The above documentation is transcluded from Template:MainPage-Frame/doc.