ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Template:Sl

From ModEnc
Revision as of 21:28, 28 November 2009 by Renegade (talk | contribs) (Updated documention to actually mention the arrow/flag-linking part, added pointer to Template:S)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
If you do not intent to use the arrow/flag-linking part of this template, please consider using Template:S instead.

Usage

{{Sl|pagename}}

Copy-paste the code above and use it to quickly create links to section-pages; replace "pagename" with the name of the page you want to link to, the link will be enclosed in brackets and teletyped. You can also add further parameters to expose/link a flag from that section, optionally with a value:

{{Sl|pagename|flagname}}
{{Sl|pagename|flagname|flagvalue}}

Example

{{sl|VehicleTypes}}

gives [VehicleTypes].

{{sl|VehicleTypes|SpeedType}}

gives [VehicleTypes]SpeedType=.

{{sl|VehicleTypes|SpeedType|Wheel}}

gives [VehicleTypes]SpeedType=Wheel.