Difference between revisions of "Template:HiddenNote"

From Nookipedia, the Animal Crossing wiki
Line 1: Line 1:
 
<div style="display:none;">
 
<div style="display:none;">
{{Note|name={{{name1}}}|{{{note1}}}}}
+
{{#if:{{{name1|}}}|{{Note|name={{{name1}}}|{{{note1}}}}}|Ya need at least the {{code|name1}} and {{code|note1}} parameters, silly.}}
 
{{#if:{{{name2|}}}|{{Note|name={{{name2}}}|{{{note2}}}}}|}}
 
{{#if:{{{name2|}}}|{{Note|name={{{name2}}}|{{{note2}}}}}|}}
 
{{#if:{{{name3|}}}|{{Note|name={{{name3}}}|{{{note3}}}}}|}}
 
{{#if:{{{name3|}}}|{{Note|name={{{name3}}}|{{{note3}}}}}|}}

Revision as of 03:49, September 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.