Template:Driving directions navbox

From Truck Simulator Wiki
Jump to navigation Jump to search
{{{1}}}
{{{2}}}

Usage

This template is intended to help create a uniform appearance of Driving directions navbox templates.

The first parameter defines the navbox title, the second parameter defines the navbox contents. Note that pipe characters within parameters must be encoded as {{!}}.

Single-line example

{{Driving directions navbox | Title | Hello {{!}} world }}

will produce:

Title
Hello | world

Multi-line example

The wiki template system is sensitive to line breaks. Commenting the line breaks avoids spurious HTML paragraphs in the output. The comments will be removed by the wiki system; they won't appear in the HTML output.

{{Driving directions navbox
| [[Wallbert (Directions)]] by state
| <!--
-->   [[Wallbert (Directions)/Arizona    {{!}}Arizona]] <!--
--> - [[Wallbert (Directions)/California {{!}}California]] <!--
--> - [[Wallbert (Directions)/Nevada     {{!}}Nevada]] <!--
-->}}

will produce:

Wallbert (Directions) by state
Arizona - California - Nevada