Template:Altnames: Difference between revisions
Jump to navigation
Jump to search
(Added to "Inline note templates" category) |
(Used Template:Inline note.) |
||
| Line 1: | Line 1: | ||
< | {{lang|Template:Altnames}} | ||
<onlyinclude><includeonly>{{inline note|[[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> }}<!-- | |||
-->{{#if: {{{name4|}}} | , <code>{{{name4}}}</code> }}<!-- | |||
-->{{#if: {{{name5|}}} | , <code>{{{name5}}}</code> }}<!-- | |||
-->{{#if: {{{name6|}}} | , <code>{{{name6}}}</code> }}<!-- | |||
-->{{#if: {{{name7|}}} | , <code>{{{name7}}}</code> }}<!-- | |||
-->{{#if: {{{name8|}}} | , <code>{{{name8}}}</code> }}<!-- | |||
-->. {{{misc|}}} }}</includeonly></onlyinclude> | |||
{{documentation|content= | |||
{{inline note templates}} | |||
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. | 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. | ||
== Usage == | |||
=== Parameters === | |||
* {{param|name1}} ''to'' {{param|name8}} - The alternate classnames. | |||
* {{param|misc}} - Use to display additional text in the same note. | |||
=== Example === | |||
<code><nowiki>{{altnames|name1=x|name2=y|name3=z}}</nowiki></code> would return as: | |||
{{altnames|name1=x|name2=y|name3=z}} | {{altnames|name1=x|name2=y|name3=z}} | ||
[[Category:Inline note templates | }} | ||
[[Category:Inline note templates]] | |||
[[Category:Notice templates]] | |||
Revision as of 18:39, 14 December 2021
The above documentation is transcluded from Template:Altnames/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
This entity is also tied to