Module:Localisation: Revision history

From TwogPedia

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

19 August 2022

  • curprev 21:2721:27, 19 August 2022Couchor talk contribs 2,409 bytes +2,409 Created page with "local Class = require('Module:Class') local Localisation = {} local String = require('Module:StringUtils') local Logic = require('Module:Logic') function Localisation.getCountryName(country, noentry) local data = mw.loadData('Module:Localisation/data/country') -- clean the entered country value country = Localisation._cleanCountry(country) -- First try to look it up local countryname = data[country] -- Return message if none is found if countryname == nil then..."