Template:Ref supports2
{{{1}}}
This template is used to show what text is supported by a reference. It works by repeating the cited text in it. The first parameter is the reference (<ref>...</ref>
). Second parameter is the text supported by reference. It will show in a tooltip when the mouse is hovered over the reference marker (e.g. [1] ). If the gadget Navigation popups or the beta Hovercards is in use by the reader, then hovering just below the [1] will work better than hovering on the actual marker.
Usage
lemba{{Ref supports2|<ref>Whatever the normal contents of the reference tags are. Examples are URLs, text based references, citation templates (e.g. {{Cite web}}, {{Cite journal}}, etc.)</ref>|"some text on the page" ... "another piece of supported text"}}[1] .
The text "Supports: " is automatically prepended to the text in the second parameter and displayed in the tooltip.
- ↑ Whatever the normal contents of the reference tags are. Examples are URLs, text based references, citation templates (e.g. {{Cite web}}, {{Cite journal}}, etc.)
Example
lembaSource:
At any given time, about half of all patients with malignant cancer are experiencing pain, and more than a third of those (and two thirds of all patients with advanced cancer) experience pain of such intensity that it adversely affects their sleep, mood, social relations and activities of daily living.{{Ref supports2|<ref>{{cite web|title=Example 1|url=http://www.wikipedia.com}}</ref>|"At any given time, about half of all patients with malignant cancer are experiencing pain"}}{{Ref supports2|<ref>Example 2</ref>|"At any given time," ... "more than a third of those" ... "experience pain of such intensity that it adversely affects their sleep, mood, social relations and activities of daily living."}}{{Ref supports2|<ref>Example 3</ref>|"At any given time," ... "two thirds of all patients with advanced cancer) experience pain of such intensity that it adversely affects their sleep, mood, social relations and activities of daily living"}}
{{Reflist}}
Produces:
At any given time, about half of all patients with malignant cancer are experiencing pain, and more than a third of those (and two thirds of all patients with advanced cancer) experience pain of such intensity that it adversely affects their sleep, mood, social relations and activities of daily living.[1] [2] [3]
- ↑ "Example 1".
- ↑ Example 2
- ↑ Example 3
See also
lemba- {{R}}
TemplateData
lembaThis template is used in the second method of highlighting text supported by a reference. The first parameter is the <ref></ref> the second and up to ten additional are the names of the text segments supported as defined in {{Supported by ref}}.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | The reference including the <ref></ref> | String | required |
2 | 2 | Text to display in tooltip after 'Supports: '. The text in this parameter usually should have quotes around it. | String | required |
This template has not been added to any categories. Please help out by adding categories to it so that it can be listed with similar templates. |