Template:Sfnq/sandbox
Appearance
![]() | This is the template sandbox page for Template:Sfnq (diff). |
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 | |
---|---|---|---|---|
Reference name | n | Named reference for use with <ref name="RefName" /> | Line | optional |
1 | 1 | no description | Line | required |
2 | 2 | no description | Line | required |
3 | 3 | no description | Unknown | optional |
4 | 4 | no description | Unknown | optional |
5 | 5 | no description | Unknown | optional |
6 | 6 | no description | Unknown | optional |
7 | 7 | no description | Unknown | optional |
8 | 8 | no description | Unknown | optional |
9 | 9 | no description | Unknown | optional |
Page number | p | no description | 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 |
Quote | q | Quotation, without quotation marks | Content | required |
_debug | _debug | no description | Unknown | optional |