Difference between revisions of "Hatnote inline/doc"

From blackwiki
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)
test>Nihiltres
Line 8: Line 8:
 
  {{#invoke:{{BASEPAGENAME}}|''hatnote''|''text''}}
 
  {{#invoke:{{BASEPAGENAME}}|''hatnote''|''text''}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{sandbox other||
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
+
[[Category:Hatnote modules| ]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 16:56, 6 February 2017

Error: {{Module rating}} must be placed in the Module namespace.

This module produces hatnote-style links and links to related articles, but 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}}