Difference between revisions of "GetLocalisedName"

From Sega Retro

(Created page with "<includeonly>{{#cargo_query: table=localisednames |fields=localisedname |where=pagename="{{{1|}}}" and region="{{{2|}}}" |limit=1 |format=template |template=GetLocalisedName/C...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#cargo_query:
 
<includeonly>{{#cargo_query:
 
table=localisednames
 
table=localisednames
|fields=localisedname
+
|fields={{#if:{{{name2|}}}|localisedname2|localisedname}}
|where=pagename="{{{1|}}}" and region="{{{2|}}}"
+
|where=pagename="{{FormatSQL|{{{1|}}}}}" and region="{{{2|}}}" and (localisedname != "")
 
|limit=1
 
|limit=1
 
|format=template
 
|format=template
Line 16: Line 16:
 
{{GetLocalisedName|House of the Dead (film)|JP}}
 
{{GetLocalisedName|House of the Dead (film)|JP}}
 
{{#if:{{GetLocalisedName|House of the Dead (film)|JP}}|yes|no}}
 
{{#if:{{GetLocalisedName|House of the Dead (film)|JP}}|yes|no}}
 +
 +
<pre>{{GetLocalisedName|James "Buster" Douglas Knockout Boxing (Mega Drive)|JP}}</pre>
 +
{{GetLocalisedName|James "Buster" Douglas Knockout Boxing (Mega Drive)|JP}}
 +
{{#if:{{GetLocalisedName|James "Buster" Douglas Knockout Boxing (Mega Drive)|JP}}|yes|no}}
 +
 +
 
[[Category:Cargo templates]]
 
[[Category:Cargo templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:48, 20 June 2023

{{GetLocalisedName|House of the Dead (film)|PL}}

Dom Śmierci yes

{{GetLocalisedName|House of the Dead (film)|JP}}

House of the Dead yes

{{GetLocalisedName|James "Buster" Douglas Knockout Boxing (Mega Drive)|JP}}

no