Module:Hatnote/doc: Difference between revisions

From the Dyson Sphere Program Wiki
(deprecate Template:Wikipedia template, mark as SCW shared)
 
m (1 revision imported: New Files)
 

Latest revision as of 11:54, 24 March 2024

Function list
L 20 — getArgs
L 27 — removeInitialColon
L 32 — p.defaultClasses
L 40 — p.disambiguate
L 49 — p.findNamespaceId
L 69 — p.makeWikitextError
L 114 — p.quote
L 137 — decorateHatnote
L 138 — getIcon
L 161 — p.hatnote
L 177 — p._hatnote

Module:Hatnote is a meta-module that provides various functions for making hatnotes. It implements the {{hatnote}} template, for use in hatnotes at the top of pages, and the {{format link}} template, which is used to format a wikilink for use in hatnotes. It also contains a number of helper functions for use in other Lua hatnote modules.

🍪 We use cookies to keep session information to provide you a better experience.