r

Provides a simple wrapper for (up to 9 consecutive) citation tags that minimizes visual impact on the text, which along with the simpler syntax increases code readability and editability.

Documentation icon Skabelondokumentation
    For redirect templates, se Wikipedia:Template messages/Redirect pages.

Usage

For example:

usage notes
{{r|ref_name}} Adds a reference like foo, equivalent to . This can be combined, like {{r|ref_name|another|more|ref4}} (equivalent to ).
{{r|ref_name|group=bar}} Adds a reference like foo 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.
{{r|ref_name|page=100}}
{{r|ref_name|p=100}}
{{r|ref_name|p1=100}}
{{r|ref_name|p2=100}}
Alternative syntax for |page1=,|page1=, |page1=, |page2 (respectively)

You should either use this template, or tags, on a page; mixing them may lead to undesirable results.[bør uddybes]

Examples

Comparison to

unwrapped For example, fact and fact.
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 page9, this template will add a superscripted page number to the reference, just like the {{Rp}} template does when used with <ref>. 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= Foo. Bar. Baz. }}

Resulting in:

Se også

  • Shortened footnotes in Wikipedia: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 bundling in Wikipedia:Citing sources, a recommended way of combining a list of several consecutive footnotes into a single footnote.
  • en:Wikipedia:Footnotes
  • Wiki: Kildeangivelser

Tags:

mw:Extension:Cite/Cite.php

🔥 Trending searches on Wiki Dansk:

TyrkietChatGPTGrace JonesIranBelgienBerlinmurenBirgitte Hjort SørensenStorkøbenhavnMartha ChristensenFrank ErichsenApartheidHjalmar HammarskjöldOdenseJulius CæsarMette FrederiksenMichael HyldgaardCoca-ColaKristendomJoy-Maria FrederiksenRasmus SeebachDansk VestindienRosenborg SlotEuropa-ParlamentetHanne HedelundDivya DasGrundstofSilvanAnders MatthesenDen kolde krigMette ThiesenThe BeatlesEddikesyreMegan Thee StallionPalads Teatret (København)Per RudOskar SchindlerStein BaggerMatador (tv-serie)Afsnit af StormesterLise BaastrupRasmus HøjlundViggo MortensenJehovas VidnerTroels Lund PoulsenBonderøvenNormalsideGlobal opvarmningD-dagBorgen (tv-serie)Dag HammarskjöldTysklandNelson MandelaDagmar HansenAlmindelig buksbomSingaporeGro Harlem BrundtlandKøbenhavnNiels Olsen (skuespiller)NorgeDanmarks rigeste personerLeverEsper HagenKaren BlixenSvastikaJürgen KloppYahya HassanPureGymUdvandrere på Larsens PladsMichael SchumacherDanske SpilFrederiksbergHells AngelsMartin JørgensenGuamHovedstæder i EuropaAviser i DanmarkMarie CurieVerdens syv nye underværker🡆 More