MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=getunitalias

(main | getunitalias)
  • This module requires read rights.
  • Source: WTWikiParser
  • License: WT

Returns the name of the page of unit by its in-game code.

Parameters:
code

Unit in-game code.

This parameter is required.
lang

Language

One of the following values: ru, en
Default: en
Examples:
Return the page title for the T-34-57 (1943) tank in the current language.
api.php?action=getunitalias&code=ussr_t_34_57_1943 [open in sandbox]
Return the page name for the LaGG-3-11 aircraft in English.
api.php?action=getunitalias&code=lagg-3-11&lang=en [open in sandbox]