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

From Valve Developer Community
Jump to navigation Jump to search
(didn't work, temporarily reverting)
Tag: Manual revert
(Undo revision 480891 by Pee (talk) This should work, how?)
Line 1: Line 1:
<onlyinclude>
<includeonly><onlyinclude>
{{#if:{{{arg|}}}|
{{#if:{{{arg|}}}|
{{#ifeq:{{ucfirst:{{ {{{arg}}}|link}}}}|{{ucfirst:{{#switch:{{{arg}}}
{{#ifeq:{{ucfirst:{{ {{{arg}}}|link}}}}|{{ucfirst:{{#switch:{{{arg}}}
Line 5: Line 5:
|Source SDK Bases = Source SDK Base
|Source SDK Bases = Source SDK Base
|Source 2013 Multiplayer|Source 2013 Singleplayer = Source 2013
|Source 2013 Multiplayer|Source 2013 Singleplayer = Source 2013
|Counter-Strike 1 series = Counter-Strike series
| #default = {{{arg}}}
| #default = {{{arg}}}
}}
}}
Line 11: Line 12:
}}
}}
|}}
|}}
</onlyinclude>
</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 11:48, 31 May 2025