Template:Sclx/doc
Jump to navigation
Jump to search
![]() | This is a documentation subpage for Template:Sclx. It contains usage information, categories and other content that is not part of the original template page. |
Inspired by {{tlx}} (template link expanded), this template takes a shortcut suffix in project namespace, converts it to uppercase, and displays it with brackets and the WP: alias in a [[WP:CODE|TAG]] tag.
Parameters[edit source]
{{sclx|SUFFIX}}
The template takes one unnamed parameter, SUFFIX, that can be any uppercase suffix in project namespace that is preceded by the WP: alias. If SUFFIX is entered in lowercase, it will be converted to uppercase.
Usage[edit source]
Limitations[edit source]
- Will only work with shortcuts using the WP: alias; will not work with e.g. MOS: shortcuts.
- Will only work with shortcuts that are uppercase; will not work with mixed case shortcuts, e.g. WP:Source list.