Template:Note: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
HiddenDragon (talk | contribs) (Use template demo template) |
||
(4 intermediate revisions by one other 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 | When used with notelist: | ||
< | {{Template demo | ||
| style = list | |||
| <nowiki>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}}</nowiki> | |||
}} | |||
== See also == | |||
* {{tlink|Notebegin}} | |||
* {{tlink|Ref}} | |||
* [[:Category:Citation templates]] | |||
== Template data == | == Template data == | ||
<noinclude> | <noinclude> | ||
Line 15: | Line 23: | ||
"label": "Note text", | "label": "Note text", | ||
"required": true | "required": true | ||
} | }, | ||
"name": {} | |||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
}} | |||
[[Category:Templates]] | |||
[[Category:Citation templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 20:36, 19 January 2025
Template documentation
Adds an inline footnote. For use with Template:Notelist and Template:Reflist.
Example
When used with notelist:
Markup
Example text.[note 1] Here is a named example.[note 2] We can reference named examples again.[note 2]
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}}Renders as
Example text.[note 1] Here is a named example.[note 2] We can reference named examples again.[note 2]
See also
- {{Notebegin}}
- {{Ref}}
- Category:Citation templates
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Note text | 1 | no description | Unknown | required |
name | name | no description | Unknown | optional |