Template:R/doc

Intent
Provides a compact shorthand for  citation tags, simplifying syntax so cutting code clutter.

For example:

and  can coexist on the same page, and like ,  can be used with or without list-defined references. In addition, a  or   parameter adds the functionality of rp:

Usage
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. or.

TemplateData
{	"params": { "1": {			"label": "Reference name 1", "description": "If this is \"RefName\", the template displays .", "type": "string", "required": true },		"2": {			"label": "Reference name 2", "description": "If this is \"RefName\", the template displays .", "type": "string", "suggested": true },		"3": {			"label": "Reference name 3", "description": "If this is \"RefName\", the template displays .", "type": "string", "suggested": true },		"4": {			"label": "Reference name 4", "description": "If this is \"RefName\", the template displays .", "type": "string" },		"5": {			"label": "Reference name 5", "description": "If this is \"RefName\", the template displays .", "type": "string" },		"6": {			"label": "Reference name 6", "description": "If this is \"RefName\", the template displays .", "type": "string" },		"7": {			"label": "Reference name 7", "description": "If this is \"RefName\", the template displays .", "type": "string" },		"8": {			"label": "Reference name 8", "description": "If this is \"RefName\", the template displays .", "type": "string" },		"9": {			"label": "Reference name 9", "description": "If this is \"RefName\", the template displays .", "type": "string" },		"group": { "aliases": [ "g", "grp" ],			"label": "Reference group", "description": "The reference group of all the references displayed; see WP:REFGROUP for help.", "type": "string", "default": "Defaults to not being in a group.", "suggested": true },		"page1": { "aliases": [ "p", "page", "pages", "pp", "p1", "pages1", "pp1" ],			"label": "Pages number(s): reference 1", "description": "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.", "example": "\"2\", \"34–38\", \"inside cover\"", "type": "content", "suggested": true },		"q1": { "aliases": [ "quote", "q", "quote1" ],			"label": "Quote: reference 1", "description": "A quote from the source. Appears when hovering over the page number, so the page number must be specified.", "type": "string", "suggested": true },		"page2": { "aliases": [ "p2", "pages2", "pp2" ],			"label": "Pages number(s): reference 2", "description": "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.", "example": "\"2\", \"34–38\", \"inside cover\"", "type": "content" },		"q2": { "aliases": [ "quote2" ],			"label": "Quote: reference 2", "description": "A quote from the source. Appears when hovering over the page number, so the page number must be specified.", "type": "string" },		"page3": { "aliases": [ "p3", "pages3", "pp3" ],			"label": "Pages number(s): reference 3", "description": "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.", "example": "\"2\", \"34–38\", \"inside cover\"", "type": "content" },		"q3": { "aliases": [ "quote3" ],			"label": "Quote: reference 3", "description": "A quote from the source. Appears when hovering over the page number, so the page number must be specified.", "type": "string" },		"page4": { "aliases": [ "p4", "pages4", "pp4" ],			"label": "Pages number(s): reference 4", "description": "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.", "example": "\"2\", \"34–38\", \"inside cover\"", "type": "content" },		"q4": { "aliases": [ "quote4" ],			"label": "Quote: reference 4", "description": "A quote from the source. Appears when hovering over the page number, so the page number must be specified.", "type": "string" },		"page5": { "aliases": [ "p5", "pages5", "pp5" ],			"label": "Pages number(s): reference 5", "description": "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.", "example": "\"2\", \"34–38\", \"inside cover\"", "type": "content" },		"q5": { "aliases": [ "quote5" ],			"label": "Quote: reference 5", "description": "A quote from the source. Appears when hovering over the page number, so the page number must be specified.", "type": "string" },		"page6": { "aliases": [ "p6", "pages6", "pp6" ],			"label": "Pages number(s): reference 6", "description": "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.", "example": "\"2\", \"34–38\", \"inside cover\"", "type": "content" },		"q6": { "aliases": [ "quote6" ],			"label": "Quote: reference 6", "description": "A quote from the source. Appears when hovering over the page number, so the page number must be specified.", "type": "string" },		"page7": { "aliases": [ "p7", "pages7", "pp7" ],			"label": "Pages number(s): reference 7", "description": "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.", "example": "\"2\", \"34–38\", \"inside cover\"", "type": "content" },		"q7": { "aliases": [ "quote7" ],			"label": "Quote: reference 7", "description": "A quote from the source. Appears when hovering over the page number, so the page number must be specified.", "type": "string" },		"page8": { "aliases": [ "p8", "pages8", "pp8" ],			"label": "Pages number(s): reference 8", "description": "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.", "example": "\"2\", \"34–38\", \"inside cover\"", "type": "content" },		"q8": { "aliases": [ "quote8" ],			"label": "Quote: reference 8", "description": "A quote from the source. Appears when hovering over the page number, so the page number must be specified.", "type": "string" },		"page9": { "aliases": [ "p9", "pages9", "pp9" ],			"label": "Pages number(s): reference 9", "description": "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.", "example": "\"2\", \"34–38\", \"inside cover\"", "type": "content" },		"q9": { "aliases": [ "quote9" ],			"label": "Quote: reference 9", "description": "A quote from the source. Appears when hovering over the page number, so the page number must be specified.", "type": "string" }	},	"description": "Provides a simple wrapper for up to nine consecutive citation tags that minimizes visual impact on the text which, along with the simpler syntax, increases code readability and ease of editing.", "paramOrder": [ "group", "1",		"page1", "q1", "2",		"page2", "q2", "3",		"page3", "q3", "4",		"page4", "q4", "5",		"page5", "q5", "6",		"page6", "q6", "7",		"page7", "q7", "8",		"page8", "q8", "9",		"page9", "q9" ] }