Template:Template shortcut: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
m →‎top: cleanup using AWB, replaced: <br> → <br /> (5)
mNo edit summary
Tag: 2017 source edit
 
Line 1: Line 1:
{{#if: {{{1|}}}
{{#if: {{{1|}}}
| <div class="plainlinks noprint" dir="auto" lang="" style="float:{{dir|{{{uselang|{{PAGELANGUAGE}}}}}|left|right}};{{#if:{{{clear|}}}|clear:{{{clear}}};}}margin:2px;margin-{{dir|{{{uselang|{{PAGELANGUAGE}}}}}|left|right}}:0;border:1px solid #AAA;background:#FFF;color:#000;padding:.5em;font-size:smaller;line-height:normal;text-align:center">[[:m:Shortcut|{{ {{#if:{{{uselang|}}} | {{zh other|Shortcut caption/zh|{{TNTN|Shortcut caption|uselang={{{uselang}}}}}|lang={{{uselang}}}}} | Shortcut caption }} |{{{2|}}}}}]]{{colon|{{{uselang|{{PAGELANGUAGE}}}}}}}<!--
| <div class="plainlinks noprint" dir="auto" lang="" style="float:{{dir|{{{uselang|{{PAGELANGUAGE}}}}}|left|right}};{{#if:{{{clear|}}}|clear:{{{clear}}};}}margin:2px;margin-{{dir|{{{uselang|{{PAGELANGUAGE}}}}}|left|right}}:0;border:1px solid #AAA;background:#FFF;color:#000;padding:.5em;font-size:smaller;line-height:normal;text-align:center">[[:Wikimedia:Shortcuts|{{#if:{{{2|}}}|{{Shortcut caption|1=true}}|{{Shortcut caption}}}}]]{{colon|{{{uselang|{{PAGELANGUAGE}}}}}}}<!--
--><br /> &#123;&#123;{{{pre|}}}[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]&#125;&#125;<!--
--><br /> &#123;&#123;{{{pre|}}}[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]&#125;&#125;<!--
-->{{#if:{{{2|}}}|<br /> &#123;&#123;{{{pre2|}}}[{{fullurl:Template:{{{2}}}|redirect=no}} {{{2}}}]&#125;&#125;}}<!--
-->{{#if:{{{2|}}}|<br> &#123;&#123;{{{pre2|}}}[{{fullurl:Template:{{{2}}}|redirect=no}} {{{2}}}]&#125;&#125;}}<!--
-->{{#if:{{{3|}}}|<br /> &#123;&#123;{{{pre3|}}}[{{fullurl:Template:{{{3}}}|redirect=no}} {{{3}}}]&#125;&#125;}}<!--
-->{{#if:{{{3|}}}|<br> &#123;&#123;{{{pre3|}}}[{{fullurl:Template:{{{3}}}|redirect=no}} {{{3}}}]&#125;&#125;}}<!--
-->{{#if:{{{4|}}}|<br /> &#123;&#123;{{{pre4|}}}[{{fullurl:Template:{{{4}}}|redirect=no}} {{{4}}}]&#125;&#125;}}<!--
-->{{#if:{{{4|}}}|<br> &#123;&#123;{{{pre4|}}}[{{fullurl:Template:{{{4}}}|redirect=no}} {{{4}}}]&#125;&#125;}}<!--
-->{{#if:{{{5|}}}|<br /> &#123;&#123;{{{pre5|}}}[{{fullurl:Template:{{{5}}}|redirect=no}} {{{5}}}]&#125;&#125;}}<!--
-->{{#if:{{{5|}}}|<br> &#123;&#123;{{{pre5|}}}[{{fullurl:Template:{{{5}}}|redirect=no}} {{{5}}}]&#125;&#125;}}<!--
-->{{#if:{{{6|}}}|<br /> &#123;&#123;{{{pre6|}}}[{{fullurl:Template:{{{6}}}|redirect=no}} {{{6}}}]&#125;&#125;}}<!--
-->{{#if:{{{6|}}}|<br> &#123;&#123;{{{pre6|}}}[{{fullurl:Template:{{{6}}}|redirect=no}} {{{6}}}]&#125;&#125;}}<!--
--></div>
--></div>
}}<noinclude>{{documentation|Template:Template shortcut/doc}}</noinclude>
}}<noinclude>{{documentation|Template:Template shortcut/doc}}</noinclude>

Latest revision as of 10:22, 27 March 2024

Template documentation

This template can be used to show the names of shortcuts to a template. It can take up to six shortcuts as parameters.

Template parameters[Edit template data]

This template has custom formatting.

ParameterDescriptionTypeStatus
first shortcut prefixpre

Prefix to be used for the first shortcut

Example
subst:
Lineoptional
first shortcut1

The first shortcut's title, without namespace prefix

Example
uw-v1
Templaterequired
second shortcut prefixpre2

Prefix to be used for the second shortcut

Example
subst:
Lineoptional
second shortcut2

The second shortcut's title, without namespace prefix

Example
uw-vand1
Templateoptional
third shortcut prefixpre3

Prefix to be used for the third shortcut

Example
subst:
Lineoptional
third shortcut3

The third shortcut's title, without namespace prefix

Example
uw-vandal1
Templateoptional
fourth shortcut prefixpre4

Prefix to be used for the fourth shortcut

Example
subst:
Lineoptional
fourth shortcut4

The fourth shortcut's title, without namespace prefix

Example
uw-test1
Templateoptional
fifth shortcut prefixpre5

Prefix to be used for the fifth shortcut

Example
subst:
Lineoptional
fifth shortcut5

The fifth shortcut's title, without namespace prefix

Example
vand1
Templateoptional
sixth shortcut prefixpre6

Prefix to be used for the sixth shortcut

Example
subst:
Lineoptional
sixth shortcut6

The sixth shortcut's title, without namespace prefix

Example
vand1
Templateoptional
languageuselang

Language to display the 'shortcut' text in; it also affects on which side of the page the box appears (in case of right-to-left languages). By default the language of the page.

Example
ar
Lineoptional


See also

  • {{shortcut}} – The normal shortcut into standard pages.