ഫലകം:R
ദൃശ്യരൂപം
[തിരുത്തുക] [ ]ഫലകത്തിന്റെ വിവരണം
Usage
[തിരുത്തുക]Provides a simple wrapper for (up to 5 consecutive)<ref name= "foo" /> citation tagsthat 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 thebargroup (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.
|
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 parameterspage1
throughpage5
,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:
See also
[തിരുത്തുക]- Shortened footnotesinWikipedia:Citing sources,which describes the most common way of citing multiple pages of the same source.
- {{sfn}},a template that implements the most common way of citing multiple pages of the same source.
- Citation bundlinginWikipedia:Citing sources,a recommended way of combining a list of several consecutive footnotes into a single footnote.
- Wikipedia:Footnotes
- Wikipedia:Citing sources
മുകളിൽ കാണുന്നവിവരണംഫലകം:R/docഎന്ന ഉപതാളിൽ നിന്ന്ഉൾപ്പെടുത്തിയിട്ടുള്ളതാണ്.(തിരുത്തുക|നാൾവഴി) താങ്കൾക്ക് പരീക്ഷണങ്ങൾ ഫലകത്തിന്റെ എഴുത്തുകളരി(നിർമ്മിക്കുക)താളിലോ testcases(നിർമ്മിക്കുക)താളിലോ നടത്താവുന്നതാണ്. ദയവായി വർഗ്ഗങ്ങളും ബഹുഭാഷാകണ്ണികളും/വിവരണംഉപതാളിൽ മാത്രം ഇടുക.ഈ ഫലകത്തിന്റെ ഉപതാളുകൾ. |