Template:Shortcut: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added Vietnamese translation + improved autolang and using tab space.)
(Replaced with doc subpage.)
Line 1: Line 1:
<noinclude>
{{uselangflags|en=1|eo=1|vi=1}}
</noinclude>
<div id="shortcut" class="noprint" style="border:1px solid #525252; background:#262626; margin:0 0 .5em 1em; text-align:center; padding:5px; float:right; clear:right; font-size:smaller;">
<div id="shortcut" class="noprint" style="border:1px solid #525252; background:#262626; margin:0 0 .5em 1em; text-align:center; padding:5px; float:right; clear:right; font-size:smaller;">
[[Template:Shortcut|
[[Template:Shortcut|
Line 7: Line 10:
}}]]:<br />{{{1}}}</div>
}}]]:<br />{{{1}}}</div>
<noinclude>
<noinclude>
==Documentation==
{{doc}}
This template is for listing shortcuts for a given page. Shortcuts are generally acronyms, for example [[VDC:AN]] for [[Valve Developer Community:Administrators' noticeboard]].
</noinclude>
<pre>
{{shortcut|TEXT}}
</pre>for example <nowiki>{{shortcut|VDC:AN}}</nowiki></noinclude>

Revision as of 01:09, 20 May 2023

English (en)Esperanto (eo)Tiếng Việt (vi)

[[Template:Shortcut|

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
]]:
{{{1}}}
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

Documentation

This template is for listing shortcuts for a given page. Shortcuts are generally acronyms, for example VDC:AN for Valve Developer Community:Administrators' noticeboard.

Usage

Put {{shortcut|TEXT}} on the page.
For example: {{shortcut|VDC:AN}} You can also use <br> for line breaking.