Jump to content

Template:Ref supports2/doc

Kufuma Wikipedia

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.

  1. "test 1".

{{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.

  1. Whatever the normal contents of the reference tags are. Examples are URLs, text based references, citation templates (e.g. {{Cite web}}, {{Cite journal}}, etc.)

Source:
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]

  1. "Example 1".
  2. Example 2
  3. Example 3

See also

[kulemba source]
  • {{R}}

TemplateData

[kulemba source]

This 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}}.

Template parameters

ParameterDescriptionTypeStatus
11

The reference including the <ref></ref>

Stringrequired
22

Text to display in tooltip after 'Supports: '. The text in this parameter usually should have quotes around it.

Stringrequired