Difference between revisions of "Template:Note pointer"

From The Battle for Wesnoth Wiki
(Creating template)
 
(Allowing eight notes)
 
Line 1: Line 1:
<includeonly><sup id=tonote{{{no|}}}{{#switch: {{{instance|}}} | 1=a | 2=b | 3=c | 4=d | 5=e | 6=f }}>[[#note{{{no|}}}|[{{#switch: {{{no|}}} | 1=a | 2=b | 3=c | 4=d | 5=e | 6=f }}]]]</sup></includeonly><noinclude>{{Note pointer/doc}}{{Template}}</noinclude>
+
<includeonly><sup id=tonote{{{no|}}}{{#switch: {{{instance|}}} | 1=a | 2=b | 3=c | 4=d | 5=e | 6=f | 7=g | 8=h }}>[[#note{{{no|}}}|[{{#switch: {{{no|}}} | 1=a | 2=b | 3=c | 4=d | 5=e | 6=f | 7=g | 8=h }}]]]</sup></includeonly><noinclude>{{Note pointer/doc}}{{Template}}</noinclude>

Latest revision as of 21:33, 29 July 2019

This template creates a pointer to a note.

Parameters

no denotes the number note the template points to.

instance denotes what number pointer for that note the template represents, e.g. if there are three instances of the first note being pointed to, then instance for the second of those instances will be set to two.

Usage

{{Note pointer|no=1}}

[a]

{{Note pointer|no=2|instance=3}}

[b]

See also

This page was last edited on 29 July 2019, at 21:33.