User:Deprecated/Template:DeprecatedTest: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Test2)
m (Test)
Line 1: Line 1:
<div id="shortcut" class="plainlinks 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;">
<includeonly>background-image: -moz-linear-gradient({{{1|}}}, {{{2|}}}); background-image: -o-linear-gradient({{{1|}}}, {{{2|}}}); background-image: -webkit-linear-gradient({{{1|}}}, {{{2|}}}); background-image: linear-gradient({{#switch: {{{1|}}}
[[Template:Template shortcut|Shortcut]]:<br />{{#if: {{{1|<noinclude>{{PAGENAME}}</noinclude>}}} | &#123;&#123;{{{pre|}}}{{#ifexist:Template:{{{1}}} |[{{fullurl:Template:{{{1}}}|redirect=no}} {{#if:true|{{{1}}}}}]  |[[Template:{{{1|<noinclude>{{PAGENAME}}</noinclude>}}}|{{#if:true|{{{1|<noinclude>{{PAGENAME}}</noinclude>}}}}}]]}}&#125;&#125; }}</div><noinclude>
| top = to bottom
{{User:Deprecated/Template:DeprecatedTest|Hir}}
| bottom = to top
==Documentation==
| left = to right
 
| right = to left
This template displays a template's shortcuts (that is, redirects, also known as aliases) in the box appearing at the right. For an example, [[Template:Tsh]] is a shortcut to this template, [[Template:Template shortcut]], and can be used in its place. This template should '''only''' be used in a template's documentation.</noinclude>
| top left
| left top = to bottom right
| top right
| right top = to bottom left
| bottom left
| left bottom = to top right
| bottom right
| right bottom = to top left
| #default = {{{1}}}
}}, {{{2|}}});</includeonly>

Revision as of 17:45, 5 February 2020