Template:Footnote: Difference between revisions

Rewrote the code for this, it should work now
imported>Larsonologist
(never make a minor change to a wikipedia template, worst mistake of my life)
imported>DaWhiteLouise
(Rewrote the code for this, it should work now)
Line 1: Line 1:
<includeonly>{{#if:{{{name|}}}
<includeonly>
  |{{#tag:ref|{{{1|{{{reference|{{{content|{{{text|}}}}}}}}}}}}|name={{{name|}}}|group={{#switch: {{{group|}}}
{{#if:{{{name|}}}
    | note
  |{{#tag:ref|{{{1|{{{reference|{{{content|{{{text|}}}}}}}}}}}}|name={{{name|}}}|group=lower-alpha}}
    | upper-alpha
  |{{#tag:ref|{{{1|{{{reference|{{{content|{{{text|}}}}}}}}}}}}|group=lower-alpha}}
    | upper-roman
}}
    | lower-alpha
 
    | lower-greek
<references group="lower-alpha" />
    | lower-roman = {{{group|}}}
</includeonly>
    | #default = lower-alpha
<noinclude>
  }}
Bruh {{Footnote|text=Texty Text|name=bruh}}
}}
  |{{#tag:ref|{{{1|{{{reference|{{{content|{{{text|}}}}}}}}}}}}|group={{#switch: {{{group|}}}
    | note
    | upper-alpha
    | upper-roman
    | lower-alpha
    | lower-greek
    | lower-roman = {{{group|}}}
    | #default = lower-alpha
  }}
}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
</noinclude>