Template:Trail: Difference between revisions
From Xen
Jump to navigationJump to search
Lars.kurth (talk | contribs) m (Basic Trail template) |
Lars.kurth (talk | contribs) (Fixed tamplate loop?) |
||
Line 22: | Line 22: | ||
Renders as... |
Renders as... |
||
{{Trail|Headline|Line1|Line2|Line3333|Line4444}} |
{{Trail|Headline|Line1|Line2|Line3333|Line4444}} |
||
⚫ | |||
== Example Use with Trailbox == |
== Example Use with Trailbox == |
||
Line 38: | Line 37: | ||
|{{Trail|Headline 1|Line 1|Line 2|Line 3333|Line 4444}} |
|{{Trail|Headline 1|Line 1|Line 2|Line 3333|Line 4444}} |
||
|{{Trail|Headline 2|Line 111|Line 222|Line 33|Line 444}} |
|{{Trail|Headline 2|Line 111|Line 222|Line 33|Line 444}} |
||
}} |
|||
}}</noinclude> |
|||
⚫ |
Revision as of 12:08, 10 November 2011
{{{1}}} |
{{{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
- List elements : argument 2; items separated by |
Examples
{{Trail|Headline|Line1|Line2|...}}
{{Trail|Headline|Line1|Line2|Line3333|Line4444}}}
Renders as...
Headline |
Headline |
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
|
|