Template:Sclx

From Hârn
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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.