Template:Note/doc: Difference between revisions
From Warwick Wiki
Created page with "'''{{tlx|note}}''' is a simple template for creating reference-based notes. To use it, you'd type {{tlx|note|the text of the note}}, replacing "the text of the note" with whatever you want. Then you must make sure that {{tlx|notelist}} is placed somewhere at the bottom of the page, such as below {{tlx|reflist}} in the "Footnotes" section. For named notes, use <tt>|name=</tt> or <tt>|n=</tt>. <includeonly>Category:Templates</includeonly><noinclude>Category:Template..." |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''{{tlx|note}}''' is a simple template for creating reference-based notes. To use it, you'd type {{tlx|note|the text of the note}}, replacing "the text of the note" with whatever you want. Then you must make sure that {{tlx|notelist}} is placed somewhere at the bottom of the page, such as below {{tlx|reflist}} in the "Footnotes" section. For named notes, use <tt>|name=</tt> or <tt>|n=</tt>. | '''{{tlx|note}}''' is a simple template for creating reference-based notes. To use it, you'd type {{tlx|note|the text of the note}}, replacing "the text of the note" with whatever you want. Then you must make sure that {{tlx|notelist}} is placed somewhere at the bottom of the page, such as below {{tlx|reflist}} in the "Footnotes" section. For named notes, use <tt>|name=</tt> or <tt>|n=</tt>. | ||
== Template Data == | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "note text", | |||
"description": "The text of the note.", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"name": { | |||
"aliases": [ | |||
"n" | |||
], | |||
"label": "name", | |||
"description": "An optional name for the note, allowing it to be reused, or the name of a previously named note that is being reused.", | |||
"type": "line", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Used for inserting footnotes. If used, please make sure that the notelist template is then used near the bottom of the page as well.", | |||
"paramOrder": [ | |||
"1", | |||
"name" | |||
], | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
<includeonly>[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 19:30, 3 July 2025
{{note}} is a simple template for creating reference-based notes. To use it, you'd type {{note|the text of the note}}, replacing "the text of the note" with whatever you want. Then you must make sure that {{notelist}} is placed somewhere at the bottom of the page, such as below {{reflist}} in the "Footnotes" section. For named notes, use |name= or |n=.
Template Data
Used for inserting footnotes. If used, please make sure that the notelist template is then used near the bottom of the page as well.
Parameter | Description | Type | Status | |
---|---|---|---|---|
note text | 1 | The text of the note. | Content | suggested |
name | name n | An optional name for the note, allowing it to be reused, or the name of a previously named note that is being reused. | Line | suggested |