টেমপ্লেট:R

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
পরিভ্রমণে ঝাঁপ দিন অনুসন্ধানে ঝাঁপ দিন
টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

অভিপ্রায়[সম্পাদনা]

Provides a compact shorthand for <ref name="RefName" /> citation tags, simplifying syntax so cutting code clutter.[note ১]

For example:

Using <ref> For example, fact<ref name=RefName/><ref name=Bam/><ref name=Bar/> and fact.<ref name=Bas/><ref name=Bay/><ref name=Baz/>

Displays as: For example, fact[১][২][৩] and fact.[৪][৫][৬]

Instead using {{r}} For example, fact{{r|RefName|Bam|Bar}} and fact.{{r|Bas|Bay|Baz}}

Displays as: For example, fact[১][২][৩] and fact.[৪][৫][৬]

{{r}} and <ref> can coexist on the same page, and like <ref>, {{r}} can be used with or without list-defined references. In addition, a |page= or |p= parameter adds the functionality of {{rp}}:

Using {{r}} with
|p= parameter
For example, fact.{{r|RefName|p=22}}

Displays as: For example, fact.[১]:22

ব্যবহার[সম্পাদনা]

Usage Display Notes
{{r|RefName}} Text.[১] Equivalent to <ref name="RefName" />.
{{r|RefName|p=100}}

{{r|RefName|pp=100}}

{{r|RefName|page=100}}

{{r|RefName|pages=100}}

Text.[১]:100 Adds a page number (or other location identifier) within the source.

The |p=, |pp=, |page=, and |pages= parameters are equivalent.

If the article cites only one location in a given source, reduce clutter by coding simply {{r|RefName}} and integrating the location into the main RefName citation.

{{r|RefName|p=10–14}}

{{r|RefName|pp=3, 6}}

{{r|RefName|page=§C}}

{{r|RefName|pages=Dust jacket}}

{{r|RefName|pages=para. 7}}

Text.[১]:10–14

Text.[১]:3, 6

Text.[১]:§C

Text.[১]:Dust jacket

Text.[১]:para. 7

{{r|RefName|Bam|Bar}} Text.[১][২][৩] Equivalent to {{r|RefName}}{{r|Bam}}{{r|Bar}} or <ref name=RefName/><ref name=Bam/><ref name=Bar/>.

Up to nine references may be "bundled" this way.

{{r|1=RefName|2=Bam|3=Bar|4=Bas|p1=100|p2=10–14|p4=§C}}

{{r|1=RefName|p1=100|2=Bam|p2=10–14|3=Bar|4=Bas|p4=§C}}

Text.[১]:100[২]:10–14[৩][৪]:§C Equivalent to {{r|RefName|p=100}}{{r|Bam|p=10–14}}{{r|Bar}}{{r|Bas|p=§C}}.

In the example, not all references have pages; make sure that e.g. |1= matches |p1=

{{r|group=Notes|NtName}}

{{r|grp=Notes|NtName|NtCam}}

{{r|g=Notes|NtName|p=13}}

Text.[Notes ১]

Text.[Notes ১][Notes ২]

Text.[Notes ১]:13

The |group=, |grp=, and |g= parameters are equivalent and echo <ref group=Notes name=NtName/>.

If present, the parameter applies to all references in the template.

{{r|RefName|p=100|q=quote from the text}}

{{r|RefName|p=100|quote=quote from the text}}

Text.[১]:100 Makes sense only if |p= (or one of its synonyms) is present. |quote= (or |q=) underlines the superscript page number/location identifier, signaling availability of a quote from the source, which pops up when the mouse is hovered over the underlined bit.
{{r|1=RefName|2=Bam|3=Bar|4=Bas|p1=100|p2=10–14|p4=§C|q1=Quote from 100|q4=Quote from §C}} Text.[১]:100[২]:10–14[৩][৪]:§C In the example, not all references have quotes; make sure that e.g. |1= and |p1= and |q1= all match.

The ref names may be defined within a {{reflist}} (as illustrated below) or (in the more usual way) scattered throughout the article text using e.g. <ref name=RefName>Reference text</ref> or {{refn|name=RefName|Reference text}}.

===তথ্যসূত্র===
{{reflist|refs=
<ref name=RefName>Reference text.</ref>
<ref name=Bam>Bam reference text.</ref>
<ref name=Bar>Bar reference text.</ref>
<ref name=Bas>Bas reference text.</ref>
<ref name=Bay>Bay reference text.</ref>
<ref name=Baz>Baz reference text.</ref>
}}

===নোট===
{{reflist|group=Notes|refs=
<ref name=NtName>Note text.</ref>
<ref name=NtCam>Cam note text.</ref>
}}

Resulting in:

References
  1. Reference text.
  2. Bam reference text.
  3. Bar reference text.
  4. Bas reference text.
  5. Bay reference text.
  6. Baz reference text.
Notes
  1. Note text.
  2. Cam note text.

টেমপ্লেটতথ্য[সম্পাদনা]

নতুন দৃশ্যমান সম্পাদনা দ্বারা ব্যবহৃত টেমপ্লেটের জন্য টেমপ্লেটডাটা নথি।

R শীর্ষ

Provides a simple wrapper for up to nine consecutive <ref name=RefName/> citation tags that minimizes visual impact on the text which, along with the simpler syntax, increases code readability and ease of editing.

টেমপ্লেট প্যারামিটার

প্যারামিটারবিবরণধরনঅবস্থা
Reference groupgroup g grp

The reference group of all the references displayed; see WP:REFGROUP for help.

পূর্বনির্ধারিত
Defaults to not being in a group.
স্ট্রিংপরামর্শকৃত
Reference name 11

If this is "RefName", the template displays <ref name="RefName"/>.

স্ট্রিংপ্রয়োজনীয়
Pages number(s): reference 1page1 p page pages pp p1 pages1 pp1

Adds a page number (or other location identifier) within the source. Note that you can also put this information in the original reference instead so it need only be stated once.

উদাহরণ
"2", "34–38", "inside cover"
বিষয়বস্তুপরামর্শকৃত
Quote: reference 1q1 quote q quote1

A quote from the source. Appears when hovering over the page number, so the page number must be specified.

স্ট্রিংপরামর্শকৃত
Reference name 22

If this is "RefName", the template displays <ref name="RefName"/>.

স্ট্রিংপরামর্শকৃত
Pages number(s): reference 2page2 p2 pages2 pp2

Adds a page number (or other location identifier) within the source. Note that you can also put this information in the original reference instead so it need only be stated once.

উদাহরণ
"2", "34–38", "inside cover"
বিষয়বস্তুঐচ্ছিক
Quote: reference 2q2 quote2

A quote from the source. Appears when hovering over the page number, so the page number must be specified.

স্ট্রিংঐচ্ছিক
Reference name 33

If this is "RefName", the template displays <ref name="RefName"/>.

স্ট্রিংপরামর্শকৃত
Pages number(s): reference 3page3 p3 pages3 pp3

Adds a page number (or other location identifier) within the source. Note that you can also put this information in the original reference instead so it need only be stated once.

উদাহরণ
"2", "34–38", "inside cover"
বিষয়বস্তুঐচ্ছিক
Quote: reference 3q3 quote3

A quote from the source. Appears when hovering over the page number, so the page number must be specified.

স্ট্রিংঐচ্ছিক
Reference name 44

If this is "RefName", the template displays <ref name="RefName"/>.

স্ট্রিংঐচ্ছিক
Pages number(s): reference 4page4 p4 pages4 pp4

Adds a page number (or other location identifier) within the source. Note that you can also put this information in the original reference instead so it need only be stated once.

উদাহরণ
"2", "34–38", "inside cover"
বিষয়বস্তুঐচ্ছিক
Quote: reference 4q4 quote4

A quote from the source. Appears when hovering over the page number, so the page number must be specified.

স্ট্রিংঐচ্ছিক
Reference name 55

If this is "RefName", the template displays <ref name="RefName"/>.

স্ট্রিংঐচ্ছিক
Pages number(s): reference 5page5 p5 pages5 pp5

Adds a page number (or other location identifier) within the source. Note that you can also put this information in the original reference instead so it need only be stated once.

উদাহরণ
"2", "34–38", "inside cover"
বিষয়বস্তুঐচ্ছিক
Quote: reference 5q5 quote5

A quote from the source. Appears when hovering over the page number, so the page number must be specified.

স্ট্রিংঐচ্ছিক
Reference name 66

If this is "RefName", the template displays <ref name="RefName"/>.

স্ট্রিংঐচ্ছিক
Pages number(s): reference 6page6 p6 pages6 pp6

Adds a page number (or other location identifier) within the source. Note that you can also put this information in the original reference instead so it need only be stated once.

উদাহরণ
"2", "34–38", "inside cover"
বিষয়বস্তুঐচ্ছিক
Quote: reference 6q6 quote6

A quote from the source. Appears when hovering over the page number, so the page number must be specified.

স্ট্রিংঐচ্ছিক
Reference name 77

If this is "RefName", the template displays <ref name="RefName"/>.

স্ট্রিংঐচ্ছিক
Pages number(s): reference 7page7 p7 pages7 pp7

Adds a page number (or other location identifier) within the source. Note that you can also put this information in the original reference instead so it need only be stated once.

উদাহরণ
"2", "34–38", "inside cover"
বিষয়বস্তুঐচ্ছিক
Quote: reference 7q7 quote7

A quote from the source. Appears when hovering over the page number, so the page number must be specified.

স্ট্রিংঐচ্ছিক
Reference name 88

If this is "RefName", the template displays <ref name="RefName"/>.

স্ট্রিংঐচ্ছিক
Pages number(s): reference 8page8 p8 pages8 pp8

Adds a page number (or other location identifier) within the source. Note that you can also put this information in the original reference instead so it need only be stated once.

উদাহরণ
"2", "34–38", "inside cover"
বিষয়বস্তুঐচ্ছিক
Quote: reference 8q8 quote8

A quote from the source. Appears when hovering over the page number, so the page number must be specified.

স্ট্রিংঐচ্ছিক
Reference name 99

If this is "RefName", the template displays <ref name="RefName"/>.

স্ট্রিংঐচ্ছিক
Pages number(s): reference 9page9 p9 pages9 pp9

Adds a page number (or other location identifier) within the source. Note that you can also put this information in the original reference instead so it need only be stated once.

উদাহরণ
"2", "34–38", "inside cover"
বিষয়বস্তুঐচ্ছিক
Quote: reference 9q9 quote9

A quote from the source. Appears when hovering over the page number, so the page number must be specified.

স্ট্রিংঐচ্ছিক

আরও দেখুন[সম্পাদনা]

নোট[সম্পাদনা]

  1. Here we also add alliteration.