Template:Trailbox: Difference between revisions

From Xen
Jump to navigationJump to search
(Initial Trailbox template)
 
(Added description and fixed alignment)
Line 4: Line 4:
|style="align: left; width: 80px;"|
|style="align: left; width: 80px;"|
|style="width: 10px;"|
|style="width: 10px;"|
|style="color: black; font-size: 125%;"|<b>{{{2}}}</b>
|style="color: black; font-size: 125%;"|<b>{{{1}}}</b>
|}
|}
{|style="" cellpadding="0" cellspacing="0" border="0"
{|style="" cellpadding="0" cellspacing="0" border="0"
|style="width: 80px;"|[[File:Idea.png]]
|style="width: 80px;"|[[File:Idea.png]]
|style="vertical-align: text-top; width: 10px;"|
|style="vertical-align: text-top; width: 10px;"|
|style="width: 250px;"|{{{3}}}
|style="width: 250px;" valign="top"|{{{3}}}
|style="width: 10px;"|
|style="width: 10px;"|
|style="width: 250px;"|{{{4}}}
|style="width: 250px;" valign="top"|{{{4}}}
|style="width: 10px;"|
|style="width: 10px;"|
|style="width: 250px;"|{{{5}}}
|style="width: 250px;" valign="top"|{{{5}}}
|}
|}
</div>
</div>
Line 19: Line 19:
[[Category:Trail]]
[[Category:Trail]]


<noinclude>
<!-- A Template:Trailbox is a 3 column layout which is intended to be used with the Template:Trail macro
== Usage ==
The Trailbox, provides
A Template:Trailbox is a 3 column layout which is intended to be used with the Template:Trail macro
- A title : argument 1

- An anchor : argument 2
The Trailbox, provides the following arguments
- Three content arguments 3-5 which contain a Template:Trail macro (but could also use other content
* A title : argument 1
The page which contains the Trailbox, will be added to the Trail category
* 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 ==
<pre>{{Trailbox|Title of box|Anchor|Lorem ipsum dolor sit amet, ...}}</pre>
<pre>{{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
}}</pre>
Renders as...
{{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
}}
</noinclude>

Revision as of 11:51, 10 November 2011

{{{1}}}
Idea.png {{{3}}} {{{4}}} {{{5}}}


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