This template is a "subroutine" of {{Cite IETF}} used for conditionally generating an anchor name.
This "subroutine" is designed for {{Cite IETF}} and makes assumptions that may not be valid elsewhere.
It uses the following algorithm:
|Rfc=
, |Std=
, |Bcp=
, |Fyi=
, |Draft=
, |Ien=
, or |Rtr=
parameters are given, the template will display one of those parameter types and the associated value.|Rfc=
, |Std=
, |Bcp=
, |Fyi=
, |Draft=
, |Ien=
, or |Rtr=
in this order and use the first matching parameter.|Id=
parameter is given the template will simply display that value.|Prefix=
parameter is given the template output is prefixed with this value.|Sep=
parameter is given, this value will be placed between the document type and identifier.It is invoked as:
|id=
parameter>|rfc=
parameter>|std=
parameter>|bcp=
parameter>|fyi=
parameter>|draft=
parameter>|ien=
parameter>|rtr=
parameter>{{Cite IETF/refanchor |Prefix=IETF |Rfc=2119 |Bcp=4}}
{{Cite IETF/refanchor |Rfc=2119}}