Difference between revisions of "Template:Footnotes"

From Project Alfheim Wiki
Jump to navigation Jump to search
(Created page with "{| class="wikitable" |- style="vertical-align:top;" ! Group type !! Footnote marker template<br/>or markup !! Reference list<br/> template !! Sample labels |- |rowspan=3|''non...")
 
(Replaced content with "delete")
Tag: Replaced
 
Line 1: Line 1:
{| class="wikitable"
+
delete
|- style="vertical-align:top;"
 
! Group type !! Footnote marker template<br/>or markup !! Reference list<br/> template !! Sample labels
 
|-
 
|rowspan=3|''none by default, but optionally any'' || {{tag|ref}}
 
|rowspan=3| {{tlx|reflist}}
 
|rowspan=3| 1 2 3 4 5 6 7 8 9 10
 
|-
 
| {{tlx|r}} (for nested references)
 
|-
 
| {{tlx|refn}} (for nested references)
 
|-
 
| lower-alpha || {{tlx|efn}}<br />{{tlx|efn-la}}  || {{tlx|notelist}}<br />{{tlx|notelist-la}} || a b c d e f g h i j
 
|-
 
| upper-alpha || {{tlx|efn-ua}} || {{tlx|notelist-ua}} || A B C D E F G H I J
 
|-
 
| lower-roman || {{tlx|efn-lr}} || {{tlx|notelist-lr}} || i ii iii iv v vi vii viii ix x
 
|-
 
| upper-roman || {{tlx|efn-ur}} || {{tlx|notelist-ur}} || I II III IV V VI VII VIII IX X
 
|-
 
| lower-greek || {{tlx|efn-lg}} || {{tlx|notelist-lg}} || α β γ δ ε ζ η θ ι κ
 
|-
 
|note || {{tlx|NoteTag}} || {{tlx|NoteFoot}} || note 1 note 2 note 3
 
|}<section end=pregrouptable />
 
 
 
* {{tlx|efn}} supports {{para|name}} and {{para|group}}, which work the same as the parameters in {{tag|ref|o}} (see, for instance, the 3rd and 4th examples below). Do not enclose values in quotes.
 
* {{tlx|notelist}} supports the {{para|colwidth}}, {{para|refs}}, and {{para|group}} parameters, which work the same as the parameters in {{tlx|reflist}}. Do not enclose values in quotes.
 
 
 
In these examples, the footnote labels match between the footnote marker and the reference list:
 
 
 
{{markup|title=With lower-alpha labels
 
|<nowiki>Lorem ipsum dolor sit amet.{{efn|Footnote 1}} Consectetur adipisicing elit.{{efn|Footnote 2}} Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{{efn|Footnote 3}}
 
 
 
{{notelist}}
 
</nowiki>
 
|Lorem ipsum dolor sit amet.{{efn|Footnote 1}} Consectetur adipisicing elit.{{efn|Footnote 2}} Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{{efn|Footnote 3}}
 
 
 
{{notelist}}
 
}}
 
 
 
{{markup|title=With lower-roman labels
 
|<nowiki>Lorem ipsum dolor sit amet.{{efn-lr|Footnote 1}} Consectetur adipisicing elit.{{efn-lr|Footnote 2}} Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{{efn-lr|Footnote 3}}
 
 
 
{{notelist-lr}}
 
</nowiki>
 
|Lorem ipsum dolor sit amet.{{efn-lr|Footnote 1}} Consectetur adipisicing elit.{{efn-lr|Footnote 2}} Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{{efn-lr|Footnote 3}}
 
{{notelist-lr}}
 
}}
 
 
 
{{markup|title=With named references
 
|<nowiki>Lorem ipsum dolor sit amet.{{efn|name=fn1|Footnote 1}} Consectetur adipisicing elit.{{efn|Footnote 2}} Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{{efn|name=fn1}}
 
 
 
{{notelist}}
 
</nowiki>
 
|Lorem ipsum dolor sit amet.{{efn|name=fn1|Footnote 1}} Consectetur adipisicing elit.{{efn|Footnote 2}} Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{{efn|name=fn1}}
 
{{notelist}}
 
}}
 
Note: With named references you only need to add the details once. For each use after the first you just need to re-use the reference name. Doing this will not cause the inline superscript to display a custom name.
 
 
 
{{markup|title=Named references can also be defined in the notelist
 
|<nowiki>Lorem ipsum dolor sit amet.{{efn|name=fn1}} Consectetur adipisicing elit.{{efn|name=fn2}} Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{{efn|name=fn1}}
 
 
 
{{notelist|refs=
 
{{efn|name=fn1|Very long footnote 1}}
 
{{efn|name=fn2|Very long footnote 2}}
 
}}
 
</nowiki>
 
|Lorem ipsum dolor sit amet.{{efn|name=fn1}} Consectetur adipisicing elit.{{efn|name=fn2}} Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{{efn|name=fn1}}
 
{{notelist|refs=
 
{{efn|name=fn1|Very long footnote 1}}
 
{{efn|name=fn2|Very long footnote 2}}
 
}}
 
}}
 
'''Note''': Due to limitations in the MediaWiki software, do not use list defined footnotes that contain references.
 

Latest revision as of 17:16, 16 February 2023

delete