Template:Trailbox: Difference between revisions
From Xen
Jump to navigationJump to search
Lars.kurth (talk | contribs) (Initial Trailbox template) |
Lars.kurth (talk | contribs) (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>{{{ |
|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> |
|||
⚫ | |||
== Usage == |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
--> |
|||
⚫ | |||
⚫ | |||
== 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
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 |