Template:Trailbox: Difference between revisions
From Xen
Jump to navigationJump to search
Lars.kurth (talk | contribs) No edit summary |
Lars.kurth (talk | contribs) No edit summary |
||
Line 52: | Line 52: | ||
|Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod |
|Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod |
||
|enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis |
|enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis |
||
}} |
|||
== Example Use with Trailbox == |
|||
<pre>{{Trailbox|Title of box|Anchor|Lorem ipsum dolor sit amet, ...}}</pre> |
|||
<pre> |
|||
{{Trailbox|Title of box|Anchor |
|||
|{{Trail|Headline 1| |
|||
* Line 1 |
|||
* Line 2 |
|||
* Line 3333 |
|||
* Line 4444}} |
|||
|{{Trail|Headline 2| |
|||
* Line 111 |
|||
* Line 222 |
|||
* Line 33 |
|||
* Line 444}} |
|||
}} |
|||
</pre> |
|||
Renders as... |
|||
{{Trailbox|Title of box|Anchor |
|||
|{{Trail|Headline 1| |
|||
* Line 1 |
|||
* Line 2 |
|||
* Line 3333 |
|||
* Line 4444}} |
|||
|{{Trail|Headline 2| |
|||
* Line 111 |
|||
* Line 222 |
|||
* Line 33 |
|||
* Line 444}} |
|||
}} |
}} |
||
[[Category:Templates]] |
[[Category:Templates]] |
Revision as of 22:48, 10 November 2011
{{{1}}} | |||||
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
| |||||
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
| |||||
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod | enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis |
Example Use with Trailbox
{{Trailbox|Title of box|Anchor|Lorem ipsum dolor sit amet, ...}}
{{Trailbox|Title of box|Anchor |{{Trail|Headline 1| * Line 1 * Line 2 * Line 3333 * Line 4444}} |{{Trail|Headline 2| * Line 111 * Line 222 * Line 33 * Line 444}} }}
Renders as...
Title of box | |||||||||
|
|