• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

User:Dandorid/sandbox/Ref RFC

  • User page
  • Talk
  • Language
  • Watch
  • Edit
< User:Dandorid | sandbox
Documentation[view] [edit] [history] [purge]

Contents

  • 1 Usage
  • 2 Examples
    • 2.1 Example references
  • 3 Template data
  • 4 See also

Usage

edit

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

edit

{{Ref RFC|791}} yields a full reference: <ref name=rfc791>{{Cite IETF|rfc=791|title=...}} Updated by {{IETF RFC|1349|2474|6864}}.</ref>.[1]

{{Ref RFC|791|repeat=yes}} gives you an empty reference: <ref name=rfc791 />.[1] Make sure the full reference is created elsewhere. As this reference is generated automatically (thus having equal content everywhere), specifying repeat=yes does not seem necessary.

{{Ref RFC|1918|p=17}} yields a reference with a page number: <ref name=rfc1918>{{Cite IETF|rfc=1918|title=...}}{{Rp|17}}</ref>.[2] The reference itself contains no page number.

{{Ref RFC|8200|notes=no}} yields a reference to RFC 8200 without notes specifying which other RFC are affected by or are affecting this RFC.TEST TEST. doi:10.17487/RFC0123. RFC 123. {{citation}}: Unknown parameter |notes= ignored (help) It is not possible to add the same reference with notes later.

Example references

edit
  1. ^ a b J. Postel, ed. (September 1981). INTERNET PROTOCOL - DARPA INTERNET PROGRAM PROTOCOL SPECIFICATION. IETF. doi:10.17487/RFC0791. STD 5. RFC 791. IEN 128, 123, 111, 80, 54, 44, 41, 28, 26. Internet Standard 5. Obsoletes RFC 760. Updated by RFC 1349, 2474 and 6864.
  2. ^ Y. Rekhter; B. Moskowitz; D. Karrenberg; G. J. de Groot; E. Lear (February 1996). Address Allocation for Private Internets. Network Working Group. doi:10.17487/RFC1918. BCP 5. RFC 1918. Best Current Practice 5. p. 17. Obsoletes RFC 1627 and 1597. Updated by RFC 6761.

Template data

edit

Template {{Ref RFC}} is used to create references to RFCs. It uses a repository of preformatted reference texts.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
RFC Number1

The number of the RFC to reference.

Example
8200
Stringsuggested
Notesnotes

Display notes regarding the RFC or not (default: 'yes'). If set to 'no', no notes are displayed.

Example
notes=no
Stringoptional
Repeatrepeat

This reference is a repeat of an earlier one. If set to 'yes', no new reference is created, just an empty <ref name=rfc9999 /> one.

Example
repeat=yes
Stringoptional
Page numberp

Page number to reference.

Example
p=37
Stringoptional
Page numberspp

Page numbers to reference.

Example
pp=37,116-19
Stringoptional

See also

edit
  • Template:Cite IETF
  • Template:IETF RFC
  • Template:Rp
The above documentation is transcluded from User:Dandorid/sandbox/Ref RFC/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this page.
Retrieved from "https://en.wikipedia.org/w/index.php?title=User:Dandorid/sandbox/Ref_RFC&oldid=1147060829"
Last edited on 28 March 2023, at 16:24

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 28 March 2023, at 16:24 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop