Difference between revisions of "Hatnote inline/doc"
Jump to navigation
Jump to search
test>SMcCandlish m (SMcCandlish moved page Module:Hatnote-inline/doc to Module:Hatnote inline/doc: following move of parent page) |
m (16 revisions imported) |
||
| (7 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{module rating|<!-- Insert rating or delete if not needed. Values: "pre-alpha", "alpha", "beta", "release" or "protected". --> | + | {{module rating|<!-- Insert rating or delete if not needed. Values: "pre-alpha", "alpha", "beta", "release" or "protected". -->release|note=Could be merged into Module:Hatnote, if templates that invoke it called a particular function.}} |
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
| − | This module produces hatnote-style | + | This module produces hatnote-style notes ≠ [[WP:SELFREF|self-references and notes-to-reader]] – usually to related articles or a section/anchor at the same page. It does this inside a {{tag|span}}, instead of the {{tag|div}} used by Module:Hatnote. It implements the {{tlx|hatnote inline}} meta-template. |
== Usage == | == Usage == | ||
| Line 8: | Line 8: | ||
{{#invoke:{{BASEPAGENAME}}|''hatnote''|''text''}} | {{#invoke:{{BASEPAGENAME}}|''hatnote''|''text''}} | ||
| − | <includeonly>{{ | + | <includeonly>{{sandbox other|| |
<!-- Categories go here and interwikis go in Wikidata. --> | <!-- Categories go here and interwikis go in Wikidata. --> | ||
| − | + | [[Category:Hatnote modules| ]] | |
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 16:12, 20 September 2020
Error: {{Module rating}} must be placed in the Module namespace.
This module produces hatnote-style notes ≠ self-references and notes-to-reader – usually to related articles or a section/anchor at the same page. It does this inside a <span>...</span>, instead of the <div>...</div> used by Module:Hatnote. It implements the {{hatnote inline}} meta-template.
Usage
{{#invoke:Hatnote inline/doc|hatnote|text}}