From Valve Developer Community
Jump to navigation
Jump to search
|
|
Line 1: |
Line 1: |
| {{Doc/subpage}}
| | #REDIRECT [[Template:Altnames/doc]] |
| <!-- Please place categories where indicated at the bottom of this page.) -->
| |
| {{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.
| |
| | |
| == Usage ==
| |
| === Parameters ===
| |
| * {{param|name1}} ''to'' {{param|name8}} - The alternate classnames.
| |
| * {{param|misc}} - ''Optional:'' Use to display additional text in the same note.
| |
| * {{param|suf}} - ''Optional:'' This is a suffix that will be added to all elements of the template to display the content in the desired language (if it is translated into it). {{ModernNote|There should be a colon before the language code, for example ":es".}}
| |
| === Example ===
| |
| <code style=padding:0><nowiki>{{altnames|name1=x|name2=y|name3=z}}</nowiki></code> would return as:
| |
| {{altnames|name1=x|name2=y|name3=z}}
| |
| | |
| <code style=padding:0><nowiki>{{altnames|name1=x|game={{game link|portal}}}}</nowiki></code> would return as:
| |
| {{altnames|name1=x|game={{game link|Portal}}}}<!--
| |
| | |
| -->{{clr}}
| |
| | |
| {{Doc/Sandbox other|
| |
| <!-- Categories below this line, please -->
| |
| [[Category:Inline note templates]] | |
| [[Category:Notice templates]]
| |
| }}
| |
Latest revision as of 16:51, 4 April 2023