Template:Shortcut/doc

Revision as of 15:29, 6 August 2024 by JarlPenguin (talk | contribs) (Created page with "{{documentation header}} {{shc|redirect=yes|short|shc}} Used to show up to 9 shortcut redirects for templates. == Usage == {{shortcut|cmd}} <code><nowiki>{{shortcut|cmd}}</nowiki></code> <div style="clear:both"> {{shortcut|v|cmd|verlink}} <code><nowiki>{{shortcut|v|cmd|verlink}}</nowiki></code> <div style="clear:both"> {{shortcut|redirect=yes|a}} <code><nowiki>{{shortcut|redirect=yes|a}}</nowiki></code> <div style="clear:both"> == TemplateData == <templatedata> { "p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the documentation page. It should be transcluded into Template:Shortcut. See Template:Documentation for more information.
Redirects

Used to show up to 9 shortcut redirects for templates.

Usage

Shortcut

{{shortcut|cmd}}

Shortcuts

{{shortcut|v|cmd|verlink}}

Redirect

{{shortcut|redirect=yes|a}}

TemplateData

Shows a floating box that will list the shortcuts to the page or section.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
First shortcut1

no description

Page namerequired
Second shortcut2

no description

Page nameoptional
Third shortcut3

no description

Page nameoptional
Fourth shortcut4

no description

Page nameoptional
Fifth shortcut5

no description

Page nameoptional
Sixth shortcut6

no description

Page nameoptional
Seventh shortcut7

no description

Page nameoptional
Eighth shortcut8

no description

Page nameoptional
Ninth shortcut9

no description

Page nameoptional
Force alignmentalign

Overrides the default alignment (right-aligned).

Example
left
Stringoptional
Marginsmargin

Override the default margins (default: 0em 0em 1em 1em)

Stringoptional
Redirect?redirect

Changes the title from 'Shortcut' to 'Redirect' if set

Auto value
yes
Stringoptional