Difference between revisions of "Hatnote inline/doc"

From blackwiki
Jump to navigation Jump to search
test>SMcCandlish
(clarify)
test>Pppery
Line 1: Line 1:
{{replace|{{replace||template|module}}|Template:|Module:|count=1}}
 
 
{{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.}}
 
{{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. -->

Revision as of 03:14, 30 April 2019

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}}