Template:This is a/check name: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (the previous edit comment was supposed to be this: "This should work, if not, how?")
(Maybe not)
Line 13: Line 13:
|}}
|}}
</onlyinclude></includeonly>
</onlyinclude></includeonly>
<noinclude><!-- There cant be nested comments, so i added "/* */"; This should be replaced when the "actualname" param is set for most games
{{#if:{{{arg|}}}|
{{#ifeq:{{ucfirst:{{ {{{arg}}}|actualname}}}}|Missing untranslated name!
|{{#ifeq:{{ucfirst:{{ {{{arg}}}|name}}}}|{{{arg}}} /* If actualname != Missing untranslated name!, use the name */
        |
        |* {{this is a/strings|wrong name|param={{{param}}}|arg={{{arg}}} }}
}}
    |{{#ifeq:{{ucfirst:{{ {{{arg}}}|actualname}}}}|{{{arg}}} /* If actualname == Missing untranslated name!, use actualname for comparison */
|
|* {{this is a/strings|wrong name|param={{{param}}}|arg={{{arg}}} }}
}}
}}
|}}
--></noinclude>

Revision as of 05:21, 2 June 2025