मोड्युल: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 = " | conjunction = "र", | ||
separator = ",", | separator = ",", | ||
altSeparator = ";", | altSeparator = ";", | ||
| पङ्क्ति ७८: | पङ्क्ति ७८: | ||
-- Stringifies lists with "and" or "or" | -- Stringifies lists with "and" or "or" | ||
function p.andList (...) return p.conjList(" | function p.andList (...) return p.conjList("र", ...) end | ||
function p.orList (...) return p.conjList(" | 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 = ' | andKeyword = 'र', | ||
title = mw.title.getCurrentTitle().text, | title = mw.title.getCurrentTitle().text, | ||
otherText = ' | otherText = 'अन्य प्रयोगहरू', | ||
forSeeForm = ' | forSeeForm = 'यहाँले, %sको लागि, %s हेर्नुहोस्।', | ||
} | } | ||