Template:MainPage-Frame

From Commons
Revision as of 10:29, 24 October 2024 by TheOriginalOne (talk | contribs) (Created page with "<div style="margin:1em 0 0 0; padding:1px;"> <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> ===Usage=== <pre style="white-space:pre-wrap;"> {{Main Page/Frame | color = hexadecimal colours here without # | icon = header icon (optional) | title = | content = *...")
  {{{title}}}
{{{content}}}

Usage

{{Main Page/Frame
 | color      = hexadecimal colours here without #
 | icon       = header icon (optional)
 | title      = 
 | content    =
* Bullet 1
* Bullet 2
* Bullet 3
}}

Syntax

  • 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.