Template:Note: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#tag: ref|{{{1|}}}|group="note"}}</includeonly><noinclude>Adds a note to the page. For use with [[Template:NoteList]. == Example == {{note|yay}} <references group="note" />") |
No edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#tag: ref|{{{1|}}}|group= | <includeonly>{{#if:{{{name|}}}|{{#tag:ref|{{{1|}}}|group=note|name={{{name|}}}}}|{{#tag:ref|{{{1|}}}|group=note}}}}</includeonly><noinclude>{{documentation|content=Adds an inline footnote. For use with [[Template:Notelist]] and [[Template:Reflist]]. | ||
== Example == | == Example == | ||
When used with notelist: | |||
<pre>Example text.{{note|That was an example.}} Here is a named example.{{note|It appears like this.|name=named}} We can reference named examples again.{{note|name=named}} | |||
{{note| | {{notelist}}</pre> | ||
Example text.{{note|That was an example.}} Here is a named example.{{note|It appears like this.|name=named}} We can reference named examples again.{{note|name=named}} | |||
< | {{notelist}} | ||
== See also == | |||
* [[Template:Notebegin|Notebegin]] | |||
* [[Template:Ref|Ref]] | |||
* [[:Category:Citation templates]] | |||
[[Category:Templates]] | |||
[[Category:Citation templates]] | |||
== Template data == | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Note text", | |||
"required": true | |||
}, | |||
"name": {} | |||
} | |||
} | |||
</templatedata>}} | |||
</noinclude> |
Latest revision as of 12:28, 9 December 2023
Template documentation
Adds an inline footnote. For use with Template:Notelist and Template:Reflist.
Example
When used with notelist:
Example text.{{note|That was an example.}} Here is a named example.{{note|It appears like this.|name=named}} We can reference named examples again.{{note|name=named}} {{notelist}}
Example text.[note 1] Here is a named example.[note 2] We can reference named examples again.[note 2]
See also
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Note text | 1 | no description | Unknown | required |
name | name | no description | Unknown | optional |