Difference between revisions of "Template:Note start/doc"

From The Battle for Wesnoth Wiki
m (Fixed wording)
(Added example)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Template:Note start|Note start]] and [[Template:Note end|Note end]] can be used to create lists of notes. Neither of them take parameters.
+
[[Template:Note start|Note start]], [[Template:Note end|Note end]] and [[Template:Note end|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 ==
 +
 
 +
<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.
This page was last edited on 27 July 2019, at 23:50.