Jump to content

Template:Note pointer: Difference between revisions

From The Battle for Wesnoth Wiki
Sub2pewds (talk | contribs)
Creating template
 
Sub2pewds (talk | contribs)
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