Difference between revisions of "Template:HiddenNote/doc"
From Nookipedia, the Animal Crossing wiki
Chubby Bub (talk | contribs) (Created page with "{{HiddenNote|name1=test|note1=This test note should come first.|name2=test2|note2=This test note should come second.}} This text will have the second note{{Note|name=test2}}...") |
Chubby Bub (talk | contribs) |
||
Line 1: | Line 1: | ||
− | {{HiddenNote|name1=test|note1=This test note | + | Usually, footnotes appear in the Notes section in the order they appear in the text. HiddenNote is a template that allows you to create notes in an order that doesn't display, and by using the <code>name</code> parameter of notes later on you may display them in a different order while preserving a fixed order in the Notes section, that of the HiddenNote template. |
+ | |||
+ | Example: | ||
+ | <pre> | ||
+ | {{HiddenNote | ||
+ | |name1=test | ||
+ | |note1=This test note appears in the footnotes first. | ||
+ | |name2=test2 | ||
+ | |note2=This test note appears in the footnotes second. | ||
+ | }} | ||
+ | |||
+ | This text will have the second note{{Note|name=test2}} followed by the first.{{Note|name=test}} | ||
+ | </pre> | ||
+ | |||
+ | {{HiddenNote | ||
+ | |name1=test | ||
+ | |note1=This test note appears in the footnotes first. | ||
+ | |name2=test2 | ||
+ | |note2=This test note appears in the footnotes second. | ||
+ | }} | ||
This text will have the second note{{Note|name=test2}} followed by the first.{{Note|name=test}} | This text will have the second note{{Note|name=test2}} followed by the first.{{Note|name=test}} |
Latest revision as of 03:47, September 17, 2022
Usually, footnotes appear in the Notes section in the order they appear in the text. HiddenNote is a template that allows you to create notes in an order that doesn't display, and by using the name
parameter of notes later on you may display them in a different order while preserving a fixed order in the Notes section, that of the HiddenNote template.
Example:
{{HiddenNote |name1=test |note1=This test note appears in the footnotes first. |name2=test2 |note2=This test note appears in the footnotes second. }} This text will have the second note{{Note|name=test2}} followed by the first.{{Note|name=test}}
This text will have the second note[nb 2] followed by the first.[nb 1]