Template:Obsolete: Difference between revisions
Jump to navigation
Jump to search

SirYodaJedi (talk | contribs) mNo edit summary |
(after fiddling with the sandbox, i made this template translatable bia strings page. But it feels odd that using any type= parameter removes some of the text. Is that wanted? All i did for now is make it translate, and add german translation.) |
||
Line 1: | Line 1: | ||
{{ | {{obsolete}} | ||
{{obsolete|type=Entity}} | |||
{{obsolete|type=Tool}} | |||
{{obsolete|type=Shader|replacement={{ent|Example page link here}}}} | |||
{{obsolete|replacement={{ent|Example page link here}}}} | |||
The above templates show the ''actual'' template, as the doc below always adds the "It may only exist/function in older engine branches" text. But that disappears if any of the "type=" parameters are used.{{todo|is it really supposed to not show the text when any of the parameters are shown? It seems wrong.}} | |||
{{Translate|type=finish|Submit translations here [[Template:Obsolete/strings]]}} | |||
{{todo|Autocats for each {{param|type}}}} | {{todo|Autocats for each {{param|type}}}} | ||
<onlyinclude>{{metanotice | <onlyinclude>{{metanotice | ||
|text = | |text = {{#switch:{{{type|entity}}} | ||
|entity|Entity= | |entity|Entity={{Obsolete/strings|Entity}} | ||
|tool|Tool= | |tool|Tool={{Obsolete/strings|Tool}} | ||
|shader|Shader= | |shader|Shader={{Obsolete/strings|Shader}} | ||
|#default=''invalid type''}} | |#default=''invalid type''}} {{Obsolete/strings|IsObsolete}} {{#switch: {{{type|entity}}}|entity|shader|tool={{Obsolete/strings|OldEngine}}}} {{#if:{{{replacement|}}}|<br/><small>{{Obsolete/strings|Replacement_lang}} {{{replacement}}}.</small>|}} | ||
|id = [[File:Obsolete-notext.png|40px|link=]] | |id = [[File:Obsolete-notext.png|40px|link=]] | ||
|rgb = 244,196,48 | |rgb = 244,196,48 |
Revision as of 09:07, 2 March 2025

This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.

This entity is obsolete. Its use is discouraged.

This tool is obsolete. Its use is discouraged.

This shader is obsolete. Its use is discouraged.
It has since been deprecated by: Example page link here.
It has since been deprecated by: Example page link here.

This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
It has since been deprecated by: Example page link here.
It has since been deprecated by: Example page link here.
The above templates show the actual template, as the doc below always adds the "It may only exist/function in older engine branches" text. But that disappears if any of the "type=" parameters are used.
Todo: is it really supposed to not show the text when any of the parameters are shown? It seems wrong.

This page has not been fully translated.
You can help by finishing the translation.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.
The following content or section specifically needs to be translated:
Submit translations here Template:Obsolete/strings
You can help by finishing the translation.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.
The following content or section specifically needs to be translated:
Submit translations here Template:Obsolete/strings
Todo: Autocats for each {{{type}}}

This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
The above documentation is transcluded from Template:Obsolete/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.