మాడ్యూల్:Hatnote: కూర్పుల మధ్య తేడాలు
Content deleted Content added
Arjunaraoc (చర్చ | రచనలు) చి en:Module:Hatnote నుండి కూర్పును దిగుమతి చేసాం: తాజా |
Remove stray space per edit request; update comment and error message for move of Template:Format hatnote link to Template:Format link in 2014 |
||
పంక్తి 130:
-- with colons if necessary, and links to sections are detected and displayed
-- with " § " as a separator rather than the standard MediaWiki "#". Used in
-- the {{format
--------------------------------------------------------------------------------
పంక్తి 141:
return p.makeWikitextError(
'no link specified',
'Template:Format
args.category
)
పంక్తి 231:
local page = maybeItalicize(parsed.page, options.italicizePage)
local section = maybeItalicize(parsed.section, options.italicizeSection)
if
display = string.format('§ %s', section)
elseif section then
display = string.format('%s § %s', page, section)
else
|