Template:Tbwes2

From Wikiversity
Jump to navigation Jump to search

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

{{{left title}}}

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

{{{left boxfootertext}}}

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

{{{right title}}}

{{{right subtitle}}}
{{{right text}}}
{{:Template:Tbwes2/{{{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 box theme = sandy, gaia, blues, ... via Template:SSE Theme 
|left width = <1..100>
|left image = 
|left title =
|left subtitle =
|left text =
|left edit page =
|left boxfootertext =
|right box theme = a theme name via Template:SSE Theme
|right width = <1..100>
|right image = 
|right title =
|right subtitle =
|right text =
|right edit page =
|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.

box theme - general theme for the box

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.

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