வார்ப்புரு:Cite IETF
{{Citation/core
   |Citation class = IETF_document
   |AuthorMask = {{{author-mask|{{{authormask|}}}}}}
   |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|}}}}}}}}}}}}}}}}}}}}}
   |Surname2 = {{{last2|{{{surname2|{{{author2|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}}
   |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
   |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
   |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
   |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
   |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
   |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
   |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
   |Given1 = {{{first|{{{given|{{{first1|{{{given1|}}}}}}}}}}}}
   |Given2 = {{{first2|{{{given2|}}}}}}
   |Given3 = {{{first3|{{{given3|}}}}}}
   |Given4 = {{{first4|{{{given4|}}}}}}
   |Given5 = {{{first5|{{{given5|}}}}}}
   |Given6 = {{{first6|{{{given6|}}}}}}
   |Given7 = {{{first7|{{{given7|}}}}}}
   |Given8 = {{{first8|{{{given8|}}}}}}
   |Given9 = {{{first9|{{{given9|}}}}}}
   |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
   |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
   |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
   |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
   |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
   |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
   |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
   |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
   |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
   |Year = {{{year|{{    &lt;!-- attempt to derive year from date, if possible --&gt;
                #if:{{{date|}}}
                |{{
                   #iferror:{{#time:Y|{{{date|}}} }}
                   |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
                   |{{#time:Y|{{{date|}}} }}
                 }}
                |{{{publication-date|}}} &lt;!-- last resort --&gt;
              }}
           }}}
   |YearNote = {{{origyear|}}}
   |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
   |Title = {{
              #if:{{{title|}}}
              |{{{title}}}
              |{{
                 #if:{{{sectionname|}}}
                 ||{{
                     #if:{{{rfc|}}}{{{std|}}}{{{bcp|}}}{{{fyi|}}}{{{draft|}}}{{{ien|}}}{{{rtr|}}}{{{id|}}}{{{ID|}}}
                     |{{Cite IETF/doctypes
                        |Id = {{
                                #if:{{{id|}}}{{{ID|}}}
                                |{{{id|{{{ID|}}}}}}
                                |{{Cite IETF/refanchor
                                   |Sep = {{
                                            #if:{{#ifeq:{{yesno|{{{autolink|}}}|blank=yes}}|yes|x}}{{{url|}}}{{{archiveurl|}}}{{{idlink|}}}{{{idanchor|}}}
                                            ||{{#tag:nowiki}}
                                          }}
                                   |Rfc = {{{rfc|}}}
                                   |Std = {{{std|}}}
                                   |Bcp = {{{bcp|}}}
                                   |Fyi = {{{fyi|}}}
                                   |Draft = {{{draft|}}}
                                   |Ien = {{{ien|}}}
                                   |Rtr = {{{rtr|}}}
                                 }}
                              }}
                        |Idlink = {{
                                    #if:{{{archiveurl|}}}{{{url|}}}
                                    ||{{
                                        #if:{{{idlink|}}}
                                        |{{{idlink}}}
                                        |{{
                                           #if:{{{idanchor|}}}
                                           |#{{anchorencode:{{
                                               #ifeq:{{lc:{{{idanchor}}}}}|ietf
                                               |{{Cite IETF/refanchor
                                                  |Prefix = IETF
                                                  |Id = {{{id|{{{ID|}}}}}}
                                                  |Rfc = {{{rfc|}}}
                                                  |Std = {{{std|}}}
                                                  |Bcp = {{{bcp|}}}
                                                  |Fyi = {{{fyi|}}}
                                                  |Draft = {{{draft|}}}
                                                  |Ien = {{{ien|}}}
                                                  |Rtr = {{{rtr|}}}
                                                }}
                                               |{{{idanchor}}}
                                             }}}}
                                         }}
                                      }}
                                  }}
                      }}
                   }}
               }}
            }}
   |URL = {{
            #if:{{{title|}}}{{#if:{{{idlink|}}}{{{idanchor|}}}||{{{rfc|}}}{{{std|}}}{{{bcp|}}}{{{fyi|}}}{{{draft|}}}{{{ien|}}}{{{rtr|}}}}}
            |{{Cite IETF/makelink
               |Url = {{{archiveurl|{{{url|}}}}}}
               |Anchor = {{
                           #if:{{{sectionname|}}}
                           ||{{
                               #if:{{{section|}}}{{{appendix|}}}{{{referenceid|}}}{{{page|}}}
                               |&amp;#035;{{
                                        #if:{{{section|}}}
                                        |section-{{{section}}}
                                        |{{
                                           #if:{{{appendix|}}}
                                           |appendix-{{{appendix}}}
                                           |{{
                                              #if:{{{referenceid|}}}
                                              |ref-{{{referenceid}}}
                                              |{{
                                                 #if:{{{page|}}}
                                                 |page-{{{page}}}
                                               }}
                                            }}
                                         }}
                                      }}
                             }}
                         }}
               |Autolink = {{{autolink|}}}
               |Rfc = {{{rfc|}}}
               |Std = {{{std|}}}
               |Bcp = {{{bcp|}}}
               |Fyi = {{{fyi|}}}
               |Draft = {{{draft|}}}
               |Ien = {{{ien|}}}
               |Rtr = {{{rtr|}}}
             }}
          }}
   |At = {{
           #if:{{{pages|}}}
           |{{#if:{{{nopp|}}}||pp.&amp;nbsp;}}{{{pages}}}
           |{{
              #if:{{{page|}}}
              |{{#if:{{{nopp|}}}||p.&amp;nbsp;}}{{{page}}}
            }}
         }}{{
             #if:{{{section|}}}{{{appendix|}}}
             |{{
                #if:{{{pages|}}}{{{page|}}}
                |{{#ifeq:{{{separator|{{{seperator}}}}}}|;|&amp;#059;|{{{separator|{{{seperator|.}}}}}}}}&amp;nbsp;
              }}{{#if:{{{nosec|}}}||sec.&amp;nbsp;}}{{{sections|{{{section|{{{appendix}}}}}}}}}
           }}
   |IncludedWorkTitle = {{{sectionname|}}}
   |IncludedWorkURL = {{
                        #if:{{{sectionname|}}}
                        |{{
                           #if:{{{section-url|}}}{{{page-url|}}}
                           |{{{section-url|{{{page-url}}}}}}
                           |{{
                              #if:{{{section|}}}{{{appendix|}}}{{{referenceid|}}}{{{page|}}}
                              |{{Cite IETF/makelink
                                 |Url = {{{archiveurl|{{{url|}}}}}}
                                 |Anchor = &amp;#035;{{
                                                   #if:{{{section|}}}
                                                   |section-{{{section}}}
                                                   |{{
                                                      #if:{{{appendix|}}}
                                                      |appendix-{{{appendix}}}
                                                      |{{
                                                         #if:{{{referenceid|}}}
                                                         |ref-{{{referenceid}}}
                                                         |{{
                                                            #if:{{{page|}}}
                                                            |page-{{{page}}}
                                                          }}
                                                       }}
                                                    }}
                                                 }}
                                 |Autolink = {{{autolink|}}}
                                 |Rfc = {{{rfc|}}}
                                 |Std = {{{std|}}}
                                 |Bcp = {{{bcp|}}}
                                 |Fyi = {{{fyi|}}}
                                 |Draft = {{{draft|}}}
                                 |Ien = {{{ien|}}}
                                 |Rtr = {{{rtr|}}}
                               }}
                            }}
                         }}
                      }}
   |Other = {{{others|}}}
   |Place = {{{place|{{{location|}}}}}}
   |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
   |Publisher = {{{publisher|}}}
   |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor1|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}}}}
   |EditorSurname2 = {{{editor2-last|{{{editor2-surname|{{{editor2|}}}}}}}}}
   |EditorSurname3 = {{{editor3-last|{{{editor3-surname|{{{editor3|}}}}}}}}}
   |EditorSurname4 = {{{editor4-last|{{{editor4-surname|{{{editor4|}}}}}}}}}
   |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
   |EditorGiven2 = {{{editor2-first|{{{editor2-given|}}}}}}
   |EditorGiven3 = {{{editor3-first|{{{editor3-given|}}}}}}
   |EditorGiven4 = {{{editor4-first|{{{editor4-given|}}}}}}
   |Editorlink1 = {{{editor-link|{{{editor1-link|}}}}}}
   |Editorlink2 = {{{editor2-link|}}}
   |Editorlink3 = {{{editor3-link|}}}
   |Editorlink4 = {{{editor4-link|}}}
   |language = {{{language|}}}
   |format = {{{format|}}}
   |ID = {{
           #if:{{{title|}}}{{{sectionname|}}}
           |{{Cite IETF/doctypes
              |Id = {{{id|{{{ID|}}}}}}
              |Sep = {{#ifeq:{{{separator|{{{seperator}}}}}}|;|&amp;#059;|{{{separator|{{{seperator|.}}}}}}}}
              |Std = {{{std|}}}
              |Bcp = {{{bcp|}}}
              |Fyi = {{{fyi|}}}
              |Rfc = {{{rfc|}}}
              |Draft = {{{draft|}}}
              |Ien = {{{ien|}}}
              |Rtr = {{{rtr|}}}
              |Idlink = {{
                          #if:{{{idlink|}}}
                          |{{{idlink}}}
                          |{{
                             #if:{{{idanchor|}}}
                             |#{{anchorencode:{{
                                 #ifeq:{{lc:{{{idanchor}}}}}|ietf
                                 |{{Cite IETF/refanchor
                                    |Prefix = IETF
                                    |Id = {{{id|{{{ID|}}}}}}
                                    |Rfc = {{{rfc|}}}
                                    |Std = {{{std|}}}
                                    |Bcp = {{{bcp|}}}
                                    |Fyi = {{{fyi|}}}
                                    |Draft = {{{draft|}}}
                                    |Ien = {{{ien|}}}
                                    |Rtr = {{{rtr|}}}
                                  }}
                                 |{{{idanchor}}}
                               }}}}
                           }}
                        }}
              |Idlinktype = {{
                              #if:{{{idlinktype|}}}
                              |{{{idlinktype}}}
                              |{{
                                 #if:{{{id|}}}{{{ID|}}}
                                 ||{{
                                     #if:{{{idlink|}}}{{{idanchor|}}}
                                     |{{
                                        #if:{{{rfc|}}}
                                        |rfc
                                        |{{
                                           #if:{{{std|}}}
                                           |std
                                           |{{
                                              #if:{{{bcp|}}}
                                              |bcp
                                              |{{
                                                 #if:{{{fyi|}}}
                                                 |fyi
                                                 |{{
                                                    #if:{{{draft|}}}
                                                    |draft
                                                    |{{
                                                       #if:{{{ien|}}}
                                                       |ien
                                                       |{{
                                                          #if:{{{rtr|}}}
                                                          |rtr
                                                        }}
                                                     }}
                                                  }}
                                               }}
                                            }}
                                         }}
                                      }}
                                   }}
                               }}
                            }}
            }}
         }}
   |DOI = {{{doi|{{{DOI|}}}}}}
   |DoiBroken = {{{doi_brokendate|}}}
   |ISSN = {{{issn|{{{ISSN|}}}}}}
   |AccessDate = {{{accessdate|{{{access-date|}}}}}}
   |DateFormat = {{{dateformat|none}}}
   |OriginalURL = {{
                    #if:{{{archiveurl|}}}
                    |{{Cite IETF/makelink
                       |Url = {{{url|}}}
                       |Autolink = {{{autolink|}}}
                       |Rfc = {{{rfc|}}}
                       |Std = {{{std|}}}
                       |Bcp = {{{bcp|}}}
                       |Fyi = {{{fyi|}}}
                       |Draft = {{{draft|}}}
                       |Ien = {{{ien|}}}
                       |Rtr = {{{rtr|}}}
                     }}
                  }}
   |ArchiveURL = {{{archiveurl|}}}
   |ArchiveDate = {{{archivedate|}}}
   |laysummary = {{{laysummary|}}}
   |laydate = {{{laydate|}}}
   |quote = {{{quote|}}}
   |Ref = {{
            #ifeq:{{lc:{{{ref|}}}}}|ietf
            |{{Cite IETF/refanchor
               |Prefix = IETF
               |Id = {{{id|{{{ID|}}}}}}
               |Rfc = {{{rfc|}}}
               |Std = {{{std|}}}
               |Bcp = {{{bcp|}}}
               |Fyi = {{{fyi|}}}
               |Draft = {{{draft|}}}
               |Ien = {{{ien|}}}
               |Rtr = {{{rtr|}}}
             }}
            |{{{ref|}}}
          }}
   |Sep = {{#ifeq:{{{separator|{{{seperator}}}}}}|;|&amp;#059;|{{{separator|{{{seperator|.}}}}}}}}
   |PS = {{#if:{{{quote|}}}||{{{postscript|.}}}}}
   |AuthorSep = {{#ifeq:{{{author-separator|}}}|;|&amp;#059;|{{{author-separator|&amp;#059;}}}}}&amp;#32;
   |NameSep = {{{author-name-separator|,}}}&amp;#32;
   |Trunc = {{{display-authors|8}}}
   |amp = {{{lastauthoramp|}}}
 }}{{
   #if:{{{section-url|}}}{{{page-url|}}}
   |{{
      #if:{{{sectionname|}}}
      ||{{Citation error|you must specify {{para|sectionname}} when you use {{para|{{#if:{{{section-url|}}}|section-url|page-url}}}}|cite IETF}}
    }}
 }}{{
   #if:{{{idlink|}}}{{{idanchor|}}}
   |{{
      #if:{{{rfc|}}}{{{std|}}}{{{bcp|}}}{{{fyi|}}}{{{draft|}}}{{{ien|}}}{{{rtr|}}}{{{id|}}}{{{ID|}}}
      ||{{Citation error|you must specify one of {{para|rfc}}, {{para|std}}, {{para|bcp}}, {{para|fyi}}, {{para|draft}}, {{para|ien}}, {{para|rtr}}, or {{para|id}} when you use {{para|{{#if:{{{idlink|}}}|idlink|idanchor}}}}|cite IETF}}
    }}
 }}{{
   #if:{{{idlinktype|}}}
   |{{
      #if:{{{idlink|}}}{{{idanchor|}}}
      ||{{Citation error|you must specify {{para|idanchor}} or {{para|idlink}} when you use {{para|idlinktype}}|cite IETF}}
    }}{{
      #switch:{{lc:{{{idlinktype}}}}}  &lt;!-- silently ignore 'id' --&gt;
      |rfc |std |bcp |fyi |draft |ien |rtr |id =
      |#default = {{Citation error|unknown value: &lt;code&gt;&lt;var&gt;{{{idlinktype}}}&lt;/var&gt;&lt;/code&gt; passed to {{para|idlinktype}}, must be one of: &lt;code&gt;rfc, std, bcp, fyi, draft, ien, rtr&lt;/code&gt;|cite IETF}}
    }}