Template:Trail: Difference between revisions
From Xen
Jump to navigationJump to search
Lars.kurth (talk | contribs) mNo edit summary |
Lars.kurth (talk | contribs) (Fixed trail boxes) |
||
Line 4: | Line 4: | ||
|- |
|- |
||
|style="color #5C5C73: black;"|{{{2}}} |
|style="color #5C5C73: black;"|{{{2}}} |
||
|- |
|||
|} |
|} |
||
</div> |
</div> |
||
Line 11: | Line 10: | ||
<noinclude> |
<noinclude> |
||
== Usage == |
== Usage == |
||
A Template: |
A Template:Trail is a 3 column layout which is intended to be used with the Template:Trailbox macro |
||
The Trailbox, provides the following arguments |
The Trailbox, provides the following arguments |
||
* A title : argument 1 |
* A title : argument 1 |
||
* List elements : argument 2 |
* List elements : argument 2 which describes links to further articles that should be separated by *'s (see examples) |
||
== Examples == |
== Examples == |
||
<pre>{{Trail|Headline| |
<pre>{{Trail|Headline| |
||
* Line 1 |
|||
<pre>{{Trail|Headline|Line 1|Line 2|Line 3333|Line 4444}}}</pre> |
|||
* Line 2 |
|||
* ...}} |
|||
⚫ | |||
<pre>{{Trail|Headline| |
|||
* Line 1 |
|||
* Line 2 |
|||
* Line 3333 |
|||
* Line 4444}} |
|||
</pre> |
|||
Renders as... |
Renders as... |
||
{{Trail|Headline| |
{{Trail|Headline| |
||
* Line 1 |
|||
* Line 2 |
|||
* Line 3333 |
|||
* Line 4444}} |
|||
== Example Use with Trailbox == |
== Example Use with Trailbox == |
||
<pre>{{Trailbox|Title of box|Anchor|Lorem ipsum dolor sit amet, ...}}</pre> |
<pre>{{Trailbox|Title of box|Anchor|Lorem ipsum dolor sit amet, ...}}</pre> |
||
<pre> |
<pre> |
||
|Title of box |
{{Trailbox|Title of box|Anchor |
||
|{{Trail|Headline 1| |
|||
|Anchor |
|||
* Line 1 |
|||
|{{Trail|Headline 1|Line 1|Line 2|Line 3333|Line 4444}} |
|||
* Line 2 |
|||
|{{Trail|Headline 2|Line 111|Line 222|Line 33|Line 444}} |
|||
* Line 3333 |
|||
⚫ | |||
* Line 4444}} |
|||
|{{Trail|Headline 2| |
|||
* Line 111 |
|||
* Line 222 |
|||
* Line 33 |
|||
* Line 444}} |
|||
}} |
|||
</pre> |
|||
Renders as... |
Renders as... |
||
{{Trailbox |
{{Trailbox|Title of box|Anchor |
||
|{{Trail|Headline 1| |
|||
|Title of box |
|||
* Line 1 |
|||
|Anchor |
|||
* Line 2 |
|||
|{{Trail|Headline 1|Line 1|Line 2|Line 3333|Line 4444}} |
|||
* Line 3333 |
|||
|{{Trail|Headline 2|Line 111|Line 222|Line 33|Line 444}} |
|||
* Line 4444}} |
|||
|{{Trail|Headline 2| |
|||
* Line 111 |
|||
* Line 222 |
|||
* Line 33 |
|||
* Line 444}} |
|||
}} |
}} |
||
</noinclude> |
</noinclude> |
Revision as of 12:33, 10 November 2011
{{{1}}} |
{{{2}}} |
Usage
A Template:Trail is a 3 column layout which is intended to be used with the Template:Trailbox macro
The Trailbox, provides the following arguments
- A title : argument 1
- List elements : argument 2 which describes links to further articles that should be separated by *'s (see examples)
Examples
{{Trail|Headline| * Line 1 * Line 2 * ...}}
{{Trail|Headline| * Line 1 * Line 2 * Line 3333 * Line 4444}}
Renders as...
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
|
|