Template:Reference column heading/doc
| This is a documentation subpage for Template:Reference column heading. It may contain usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 11,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Produces an abbreviated title with a tooltip for table reference columns without taking up much space. Can be, but generally should not be, substituted.
Usage
[edit]{{Refh}} → Ref.
{{Refh|multi=no}} → Ref.
In a table
[edit]{| class="wikitable"
! scope="col" | Text
! scope="col" | {{Refh}}
|-
| Content
| {{centered|<ref>...</ref>}}
|}
| Text | Ref. |
|---|---|
| Content | [1] |
Redirects
[edit]See the redirect list for multiple redirects (including the shortcuts listed at the top of this documentation page). Some examples:
- {{Reference heading}}
- {{Ref.}} - with the period.
Frequently asked questions
[edit]Ref.rather than
Refs.or
Ref(s).for the abbreviated text?
Reference(s)rather than
Referenceor
Referencesfor the tooltip text?
Name, not
Names.
Reference(s)indicates that some lines may have multiple references, whereas others only one. Even if a table currently has multiple references for every line, sticking with
(s)is best because it doesn't mislead future editors about what is required or create the possibility they forget to change the plurality if adding a new line with only a single reference. Similarly, a table that currently has only one reference per line may still wish to retain the
(s). However, if it is expected that all entries in a list will have only one reference (e.g. if each line is sourced to an entry in the same comprehensive database), then
|plural=no may be used to produce the tooltip Reference.
TemplateData
[edit]TemplateData for Reference column heading
Creates a heading for table reference columns.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| multi | multi plural | Specifies whether the column can contain multiple references per row and changes the texts to plural forms accordingly.
| Boolean | suggested |