Template:Hatnote/doc: Difference between revisions
ReisuDesign (talk | contribs) Created page with "{{Documentation/Header}} {{Lua|Hatnote}} The Hatnotes used for adding links between articles where more context is important. Broadly speaking, a Hatnote should answer a readers' question: Am I on the right page? ==Syntax== ; Basic usage: {{T|Hatnote|''text''}} ; All parameters: {{T|Hatnote|''text''|extraclasses=''extra classes''|selfref=''yes''|category=''no''}} ==Parameters== This template accepts the following parameters: * {{F|1}} — the Hatnote text (require..." |
|||
| Line 81: | Line 81: | ||
==Technical Details== | ==Technical Details== | ||
This template uses the [[ | This template uses the [[https://community.fandom.com/wiki/Help:Lua Lua templating language]], and more information can be found [[https://dev.fandom.com/wiki/Global_Lua_Modules/Hatnote on the Global Lua Module page]]. '''For a traditional wikitext version of this template, see [[https://templates.fandom.com/wiki/Template:Hatnote Hatnote on Templates Wiki]]'''. | ||
The HTML code produced by this template looks like this: | The HTML code produced by this template looks like this: | ||
* {{F|<nowiki><div role="note" class="Hatnote"></nowiki>''Hatnote text''<nowiki></div></nowiki>}} | * {{F|<nowiki><div role="note" class="Hatnote"></nowiki>''Hatnote text''<nowiki></div></nowiki>}} | ||