Module:Distinguish

From The Pinched Universe
Jump to navigation Jump to search

The documentation for this module is not intended to be hosted on this wiki.

However, you might be able to find it at one of the following locations:

local a=require('Module:Hatnote')local b=require('Module:Hatnote list')local c;local d;local e=require('libraryUtil')local f=e.checkType;local g={}function g.distinguish(h)c=require('Module:Arguments')d=require('Module:TableTools')local i=c.getArgs(h)local j=i.selfref;local k=i.text;i=d.compressSparseArray(i)return g._distinguish(i,k,j)end;function g._distinguish(i,k,j)f("_distinguish",1,i,'table')if#i==0 and not k then return''end;local k=string.format('Not to be confused with %s.',k or b.orList(i,true))hnOptions={selfref=j}return a._hatnote(k,hnOptions)end;return g