Template:Sfnq
Appearance
Usage
[edit]This works like Template:sfn, but with an additional |q=
parameter containing a quote without quotation marks.
The output is similar to the advice given in Template:Sfn#Adding additional comments or quotes.
Examples
[edit]Some text.{{sfn|Smith|2020}} More text.{{sfnq|Smith|2020|q=A picture is worth a thousand words.}}
Debugging output:
{{sfnq|_debug=yes|Smith|2020|q=A picture is worth a thousand words.}}
References
- ^ Smith 2020.
- ^ Smith 2020: "A picture is worth a thousand words."
- ^
{{harvnb
: "A picture is worth a thousand words."|Smith |2020}}
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Sfnq in articles based on its TemplateData.
TemplateData for Sfnq
Template:sfn with a quotation
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | Line | required | |
2 | 2 | Line | required | |
Reference name | n | Named reference for use with <ref name="RefName" /> | Line | optional |
Quote | q | Quotation, without quotation marks | Content | required |
Page number | p | Number | suggested | |
Page numbers | pp | Possibly a list or a range
| Line | suggested |
In-source location | at loc | Alternative to a page number. Often a section heading.
| Line | optional |