Template:Trailbox: Difference between revisions

From Xen
Jump to navigationJump to search
(Fix vertical and horizontal alignment)
mNo edit summary
Line 7: Line 7:
|}
|}
{|style="" cellpadding="0" cellspacing="0" border="0"
{|style="" cellpadding="0" cellspacing="0" border="0"
|style="width: 80px;" valign="top"|[[File:Idea.png]]
|style="width: 80px;" valign="center"|[[File:Idea.png]]
|style="width: 20px;"|
|style="width: 20px;"|
|style="width: 250px;" valign="top"|{{{3|}}}
|style="width: 250px;" valign="top"|{{{3|}}}

Revision as of 12:58, 10 November 2011

{{{1}}}
Idea.png


Usage

A Template:Trailbox is a 3 column layout which is intended to be used with the Template:Trail macro

The Trailbox, provides the following arguments

  • A title : argument 1
  • An anchor : argument 2
  • Three content arguments 3-5 which contain a Template:Trail macro (but could also use other content). At least one argument should be provided.

The page which contains the Trailbox, will be added to the Trail category

Examples

{{Trailbox|Title of box|Anchor|Lorem ipsum dolor sit amet, ...}}
{{Trailbox
|Title of box
|Anchor
|Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod  
|enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis
|Duis autem vel eum 
}}

Renders as...

Title of box

Idea.png Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis Duis autem vel eum


{{Trailbox
|Title of box
|Anchor
|Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod  
|enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis
}}

Renders as...

Title of box

Idea.png Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis