Template:Footnote: Difference between revisions

Template page
(Created page with "== Template data == Description: <templatedata> { "description": "Inserts an explanatory footnote. Notes can be named and grouped.", "params": { "1": { "aliases": [ "reference", "text", "content" ], "label": "Note", "description": "Text of the note", "type": "content", "suggested": true }, "name": { "label": "Ref. name", "description": "Reference name of the note", "type": "string", "suggested": true }, "group": {...")
 
No edit summary
Line 1: Line 1:
== Template data ==
<includeonly>{{#if:{{{name|}}}
Description: <templatedata>
|{{#tag:ref|{{{1|{{{reference|{{{content|{{{text|}}}}}}}}}}}}|name={{{name|}}}|group={{#switch: {{{group|}}}
{
    | note
"description": "Inserts an explanatory footnote. Notes can be named and grouped.",
    | upper-alpha
"params": {
    | upper-roman
"1": {
    | lower-alpha
"aliases": [
    | lower-greek
"reference",
    | lower-roman = {{{group|}}}
"text",
    | #default = lower-alpha
"content"
  }}
],
}}
"label": "Note",
|{{#tag:ref|{{{1|{{{reference|{{{content|{{{text|}}}}}}}}}}}}|group={{#switch: {{{group|}}}
"description": "Text of the note",
    | note
"type": "content",
    | upper-alpha
"suggested": true
    | upper-roman
},
    | lower-alpha
"name": {
    | lower-greek
"label": "Ref. name",
    | lower-roman = {{{group|}}}
"description": "Reference name of the note",
    | #default = lower-alpha
"type": "string",
  }}
"suggested": true
}}
},
}}</includeonly><noinclude>
"group": {
{{documentation}}
"label": "Reference group",
</noinclude>
"description": "Styled group to which the note belongs",
"type": "string",
"suggested": true,
"suggestedvalues": [
"upper-alpha",
"lower-greek",
"note",
"lower-roman",
"upper-roman"
]
}
}
}
</templatedata>

Revision as of 23:02, 28 June 2023