• Home
  • Random
  • Log in
  • Settings
  • About Safer nicotine wiki
  • Disclaimers
Safer nicotine wiki

Template:Sclx

  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]

Inspired by {{tlx}} (template link expanded), this template takes a shortcut, converts it to uppercase, and displays it with brackets in a ‎<code>...‎</code> tag. If no prefix (e.g. MOS:, H: or WT:) is added, the WP: alias is added.

Contents

  • 1 Parameters
  • 2 Usage
  • 3 Limitations
  • 4 See also
    • 4.1 Other formatting templates

Parameters

  • {{sclx|SHORTCUT}}

The template takes one unnamed parameter, SHORTCUT, that can be any uppercase shortcut. If no prefix is included, the WP: alias is added. If SHORTCUT is entered in lowercase, it will be converted to uppercase.

Usage

  • {{sclx|BASIC}} → [[WP:BASIC]]
  • {{sclx|gng}} → [[WP:GNG]]
  • {{sclx|MOS:ENGVAR}} → [[]]

Limitations

  • Will only work with shortcuts that are uppercase; will not work with mixed case shortcuts, e.g. WP:Source list.

See also

Other formatting templates

{{#lsth:Template:Template-linking_templates|Other formatting templates}}

The above documentation is transcluded from Template:Sclx/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://safernicotine.wiki/mediawiki/index.php?title=Template:Sclx&oldid=8191"
Last edited on 24 December 2025, at 20:44
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information

Languages

    • Moore
    Safer nicotine wiki
    • Creative Commons Attribution-ShareAlike
    • Powered by MediaWiki
    • Monitored by WikiApiary
    • ipv6 ready
    • Powered by Semantic MediaWiki
    • This page was last modified on 24 December 2025, at 20:44. Warning: Page may not contain recent updates.
    • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
    • Privacy policy
    • About Safer nicotine wiki
    • Disclaimers
    • Terms of Use
    • Desktop
    • Data access
    • Developers
    • Statistics
    • Cookie statement