Difference between revisions of "Template:Note list"

From Nookipedia, the Animal Crossing wiki
(Undo revision 189059 by Dorsal Axe (talk))
Tag: Undo
Line 1: Line 1:
{{reflist|{{{1|{{{colwidth|}}}}}}|refs={{{refs|{{{notes|}}}}}}|group={{#switch: {{{group|}}}
+
<div class="note-list" style="list-style-type: {{#switch:{{{type|lower-alpha}}}
    | note
+
|none        = none
    | upper-alpha
+
|disc        = disc
    | upper-roman
+
|circle      = circle
     | lower-alpha
+
|square      = square
    | lower-greek
+
|decimal     = decimal
    | lower-roman = {{{group|}}}
+
|lower-alpha = lower-alpha
    | #default = lower-alpha
+
|upper-alpha = upper-alpha
  }}}}
+
|lower-roman = lower-roman
 +
|upper-roman = upper-roman
 +
}};"><references group="notes"/></div>
 
<noinclude>
 
<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 10:48, March 14, 2020

Template documentation (view)


Usage

{{Note list}}

This template is to be used in conjunction with Template:Note to create inline notes that will appear similarly to references. This template should ideally be used at the bottom of the article for the actual note text to appear. Each note will be automatically numbered, and notes with the same name will be grouped together as one note.

You can create multiple note lists by placing them at bottom of each section you wish to have separate lists. Any notes above the template will be incorporated into the list.

Example

This is how a note appears in the article.{{Note|name=Example Note|This is an example of a footnote in the list.}}
This is how a note appears in the article.[nb 1]
{{Note list}}


Cite error: <ref> tags exist for a group named "nb", but no corresponding <references group="nb"/> tag was found