मोड्युल:Hatnote list: संशोधनहरू बीचको भिन्नता

Created page with "-------------------------------------------------------------------------------- -- Module:Hatnote list -- -- -- -- This module produces and formats lists for use in hatnotes. In particular, -- -- it implements the for-see list, i.e. lists of "For X, see Y" statements, -- -- as used in {{about}}, {{redirect}}, and their variants. Also introd..."
 
कुनै सम्पादन सारांश छैन
 
पङ्क्ति २४: पङ्क्ति २४:
--default options table used across the list stringification functions
--default options table used across the list stringification functions
local stringifyListDefaultOptions = {
local stringifyListDefaultOptions = {
conjunction = "and",
conjunction = "",
separator = ",",
separator = ",",
altSeparator = ";",
altSeparator = ";",
पङ्क्ति ७८: पङ्क्ति ७८:


-- Stringifies lists with "and" or "or"
-- Stringifies lists with "and" or "or"
function p.andList (...) return p.conjList("and", ...) end
function p.andList (...) return p.conjList("", ...) end
function p.orList (...) return p.conjList("or", ...) end
function p.orList (...) return p.conjList("वा", ...) end


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
पङ्क्ति ९०: पङ्क्ति ९०:
--default options table used across the forSee family of functions
--default options table used across the forSee family of functions
local forSeeDefaultOptions = {
local forSeeDefaultOptions = {
andKeyword = 'and',
andKeyword = '',
title = mw.title.getCurrentTitle().text,
title = mw.title.getCurrentTitle().text,
otherText = 'other uses',
otherText = 'अन्य प्रयोगहरू',
forSeeForm = 'For %s, see %s.',
forSeeForm = 'यहाँले, %sको लागि, %s हेर्नुहोस्।',
}
}


"https://churchofgod.wiki/ne/ne/मोड्युल:Hatnote_list" बाट अनुप्रेषित