User:Deprecated/Template:DeprecatedTest: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Test)
m (Test2)
Line 1: Line 1:
<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="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;">
<div style="display: inline-block; border-bottom: 1px solid #aaa; line-height: 1.5em; font-weight: normal; margin-bottom: .2em;"></div>
[[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>
[[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>
{{User:Deprecated/Template:DeprecatedTest|Hir}}
{{User:Deprecated/Template:DeprecatedTest|Hir}}

Revision as of 00:07, 5 February 2020

Documentation

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.