Difference between revisions of "Template:HiddenNote"

From Nookipedia, the Animal Crossing wiki
(Need more notes.)
m (Need 16 notes.)
 
Line 15: Line 15:
 
{{#if:{{{name14|}}}|{{Note|name={{{name14}}}|{{{note14}}}}}|}}
 
{{#if:{{{name14|}}}|{{Note|name={{{name14}}}|{{{note14}}}}}|}}
 
{{#if:{{{name15|}}}|{{Note|name={{{name15}}}|{{{note15}}}}}|}}
 
{{#if:{{{name15|}}}|{{Note|name={{{name15}}}|{{{note15}}}}}|}}
 +
{{#if:{{{name16|}}}|{{Note|name={{{name16}}}|{{{note16}}}}}|}}
 
</div>
 
</div>
 
<noinclude>{{Documentation}}
 
<noinclude>{{Documentation}}
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 18:52, October 17, 2022

Ya need at least the name1 and note1 parameters, silly.








Template documentation (view)


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]

Notes

  1. 1.0 1.1 This test note appears in the footnotes first.
  2. 2.0 2.1 This test note appears in the footnotes second.