citation tags that minimizes visual impact on the text, which along with the simple"> citation tags that minimizes visual impact on the text, which along with the simple"/>

Template:R/doc

Provides a simple wrapper for (up to 5 consecutive) <ref name="foo" /> citation tags that minimizes visual impact on the text, which along with the simple

Template:R/doc

Usage

Provides a simple wrapper for (up to 5 consecutive) <ref name="foo" /> citation tags that minimizes visual impact on the text, which along with the simpler syntax increases code readability and editability. For example:

usage notes
{{r|ref_name}} Adds a reference like foo[1], equivalent to <ref name="ref_name" />. This can be combined, like {{r|ref_name|another|more|ref4}} (equivalent to <ref name="ref_name" /><ref name="another" /><ref name="more" /><ref name="ref4" />).
{{r|ref_name|group=bar}} Adds a reference like foo[bar 1] for a reference in the bar group (for pages with multiple reference sections). The group applies to all references in the {{r}} call.
{{r|ref_name|page1=100}} Adds a reference like foo[1]: 100 , with a page number (page1 applies to the first reference, page2 to the second, etc.). This is only needed for multiple references to different pages in the source.
  1.  

Examples

Comparison to <ref>

unwrapped For example, fact<ref name="bacelieri" /><ref name="cochrane2006" /><ref name="emed_hpv" /> and fact.<ref name="emed_plantar" /><ref name="hipusa" /><ref name="kunnamo" />
wrapped with {{r}} For example, fact.{{r|bacelieri|cochrane2006|emed_hpv}} and fact{{r|emed_plantar|hipusa|kunnamo}}

Pages

By passing page numbers to the parameters page1 through page5, this template will add a superscripted page number to the reference. Using the code {{r|ref_name|bar|baz|page1=20|page3=5–12}}, one can generate references like these.[1]: 20 [2][3]: 5–12  The ref names must be defined, normally in a references section (as demonstrated below):

{{reflist|refs=
<ref name="ref_name">Foo.</ref>
<ref name="bar">Bar.</ref>
<ref name="baz">Baz.</ref>
}}

Resulting in:

  1. 1.0 1.1 1.2 Foo.
  2. Bar.
  3. Baz.


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.