Module:Hatnote/doc: Difference between revisions

m 1 revision imported
m 1 revision imported
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{used in system|in [[MediaWiki:Wantedpages-summary]]}}
{{used in system|in [[MediaWiki:Wantedpages-summary]]}}
{{module rating|protected}}
{{module rating|protected}}
{{Lua|Module:Yesno|Module:Arguments}}
{{Lua|Module:Yesno|Module:Arguments|Module:Format link}}
{{Uses TemplateStyles|Module:Hatnote/styles.css}}
{{Uses TemplateStyles|Module:Hatnote/styles.css}}
This is a meta-module that provides various functions for making [[Wikipedia:Hatnote|hatnotes]]. It implements the {{tl|hatnote}} template, for use in hatnotes at the top of pages, and the {{tl|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.
This is a meta-module that provides various functions for making [[Wikipedia:Hatnote|hatnotes]]. It implements the {{tl|hatnote}} template, for use in hatnotes at the top of pages. It also contains a number of helper functions for use in other Lua hatnote modules.


== Use from wikitext ==
== Use from wikitext ==
Line 82: Line 82:
== Examples ==
== Examples ==


For an example of how this module is used in other Lua modules, see [[Module:Main]]
For an example of how this module is used in other Lua modules, see [[Module:Labelled list hatnote]]
<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
<!-- Categories go here and interwikis go in Wikidata. -->
<!-- Categories go here and interwikis go in Wikidata. -->
Line 88: Line 88:
[[Category:Modules that add a tracking category]]
[[Category:Modules that add a tracking category]]


}}</includeonly>
}}</includeonly><noinclude>
[[Category:Module documentation pages]]
</noinclude>