Template:Entity also in Source 2/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "== Parameters == {{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 tra...")
 
m (→‎top: clean up, replaced: {{documentation subpage → {{Doc/subpage)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Parameters ==
{{Doc/subpage}}
{{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).
== Usage ==
:::: {{ModernNote|There should be a colon before the language code, for example ":es".}}
{{param|1}} is the name of another article. If {{param|code}} is set, the link will be code-ified.
Use {{param|alt}} to change the link text.


== Examples ==
== Translations ==
{{MdCode|<nowiki>{{Entity also in Source 2}}</nowiki>}}
Translations are done using strings subpage, which can be located [[Template:Entity_also_in_Source/strings|here]]. Please follow the format to add translations for them.
{{Entity also in Source 2}}
 
 
{{MdCode|<nowiki>{{Entity also in Source 2|suf=:ru}}</nowiki>}}
{{Entity also in Source 2|suf=:ru}}

Latest revision as of 02:15, 12 January 2024

Edit-copy.png
This is a documentation subpage for Template:Entity also in Source 2.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Usage

{{{1}}} is the name of another article. If {{{code}}} is set, the link will be code-ified. Use {{{alt}}} to change the link text.

Translations

Translations are done using strings subpage, which can be located here. Please follow the format to add translations for them.