Template:Altnames: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Changed to be less flashy, but still gave it its own icon)
(Added a description)
Line 1: Line 1:
<includeonly><div title="Information" style="margin:0.4em 1em 0.5em;">[[File:AltNames.png|link=|alt=]] This entity is also tied to {{{1}}}.</div></includeonly><noinclude>
<includeonly><div title="Information" style="margin:0.4em 1em 0.5em;">[[File:AltNames.png|link=|alt=]] This entity is also tied to {{{1}}}.</div></includeonly><noinclude>
{{altnames|'''x''', '''y'''}}
This template is intended to be used when an entity is tied to multiple classnames that do not appear to serve any purpose other than deprecation.
 
List all alternate classnames in parameter 1. Bold or <nowiki><code></nowiki> is recommended. <nowiki>{{altnames|'''x''' and '''y'''}}</nowiki> would return as:
{{altnames|'''x''' and '''y'''}}
[[Category:Notice templates|{{PAGENAME}}]]</noinclude>
[[Category:Notice templates|{{PAGENAME}}]]</noinclude>

Revision as of 09:43, 7 August 2018

This template is intended to be used when an entity is tied to multiple classnames that do not appear to serve any purpose other than deprecation.

List all alternate classnames in parameter 1. Bold or <code> is recommended. {{altnames|'''x''' and '''y'''}} would return as:

This entity is also tied to x and y.