Changes

Jump to navigation Jump to search

Module:Hatnote

211 bytes added, 17:51, 21 October 2015
m
1 revision imported: The current Wikipedia Template:Infobox.
-- --
-- This module produces hatnote links and links to related articles. It --
-- implements the {{hatnote}} and {{format hatnote link}} meta-templates, and includes ---- includes helper functions for other Lua hatnote modules. --
--------------------------------------------------------------------------------
else
colon = ''
end
 
-- Find whether a faux display value has been added with the {{!}} magic
-- word.
if not display then
local prePipe, postPipe = link:match('^(.-)|(.*)$')
link = prePipe or link
display = postPipe
end

Navigation menu