Template:Obsolete/strings: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Don't yet know how the language subpage thing works. So this is a test for now. Cause the default thing has a switch template for the entity/tool/shader. So i gotta switch the entire thing. i think.)
 
No edit summary
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{obsolete/sandbox}}
{{obsolete/sandbox|type=Entity}}
{{obsolete/sandbox|type=Tool}}
{{obsolete/sandbox|type=Shader}}
{{obsolete/sandbox|entity=1|replacement={{ent|func_brush}}}}
These are merely tests to see if the translation worked on all parameters
{{Strings subpage<!-- Don't forget to update once you add new translation to a strings. -->
{{Strings subpage<!-- Don't forget to update once you add new translation to a strings. -->
|number = 1
|number = 6
| en = 1
| en = 6
| de = 1
| de = 6
| ru = 6
}}
}}


* {{{{PAGENAME}}|Text}}
* {{{{PAGENAME}}|Entity}}
* {{{{PAGENAME}}|Tool}}
* {{{{PAGENAME}}|Shader}}
* {{{{PAGENAME}}|IsObsolete}}
* {{{{PAGENAME}}|OldEngine}}
* {{{{PAGENAME}}|QC command}}
* {{{{PAGENAME}}|Replacement_lang}}
Because the Obsolete template itself has #switch templates all over, i had to separate the sentences into little pieces. I could not find any other way. But maybe i'm stupid --[[User:MrFunreal|MrFunreal]] ([[User talk:MrFunreal|talk]]) 07:39, 2 March 2025 (PST)
 
<includeonly><onlyinclude>{{#switch:{{{1}}}<!-- Remember to keep this clean by sorting languages A-Z, and copy paste the tab space instead of pressing "SPACE" repeatedly. -->
 
| Entity = {{#switch: {{language}}
| #default = This entity
| de = Dieses Entity
| ru = Этот объект
}}


<includeonly><onlyinclude>{{#switch:{{{1}}}<!-- Remember to keep this clean by sorting A-Z, and copy paste the tab space instead of pressing "SPACE" repeatedly. -->
| QC command = {{#switch: {{language}}
| #default = This QC command
| ru = Эта QС-команда
}}
 
| Tool = {{#switch: {{language}}
| #default = This tool
| de = Dieses Tool
| ru = Этот инструмент
}}
 
| Shader = {{#switch: {{language}}
| #default = This shader
| de = Dieser Shader
| ru = Это оттенение
}}
 
| IsObsolete= {{#switch: {{language}}
| #default = is '''[[Obsolete|obsolete]]'''. Its use is discouraged.
| de = ist '''[[Obsolete|veraltet]]'''. Es wird abgeraten dies zu verwenden.
| ru = является '''[[Obsolete|устаревшим]]'''. Не рекомендуется к использованию.
}}
 
| OldEngine= {{#switch: {{language}}
| #default =It may only exist/function in older engine branches.
| de =Es ist warscheinlich nur in alten Engine-Zweige verfügbar/funktionsfähig.
| ru = Доступно/функционирует только в старых версиях платформы.
}}


| Text = {{#switch: {{{lang|{{Language}}}}}
| Replacement_lang= {{#switch: {{language}}
| #default = This {{#switch:{{{type|entity}}}
| #default = It has since been deprecated by:
|entity|Entity=entity
| de = Es wurde ersetzt durch:
|tool|Tool=tool
| ru = Заменено на:
|shader|Shader=shader
|#default=''invalid type''}} is '''[[Obsolete]]'''. Its use is discouraged{{#switch: {{{type|entity}}}|entity|shader|tool=, and it may only exist/function in older engine branches}}. {{#if:{{{replacement|}}}|<br/><small>It has since been deprecated by {{{replacement}}}.</small>|}}
| de = Diese(s) {{#switch:{{{type|entity}}}
|entity|Entity=Entity
|tool|Tool=Tool
|shader|Shader=Shader
|#default=''invalid type''}} ist '''[[Obsolete|veraltet]]'''. Es wird abgeraten dies zu verwenden{{#switch: {{{type|entity}}}|entity|shader|tool=, da es warscheinlich nur in alten Engines/Zweige verfügbar ist.}}. {{#if:{{{replacement|}}}|<br/><small>Dies wurde durch {{{replacement}}} ersetzt.</small>|}}
}}
}}


}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly>

Latest revision as of 20:46, 28 July 2025

Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
Obsolete-notext.png
This entity is obsolete. Its use is discouraged.
Obsolete-notext.png
This tool is obsolete. Its use is discouraged.
Obsolete-notext.png
This shader is obsolete. Its use is discouraged.
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
It has since been deprecated by: func_brush.

These are merely tests to see if the translation worked on all parameters

English (en)Deutsch (de)Русский (ru)
Icon-settings.png
Subpage of strings
It contains various translatable and untranslatable strings that are used in the template or anywhere else.
Icon-gnome-document-open.pngDocumentation
Number of strings:6
Approximate status of translation:English (en) 100% Deutsch (de) 100% Русский (ru) 100% 
  • This entity
  • This tool
  • This shader
  • is obsolete. Its use is discouraged.
  • It may only exist/function in older engine branches.
  • This QC command
  • It has since been deprecated by:

Because the Obsolete template itself has #switch templates all over, i had to separate the sentences into little pieces. I could not find any other way. But maybe i'm stupid --MrFunreal (talk) 07:39, 2 March 2025 (PST)