This template is a "subroutine" of {{Cite IETF}} used for conditionally generating a list of associated document identifiers.
This "subroutine" is designed for {{Cite IETF}} and makes assumptions that may not be valid elsewhere.
It uses the following algorithm:
|Id=
parameter is given the template will simply display that value. If the |Idlink=
parameter is also given, it will be used to create an anchor link.|Id=
parameter is not given, for the |Std=
, |Bcp=
, |Fyi=
, |Rfc=
, |Draft=
, |Ien=
, and |Rtr=
parameters given, the template will append the document identifiers STD ## BCP ## FYI ## RFC #### I-D xxxxxx IEN ### RTR ## in this order with the numbers or identifiers passed to these parameters.|Idlink=
and |Idlinktype=
parameters are given they will be used to create a wikilink for the document type specified by the |Idlinktype=
parameter.|Sep=
is used to separate the document identifiers: BCP 14. RFC 2119<nowiki />
tag to prevent Rfcurl from automatically linking RFC ####.It is invoked as:
|id=
parameter>|separator=
parameter>|std=
parameter>|bcp=
parameter>|fyi=
parameter>|rfc=
parameter>|draft=
parameter>|ien=
parameter>|rtr=
parameter>{{Cite IETF/doctypes |Sep=. |Bcp=14 |Rfc=2119}}
{{Cite IETF/doctypes |Sep=. |Bcp=14 |Rfc=2119 |Idlink=#IETF_RFC_2119 |Idlinktype=rfc}}
{{Cite IETF/doctypes |Sep=. |Bcp=14 |Rfc=2119 |Idlink=#IETF_BCP_14 |Idlinktype=bcp}}