Difference between revisions of "Template:Ref"

From LFS Manual
Jump to navigationJump to search
(Created page with "<includeonly><sup id="cite_ref-{{{1}}}">[{{{1}}}]</sup></includeonly><noinclude> {{documentation}} </noinclude>")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><sup id="cite_ref-{{{1}}}">[[#cite_note-{{{1}}}|[{{{1}}}]]]</sup></includeonly><noinclude>
+
<includeonly><sup id="{{{2|cite}}}_ref-{{{1}}}">[[#{{{2|cite}}}_note-{{{1}}}|[{{{1}}}]]]</sup></includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:31, 4 July 2025

Template Info-Icon.png

Template documentation

View - Edit

Basic usage

Markup Renders as
This is a reference{{ref|1}}

This is a reference[1]

Custom reference prefix

Markup Renders as
This is a reference{{ref|one|notes}}

This is a reference[one]