Template:Shortcut2
This template uses TemplateStyles: |
Produce a box floating right suited for shortcuts to sections.
Usage
{{shortcut2 |1= |2= |3= }}
This template is restricted to three parameters.
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | shortcut name | empty | required | |
2 | shortcut name | empty | optional | |
3 | shortcut name | empty | optional | |
lang | display language | Fix language code. Useful on translated Commons namespace pages, or in other translated templates. | {{int:lang}} | optional |
bg | background color | CSS background color of the box. | white | optional |
border | border color | CSS border color of the box. | #ccc | optional |
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information Produce a box floating right suited for shortcuts to sections.
|
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
Relies on:
Example
{{shortcut2|COM:SAND|COM:SANDBOX|COM:SB}}{{Lorem}}
renders as:
See also
- {{Shortcut}} – standard version displayed on top of pages
Localization
This template is not intended to be localized.
The “Shortcut” text is translated at {{Shortcut text}}.