Template:Main page/Leftbox

From FlightGear wiki
Jump to navigation Jump to search
 
 

Add title

Add contents
The following template description is not displayed when the template is inserted in an article.

Goal

Use this template when adding another section to middle of the main page and portal pages.

Usage

Put this template in the sections parameter of the {{Main page/Header}} template. More than one can be used.

{{Main page/Header
 ...
 | sections =
 {{Main page/Leftbox
  | title     =
  | contents  =
  | logo      =
  | px        =
  | subtitle  =
  | font_size =
  | attr      =
 }}
 ...
}}
title
Mandatory section title. Will also be be used in a tool tip when hovering the mouse pointer over the section contents.
contents
Mandatory section contents.
logo
Optional icon to the left of the section title without a File: or Image: prefix.
px
Optional height of icon in pixels. Defaults to 23 pixels.
subtitle
Optional text to show when the mouse is over the icon. Defaults to Icon.
font_size
Optional font size in percent to use for the section contents. Defaults to 95 percent.
attr
Optional additional cascading style sheet (CSS) style rules to use on the section contents.

Related templates