Template:Main page/Leftbox: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(+ Additional documentation; Doc style; +-cat: Formatting templates → Portal layout templates)
m (typo)
 
Line 51: Line 51:
* {{tl|Main page/Header}}
* {{tl|Main page/Header}}
* {{tl|Main page/Languages}}
* {{tl|Main page/Languages}}
* {{tl|Main page/Leftbox}}
* {{tl|Main page/Rightcolumn}}
* {{tl|Main page/Rightcolumn}}
* {{tl|Main page/Rightcolumn end}}
* {{tl|Main page/Rightcolumn end}}

Latest revision as of 16:00, 20 June 2014

 
 

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