টেমপ্লেট:R/doc

imported>T12 কর্তৃক ০০:২৭, ১৭ জানুয়ারি ২০১৪ তারিখে সংশোধিত সংস্করণ (১ টি সংশোধন)
(পরিবর্তন) ← পূর্বের সংস্করণ | সর্বশেষ সংস্করণ (পরিবর্তন) | পরবর্তী সংস্করণ → (পরিবর্তন)

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

ব্যবহার

Provides a simple wrapper for (up to 9 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[১], 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 ১] 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[১]: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. ↑  

You should either use this template, or <ref> tags, on a page; mixing them may lead to undesirable results.


উদাহরণ

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

পাতা

By passing page numbers to the parameters page1 through page9, 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.[১]:20[২][৩]: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. ↑ ১.০ ১.১ ১.২ Foo.
  2. ↑ Bar.
  3. ↑ Baz.

আরও দেখুন