Template:Sclx
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 P:) is added, the "BTW:" alias is added.
Parameters[edit]
{{sclx|SHORTCUT}}
The template takes one unnamed parameter, SHORTCUT, that can be any uppercase shortcut. If no prefix is included, the BTW: alias is added. If SHORTCUT is entered in lowercase, it will be converted to uppercase.
Usage[edit]
{{sclx|Cleanup}}
→[[BTW:CLEANUP]]
{{sclx|Awards}}
→[[BTW:AWARDS]]
Limitations[edit]
- Will only work with shortcuts that are uppercase; will not work with mixed case shortcuts
See also[edit]
Other formatting templates[edit]
{{#lsth:Template:Template-linking_templates|Other formatting templates}}