Difference between revisions of "Template:HiddenNote"
From Nookipedia, the Animal Crossing wiki
Chubby Bub (talk | contribs) (it does work.) |
Chubby Bub (talk | contribs) |
||
Line 1: | Line 1: | ||
<div style="display:none;"> | <div style="display:none;"> | ||
{{Note|name={{{name1}}}|{{{note1}}}}} | {{Note|name={{{name1}}}|{{{note1}}}}} | ||
− | {{Note|name={{{name2}}}|{{{note2}}}}} | + | {{#if:{{{name2|}}}|{{Note|name={{{name2}}}|{{{note2}}}}}|}} |
− | {{Note|name={{{name3}}}|{{{note3}}}}} | + | {{#if:{{{name3|}}}|{{Note|name={{{name3}}}|{{{note3}}}}}|}} |
− | {{Note|name={{{name4}}}|{{{note4}}}}} | + | {{#if:{{{name4|}}}|{{Note|name={{{name4}}}|{{{note4}}}}}|}} |
− | {{Note|name={{{name5}}}|{{{note5}}}}} | + | {{#if:{{{name5|}}}|{{Note|name={{{name5}}}|{{{note5}}}}}|}} |
− | {{Note|name={{{name6}}}|{{{note6}}}}} | + | {{#if:{{{name6|}}}|{{Note|name={{{name6}}}|{{{note6}}}}}|}} |
− | {{Note|name={{{name7}}}|{{{note7}}}}} | + | {{#if:{{{name7|}}}|{{Note|name={{{name7}}}|{{{note7}}}}}|}} |
− | {{Note|name={{{name8}}}|{{{note8}}}}} | + | {{#if:{{{name8|}}}|{{Note|name={{{name8}}}|{{{note8}}}}}|}} |
− | {{Note|name={{{name9}}}|{{{note9}}}}} | + | {{#if:{{{name9|}}}|{{Note|name={{{name9}}}|{{{note9}}}}}|}} |
− | {{Note|name={{{name10}}}|{{{note10}}}}} | + | {{#if:{{{name10|}}}|{{Note|name={{{name10}}}|{{{note10}}}}}|}} |
</div> | </div> | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 03:41, September 17, 2022
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 3] followed by the first.[nb 2]
Notes