Template:Notelist/doc: Difference between revisions

From IDU Wiki
Jump to navigation Jump to search
en>Gadget850
m (33 revisions imported)
 
(12 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{Transwiki guide |small=yes |text=See [[Template:Notelist/Transwiki guide|'''this information''']] on copying this template and modifying it for use on another wiki.}}
<!-- Categories and interwikis go at the bottom of this page. -->
<!-- Categories and interwikis go at the bottom of this page. -->
 
{{#section:Help:footnotes|pregroup}}
{{tl|notelist}} creates a section of explanatory notes that were individually specified by {{tl|efn}} tags in the article. This is analogous to the {{tag|references |single}} and {{tag|ref}} tags for normal citations.
==Tracking categories==
 
*{{clc|Category:Pages using notelist with unknown parameters}}
The {{tl|notelist}} section should generally occur before the references. This is required when the explanatory notes are referenced, otherwise there will be citations errors. Even if the explanatory notes are not referenced, they are probably more likely to be read than the references, and should be nearer to the top of the [[MOS:APPENDIX]] sections than the "References" section for this reason.
<includeonly>{{sandbox other||
 
== Usage ==
{{code|<nowiki>{{notelist}}</nowiki>}}
 
==Parameters==
* Single unnamed parameter:
: column-count: a [[natural number]] specifying fixed columns into which the reference list is to be rendered. Example: <code>|2|</code>.
: column-width: a typographic unit of measurement such as [[em (typography)#CSS|em]], specifying the width for the reference list columns. Example: <code>|30em|</code>.
* '''colwidth''': explicitly sets the column-width; do not use '''close''' with this parameter— it is not needed and it will cause '''colwidth''' to not work.
* '''refs''': used with named references (e.g., {{tag|ref|s|params=name=name}}); it specifies a list of some or all named references used in the article.
* '''group''': identifies by name the subset of references to be rendered; the value should correspond to that used inline, e.g., {{tlx|Notelist|2=group=groupname}} renders all references with groupname as the group name ({{tag|ref|o|paams=group=groupname}}).
* '''liststyle''': specifies the style used when the reference list is enumerated; if none is specified, the default is to render a numbered list.
* '''close''': forces the reference list to close and render all references defined to that point; see the [[Template:Reflist#Multiple uses|section on multiple uses]] for details.
 
==Example==
{{markup|<nowiki>
Some information.{{sfn|Smith|2009|p=1}} More information.{{efn|A clarification.{{sfn|Smith|2009|p=2}}}}
 
==Notes==
{{notelist}}
 
==Citations==
{{reflist}}
 
==References==
* {{citation|last=Smith|year=2009|title=Smith's book}}
</nowiki>|
 
Some information.{{sfn|Smith|2009|p=1}} More information.{{efn|A clarification.{{sfn|Smith|2009|p=2}}}}
{{fake heading|Notes}}
{{notelist}}
{{fake heading|Citations}}
{{reflist}}
{{fake heading|References}}
* {{citation|last=Smith|year=2009|title=Smith's book}}
}}
 
== See also ==
{{#lst:Help:Cite errors/Cite error group refs without references|rlt}}
<includeonly>
<!-- Categories and interwikis go here: -->
<!-- Categories and interwikis go here: -->
[[Category:Footnote templates]]
[[Category:Footnote templates]]
[[Category:Explanatory footnote templates]]
[[Category:Reference list templates]]
[[Category:Reference list templates]]
 
}}</includeonly>
</includeonly>
 
<includeonly>
[[ar:قالب:ثبت ملاحظة]]
[[sl:Predloga:Notelist]]
</includeonly>

Latest revision as of 19:35, 11 March 2023

{{#section:Help:footnotes|pregroup}}

Tracking categories[edit source]