Modül:Native name
require('strict');
local getArgs = require ('Modül:Bağımsız değişkenler'). getArgs;
local lang_module = require ('Modül:Lisan');
local yes_no = require('Modül:Evethayır')
local defined_values = { italic = {['no']='no', ['off']='no'}, -- values accepted by paren = {['no']=true, ['off']=true, ['omit']=true}, -- values accepted by local messages_t = { tag_required = 'an IETF language tag as parameter {} is required', -- for name_required = 'a name as parameter {} is required', tag_required_idx = 'an IETF language tag in tag%s= is required', -- for when called from name_required_idx = 'a name in name%s= is required', empty_list = 'list is empty', -- for positional = 'positional parameters not supported', br_list = '<br /> lists not allowed', -- for list_markup = 'list markup expected for multiple names', malformed_param = 'parameter value is malformed', }
local help_links_t = { ['native name'] = 'help', ['native name checker'] = 'help', ['native name list'] = 'help', }
local error_cats_t = { ['native name'] = 'Category:Native name template errors', ['native name checker'] = 'Category:Native name checker template errors', ['native name list'] = 'Category:Native name list template errors', }
----------------------------------------------------------------------------------------
returns a formatted error message
local function error_msg (msg, template, index) local cat = ((0 == mw. title.