Jump to content

Template:Note start/doc: Difference between revisions

From The Battle for Wesnoth Wiki
Sub2pewds (talk | contribs)
Updating documentation
Sub2pewds (talk | contribs)
Added example
 
Line 8: Line 8:


'''instances''' denotes the number of instances where the note is called.
'''instances''' denotes the number of instances where the note is called.
== Usage ==
<nowiki>{{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}}
</nowiki>
{{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}}

Latest revision as of 23:50, 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}}

  1. ^ This is a note.
  2. ^ a b This is a note.