Difference between revisions of "Template:Notes"

From LFS Manual
Jump to navigationJump to search
Line 1: Line 1:
<includeonly><ol style="list-style-type: lower-alpha">
+
<includeonly><ol style="list-style-type:lower-alpha">
 
   {{#if:{{{1|}}} | {{reference note|1|{{{1}}} }} }}
 
   {{#if:{{{1|}}} | {{reference note|1|{{{1}}} }} }}
 
   {{#if:{{{2|}}} | {{reference note|2|{{{2}}} }} }}
 
   {{#if:{{{2|}}} | {{reference note|2|{{{2}}} }} }}

Revision as of 20:54, 4 July 2025

Template Info-Icon.png

Template documentation

View - Edit

A notes list to be included in a top-level "Notes" section at the end of articles. The notes are currently handled in a different way compared to the public Wikipedia. The notes are only marked with an index in-content with template {{ref}}, and then the actual references are listed using this template, in the order of ref indices in-article (make sure the indices next to statements match the referenced content).

Basic usage

Markup Renders as
{{notes
|one
|two
|three
|four
|five
|six
|seven
}}
  1. ^ one
  2. ^ two
  3. ^ three
  4. ^ four
  5. ^ five
  6. ^ six
  7. ^ seven


Markup Renders as
{{notes
|1=one
|4=four
|6=seven
}}
  1. ^ one
  2. ^ four
  3. ^ seven