మాడ్యూల్:Hatnote: కూర్పుల మధ్య తేడాలు

Content deleted Content added
add role="note" for screen readers per protected edit request by User:Matt Fitzpatrick
Added a simple p.disambiguate(page [, disambiguator]) helper function
పంక్తి 109:
category
)
end
 
function p.disambiguate(page, disambiguator)
-- Formats a page title with a disambiguation parenthetical,
-- i.e. "Example" → "Example (disambiguation)".
checkType('disambiguate', 1, page, 'string')
checkType('disambiguate', 2, disambiguator, 'string', true)
disambiguator = disambiguator or 'disambiguation'
return string.format('%s (%s)', page, disambiguator)
end
 
"https://te.wikipedia.org/wiki/మాడ్యూల్:Hatnote" నుండి వెలికితీశారు