Template:Footnote: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1:
<span class="ed-fn" title="{{{1}}}" tabindex="0"><span class="ed-fn-chip"></span><span class="ed-fn-
This is the source of the wiki page [[Template:Footnote]].
Usage: {{footnote|1=note text}} — renders a small dotted-underline "note" chip after
the term. Hovering it (desktop) shows the browser's native tooltip with the note;
tapping it (mobile) shows a small bubble. The note is in the title="" attribute for
the tooltip, AND in a hidden "(footnote: ...)" span so bots/RAG read it from the parsed
HTML (Docling ignores title attributes). No JavaScript — the tooltip is native + CSS
routinely contains "="). The emitter wraps inline "(footnote: ...)" annotations in▼
(MediaWiki:Common.css). Always pass 1= (note text routinely contains "="); the emitter
this template automatically (tools/doc_archive/output/render.py).▼
▲
▲annotations in this template automatically (tools/doc_archive/output/render.py).
</noinclude>
| |||