Template:MainPage-Frame: Difference between revisions
removed one category |
m 1 revision imported Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="margin:1em 0 0 0; padding:1px;"> | <div style="margin:1em 0 0 0; padding:1px;"> | ||
<div style="background:# | <div style="background:#0000FF; color:#444; font-weight:600; font-size:130%; text-align:center; font-variant:small-caps; padding:8px;">{{{icon|}}}{{2nbsp}}{{{title}}}</div> | ||
<div style="padding:10px 0;">{{{content}}}</div></div><noinclude> | <div style="padding:10px 0;">{{{content}}}</div></div> | ||
<noinclude> | |||
===Usage=== | ===Usage=== | ||
<pre style="white-space:pre-wrap;"> | <pre style="white-space:pre-wrap;"> | ||
Line 16: | Line 17: | ||
=== Syntax === | === Syntax === | ||
*'''colour:''' This changes the title box background color. Default: | *'''colour:''' This changes the title box background color. Default: 0000FF (blue). | ||
*'''title:''' The title of this frame in your language. | *'''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. | *'''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:MainPage templates]]</noinclude> | [[Category:MainPage templates]]</noinclude> |
Latest revision as of 11:30, 24 October 2024
{{{title}}}
{{{content}}}
Usage[edit]
{{Main Page/Frame | color = hexadecimal colours here without # | icon = header icon (optional) | title = | content = * Bullet 1 * Bullet 2 * Bullet 3 }}
Syntax[edit]
- colour: This changes the title box background color. Default: 0000FF (blue).
- 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.