ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Template:Sl
Jump to navigation
Jump to search
This document transclude from Template:Sl/doc.
- If you do not intent to use the arrow/flag-linking part of this template, please consider using Template:S instead.
- If you do not intent to use the section-linking/arrow part of this template, please consider using Template:F instead.
Usage
{{Sl|pagename|flagname?|flagvalue?}}
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.
Example
- Code
{{sl|VehicleTypes}}
- Result
- Code
{{sl|VehicleTypes|SpeedType}}
- Result
- Code
{{sl|VehicleTypes|SpeedType|Wheel}}
- Result
[VehicleTypes]→SpeedType=Wheel
Notes
Sometimes due to certain constraints (for example, if you don't want equal signs with flagvalue or want more freedom in deciding whether to include links), you might need to use
{{s|pagename|link}}{{Arr|r}}{{f|flagname|flagvalue|link}}
to create similar effects.
- Code
{{s|GasCloudSys}}{{Arr|r}}{{f|HoldsWhat||link}}
- Result