User:Dandorid/sandbox/Ref RFC/doc

Usage
Template Ref RFC is used to create references to IETF RFCs, generated from a repository of preformatted references. This way, all references are of high quality, with a minimal chance of errors, and you don't have to create each reference from scratch. You are explicitly invited to add new references or improve existing ones.

It uses templates Cite IETF and Rp to generate the reference itself.

Examples
yields a full reference:.

gives you an empty reference:. Make sure the full reference is created elsewhere. As this reference is generated automatically (thus having equal content everywhere), specifying  does not seem necessary.

yields a reference with a page number:. The reference itself contains no page number.

yields a reference to RFC 8200 without notes specifying which other RFC are affected by or are affecting this RFC. It is not possible to add the same reference with notes later.

Template data
{	"description": "Template is used to create references to RFCs. It uses a repository of preformatted reference texts.", "params": { "1": {			"description": "The number of the RFC to reference.", "example": "8200", "type": "string", "label": "RFC Number", "suggested": true },

"notes": { "description": "Display notes regarding the RFC or not (default: 'yes'). If set to 'no', no notes are displayed.", "example": "notes=no", "type": "string", "label": "Notes" },

"repeat": {

"description": "This reference is a repeat of an earlier one. If set to 'yes', no new reference is created, just an empty one.", "example": "repeat=yes", "type": "string", "label": "Repeat" },		"p": { "description": "Page number to reference.", "type": "string", "example": "p=37", "label": "Page number" },		"p": { "description": "Page number to reference.", "type": "string", "example": "p=37", "label": "Page number" },		"pp": { "description": "Page numbers to reference.", "type": "string", "example": "pp=37,116-19", "label": "Page numbers" }	},	"format": "inline" }