Imported from enwiki
(username removed) m (1 revision imported from wikipedia:Module:Distinguish) |
(username removed) (Imported from enwiki) Tag: Manual revert |
||
Line 1:
local mHatnote = require('
local
local mArguments --initialize lazily
local mTableTools = require('Dev:TableTools')▼
local mTableTools --initialize lazily
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
Line 7 ⟶ 8:
function p.distinguish(frame)
mArguments = require('Module:Arguments')
local args = mArguments.getArgs(frame)
local selfref = args.selfref
Line 15 ⟶ 18:
function p._distinguish(args, text, selfref)
checkType(
if #args == 0 and not text then return '' end
local text = string.format(
'Not to be confused with %s.',
text or
)
hnOptions = {selfref = selfref}
|
(username removed)