Jump to content

Template:Sl: Difference between revisions

From ModEnc²
en>Renegade
Updated documention to actually mention the arrow/flag-linking part, added pointer to Template:S
m 9 revisions imported
 
(No difference)

Latest revision as of 22:22, 31 March 2025

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.