Template:Refref/doc
This is a documentation subpage for Template:Refref. It may contain usage information, categories and other content that is not part of the original template page. |
Help desk templates: |
---|
|
This template is intended to assist users at the help desk, AfC help desk, the Teahouse, for replying to {{Help me}} requests and at other fora, where the basics of providing inline citations needs to be explained. It provides a visual guide to inline citations that some users may respond better to than a text explanation alone.
Usage
- This template may be transcluded or substituted by prefixing "subst:" inside the template code. Thus you may use {{subst:
Refref}}
rather than{{Refref}}
. However, given the quantity of code in this template, transclusion may be preferable to substitution. - The template does not include automatic signing. Please remember to sign by typing four tildes (~~~~) after the template syntax (or at the end of your accompanying post to which this template may be an add-on).
- This template is collapsed by default. If you wish to disable this, substitute or transclude {{Refref/core}} instead.
Sister template
A more basic sister template exists at {{Refref2}}. It contains only the visual elements of this one, i.e., without the text explanation portion, and given its smaller footprint, is neither collapsed by default, nor hidden using a header bar. For comparison, the sister template's output is shown below:
Inline citation code; what you type in 'edit mode' | What it produces when you save |
Two separate citations.<ref>Citation text.</ref> <ref>Citation text2.</ref>
Multiple References{{reflist}} |
Two separate citations.[1][2] |
Templates that can be used between <ref>...</ref> tags to format your references
|
Help desk templates: |
---|
|