Difference between revisions of "Template:Note item"
From The Battle for Wesnoth Wiki
(Created template) |
(Allowing two instances of a note -- experimental) |
||
Line 1: | Line 1: | ||
− | <includeonly><li id=note{{{no|}}}> <sup>[[#tonote{{{no|}}}|^]]</sup> {{{text|}}}</li></includeonly><noinclude>{{Note start/doc}}{{Template}}</noinclude> | + | <includeonly><li id=note{{{no|}}}> {{#if: {{{instances|}}} | <sup>^</sup> '''<sup>[[#tonote{{{no|}}}a|a]]</sup>''' '''<sup>[[#tonote{{{no|}}}b|b]]</sup>''' | <sup>[[#tonote{{{no|}}}|^]]</sup> }} {{{text|}}}</li></includeonly><noinclude>{{Note start/doc}}{{Template}}</noinclude> |
Revision as of 23:42, 27 July 2019
Note start, Note end and Note end can be used to create lists of notes. Only the Note item takes parameters.
Parameters
no denotes which number note it is.
text denotes the text associated with the note.
instances denotes the number of instances where the note is called.
Usage
{{Note start}} {{Note item |no=1 |text=This is a note. }} {{Note item |no=2 |text=This is a note. |instances=This note is mentioned twice in the article. }} {{Note end}}