ထႅမ်းပလဵတ်ႉ:Cite IETF/refanchor
Appearance
This template is a "subroutine" of {{Cite IETF}} used for conditionally generating an anchor name.
It is invoked as:
- {{Cite IETF/refanchor
- | Prefix = text used to prefix template result
- | Sep = text used to separate the document type and identifier
- | Id = <value of
|id=
parameter> - | Rfc = <value of
|rfc=
parameter> - | Std = <value of
|std=
parameter> - | Bcp = <value of
|bcp=
parameter> - | Fyi = <value of
|fyi=
parameter> - | Draft = <value of
|draft=
parameter> - | Ien = <value of
|ien=
parameter> - | Rtr = <value of
|rtr=
parameter>
- }}
It uses the following algorithm:
- If any of
|Rfc=
,|Std=
,|Bcp=
,|Fyi=
,|Draft=
,|Ien=
, or|Rtr=
parameters are given, the template will display one of those parameter types and the associated value. - The template will give priority to the first of the parameters:
|Rfc=
,|Std=
,|Bcp=
,|Fyi=
,|Draft=
,|Ien=
, or|Rtr=
in this order and use the first matching parameter. - If none of the above parameters are given and the
|Id=
parameter is given the template will simply display that value. - If the
|Prefix=
parameter is given the template output is prefixed with this value. - If the
|Sep=
parameter is given, this value will be placed between the document type and identifier.
This "subroutine" is designed for {{Cite IETF}} and makes assumptions that may not be valid elsewhere.
Examples:
- "
{{Cite IETF/refanchor |Prefix = IETF |Rfc = 2119 |Bcp = 4}}
" produces "IETF_RFC 2119". - "
{{Cite IETF/refanchor |Rfc = 2119}}
" produces "RFC 2119".
ၽိုၼ်ၵႅမ်မိုဝ်းလၢႆးၸႂ်ႉတိုဝ်း (documentation)တီႈၽၢႆႇၼိူဝ်ၼႆႉ လုၵ်ႉတီႈ ထႅမ်းပလဵတ်ႉ:Cite IETF/refanchor/doc သေ ၶၢႆႉသႂ်ႇၶဝ်ႈ (ႁဵတ်း transclude ဝႆႉၶႃႈဢေႃႈ။ (မႄးထတ်း | ပိုၼ်း) ၽူႈၸိူဝ်းမႄးထတ်းၶဝ် ၸၢင်ႈၸၢမ်းတူၺ်းလႆႈ ၸိူဝ်းပဵၼ်ၼႃႈလိၵ်ႈ sandbox (သၢင်ႈ | ငဝ်းမိူၼ်) လႄႈ testcases (သၢင်ႈ) ႁင်း ထႅမ်းပလဵတ်ႉဢၼ်ၼႆႉ လႆႈယူႇၶႃႈ။ သႂ်ႇပိူင်ထၢၼ်ႈ ၵႃႈတီႈ ၼႃႈလိၵ်ႈၽႄ /doc လႄႈ။ ၼႃႈလိၵ်ႈၽႄ ႁင်း ထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ။. |