మాడ్యూల్:Details: కూర్పుల మధ్య తేడాలు
Content deleted Content added
Added support for named "topic" parameter instead of second positional parameter |
Moved tracking apparatus so that only pages using the old parameterization are categorized |
||
పంక్తి 13:
local args = mArguments.getArgs(frame, {parentOnly = true})
local page = args[1]
local topic = args.topic or (args[2] and args[2] .. '[[Category:Pages using details hatnote with topic specified]]')
if not page then
return mHatnote.makeWikitextError(
పంక్తి 29:
function p._details(page, topic, options)
page = mHatnote._formatLink(page)
topic =
local text = string.format('For more details on %s, see %s.', topic, page)
options = options or {}
|