Difference between revisions of "Template:Notes"

From LFS Manual
Jump to navigationJump to search
Line 7: Line 7:
 
   {{#if:{{{6|}}} | {{reference note|2|{{{6}}} }} }}
 
   {{#if:{{{6|}}} | {{reference note|2|{{{6}}} }} }}
 
   {{#if:{{{7|}}} | {{reference note|2|{{{7}}} }} }}
 
   {{#if:{{{7|}}} | {{reference note|2|{{{7}}} }} }}
 +
  {{#if:{{{8|}}} | {{reference note|2|{{{8}}} }} }}
 +
  {{#if:{{{9|}}} | {{reference note|2|{{{9}}} }} }}
 
</ol></includeonly><noinclude>
 
</ol></includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 11:14, 25 June 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