Difference between revisions of "Template:Notes"

From LFS Manual
Jump to navigationJump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><ol style="list-style-type: lower-alpha">
+
<includeonly><ol type="a">
 
   {{#if:{{{1|}}} | {{reference note|1|{{{1}}} }} }}
 
   {{#if:{{{1|}}} | {{reference note|1|{{{1}}} }} }}
 
   {{#if:{{{2|}}} | {{reference note|2|{{{2}}} }} }}
 
   {{#if:{{{2|}}} | {{reference note|2|{{{2}}} }} }}
   {{#if:{{{3|}}} | {{reference note|2|{{{3}}} }} }}
+
   {{#if:{{{3|}}} | {{reference note|3|{{{3}}} }} }}
   {{#if:{{{4|}}} | {{reference note|2|{{{4}}} }} }}
+
   {{#if:{{{4|}}} | {{reference note|4|{{{4}}} }} }}
   {{#if:{{{5|}}} | {{reference note|2|{{{5}}} }} }}
+
   {{#if:{{{5|}}} | {{reference note|5|{{{5}}} }} }}
   {{#if:{{{6|}}} | {{reference note|2|{{{6}}} }} }}
+
   {{#if:{{{6|}}} | {{reference note|6|{{{6}}} }} }}
   {{#if:{{{7|}}} | {{reference note|2|{{{7}}} }} }}
+
   {{#if:{{{7|}}} | {{reference note|7|{{{7}}} }} }}
 +
  {{#if:{{{8|}}} | {{reference note|8|{{{8}}} }} }}
 +
  {{#if:{{{9|}}} | {{reference note|9|{{{9}}} }} }}
 
</ol></includeonly><noinclude>
 
</ol></includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 20:56, 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