Jump to content

Template:Two Box Section TW

From Wikiversity

[[Image:{{{left image}}}|right|40px]]

{{{left title}}}

{{{left subtitle}}}
{{{left text}}}
{{:Template:Two_Box_Section_TW/{{{left edit page}}}}}

{{{left boxfootertext}}}

[[Image:{{{right image}}}|right|40px]]

{{{right title}}}

{{{right subtitle}}}
{{{right text}}}
{{:Template:Two_Box_Section_TW/{{{right edit page}}}}}

{{{right boxfootertext}}}

This is a simple template for creating a themable two box section with variable width of left/right column.

(See also Template:Three Box Section TW and Template:One Box Section)

Syntax

{{Two Box Section TW
|left theme = <1 .. 15 ...>
|left width = <1..100>
|left image = 
|left title =
|left subtitle =
|left text =
|left edit page =
|left border =
|left titleforeground =
|left titlebackground =
|left background =
|left foreground =
|left boxfootertext =
|right theme = <1 .. 15 ...>
|right width = <1..100>
|right image = 
|right title =
|right subtitle =
|right text =
|right edit page =
|right border =
|right titleforeground =
|right titlebackground =
|right background =
|right foreground =
|right boxfootertext =
}}

Variables

All these variables are optional and can be left blank. The following is abbreviated: prefix each variable with "left" or "right" and treat each variation the same.

theme - theme for rounded box surrounding the section.

width - of left column (there are two columns)

image - use normal image syntax to add a logo for project. Preferable to use image around 64 x 64 px in size.

title - of the section.

subtitle - of the section. Can include any normal wiki syntax.

text - Can include any normal wiki syntax.

edit page - page containing text to be inserted into a box.

border - around the table

titleforeground - title text colour

titlebackground - title background colour

background - text background colour

foreground - colour main text within the box

boxfootertext - text at foot of the box - usually a 'more' or 'next' link..