Template:Main Page/Frame

From TSG Doc
Revision as of 14:30, 5 August 2015 by E.vandenberge (talk | contribs)
Jump to navigation Jump to search
{{{title}}}
{{{content}}}
Template documentation[view] [edit] [history] [purge]

This template is used on the home page to organize subcategories in a more widescreen-friendly manner. Based on the elegant work of TMg for Wikidata.

Usage

{{Main Page/Frame
 | color      = 069
 | title      = The title of this frame
 | 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.

Styling

Most of the frame is styled inline, but for a responsive design, the styling for the outer div is done in Mediawiki:Common.css so we can handle media queries a bit better.