Template:Altnames: Difference between revisions
Jump to navigation
Jump to search
This entity is also tied to
(Added a description) |
(Improved template) |
||
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 {{{ | <includeonly><div title="Information" style="margin:0.4em 1em 0.5em;">[[File:AltNames.png|link=|alt=]] This entity is also tied to {{#if:{{{name1|}}} | <code>{{{name1}}}</code> }}{{#if:{{{name2|}}} | , <code>{{{name2}}}</code> }}{{#if:{{{name3|}}} | , <code>{{{name3}}}</code> }}.</div></includeonly><noinclude> | ||
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. | This template is intended to be used when an entity is tied to multiple classnames, especially those that do not appear to serve any purpose other than deprecation. | ||
List all alternate classnames | List all alternate classnames with <code>name1</code>, <code>name2</code>, and so on. <nowiki>{{altnames|name1=x|name2=y|name3=z}}</nowiki> would return as: | ||
{{altnames| | {{altnames|name1=x|name2=y|name3=z}} | ||
[[Category:Notice templates|{{PAGENAME}}]]</noinclude> | [[Category:Notice templates|{{PAGENAME}}]]</noinclude> |
Revision as of 12:55, 19 September 2019
This template is intended to be used when an entity is tied to multiple classnames, especially those that do not appear to serve any purpose other than deprecation.
List all alternate classnames with name1
, name2
, and so on. {{altnames|name1=x|name2=y|name3=z}} would return as:

x
, y
, z
.