Module:Labelled list hatnote: Difference between revisions
Content deleted Content added
Moved some stuff to defaults |
m Moved prefixes into defaults |
||
Line 16:
label = 'See also', --Final fallback for label argument
labelForm = '%s: %s',
prefixes = {'label', 'label ', 'l'},
template = 'Module:Labelled list hatnote'
}
Line 24 ⟶ 25:
-- Prefixes specify which parameters, in order, to check for display options
-- They each have numbers auto-appended, e.g. 'label1', 'label 1', & 'l1'
prefixes = prefixes or
local pages = {}
for k, v in pairs(args) do
|