<citeclass="citation">[http://archive.com ''title''], arhivirano iz [http://example.org prvotnega spletišča] dne <spanclass="cs1-visible-error error citation-comment"><codeclass="cs1-code">|archive-url=</code> zahteva <codeclass="cs1-code">|archive-date=</code> ([[Pomoč:CS1 napake#archive_missing_date|pomoč]])</span></cite><spantitle="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=title&rft_id=http%3A%2F%2Fexample.org&rfr_id=info%3Asid%2Fsl.wikipedia.org%3APredloga%3ACitat%2Ftestniprimer%2Farhiv"class="Z3988"></span>[[Kategorija:Strani z archiveurl napakami v sklicu]]'"`UNIQ--templatestyles-00000002-QINU`"'
'"`UNIQ--templatestyles-0000000C-QINU`"'<citeclass="citation cs2">[http://archive.com ''title''], arhivirano iz [http://example.org prvotnega spletišča] dne 9. septembra 2009</cite><spantitle="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=knjiga&rft.btitle=title&rft_id=http%3A%2F%2Fexample.org&rfr_id=info%3Asid%2Fsl.wikipedia.org%3APredloga%3ACitat%2Ftestniprimer%2Farhiv"class="Z3988"></span>
<citeclass="citation">[http://archive.com ''title''], arhivirano iz [http://example.org prvotnega spletišča] dne 2009-09-09</cite><spantitle="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=title&rft_id=http%3A%2F%2Fexample.org&rfr_id=info%3Asid%2Fsl.wikipedia.org%3APredloga%3ACitat%2Ftestniprimer%2Farhiv"class="Z3988"></span>'"`UNIQ--templatestyles-0000000D-QINU`"'
'"`UNIQ--templatestyles-00000011-QINU`"'<citeclass="citation cs2">[http://archive.com »title«], ''journal'', arhivirano iz [http://example.org prvotnega spletišča] dne 9. septembra 2009</cite><spantitle="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=%C4%8Dlanek&rft.jtitle=journal&rft.atitle=title&rft_id=http%3A%2F%2Fexample.org&rfr_id=info%3Asid%2Fsl.wikipedia.org%3APredloga%3ACitat%2Ftestniprimer%2Farhiv"class="Z3988"></span>
<citeclass="citation">[http://archive.com "title"], ''journal'', arhivirano iz [http://example.org prvotnega spletišča] dne 2009-09-09</cite><spantitle="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=journal&rft.atitle=title&rft_id=http%3A%2F%2Fexample.org&rfr_id=info%3Asid%2Fsl.wikipedia.org%3APredloga%3ACitat%2Ftestniprimer%2Farhiv"class="Z3988"></span>'"`UNIQ--templatestyles-00000012-QINU`"'
According to the current documentation, a URL should be specified whenever an archiveURL is present.
Therefore the current expected behaviour is for an error message to be displayed for all test cases in this section.
There are reasons to suppress this error message: an archiveURL may be useful when the original was initially not online but an archive is made later (for example by scanning paper documents), or when an original link becomes dead. Any changes to the template to support the use of archiveurl= without url= should be discussed at Template talk:Citation before being implemented.
Napaka Lua v Modul:Citation/CS1 v vrstici 3706: attempt to index local 'arch_text' (a nil value).
title, arhivirano iz prvotnega spletišča|archive-url= zahteva |url= (pomoč) dne 2009-09-09
Expanded code
<strongclass="error"><spanclass="scribunto-error mw-scribunto-error-b7a38d65">Napaka Lua v Modul:Citation/CS1 v vrstici 3706: attempt to index local 'arch_text' (a nil value).</span></strong>
<citeclass="citation">''title'', arhivirano iz prvotnega spletišča<spanclass="cs1-visible-error error citation-comment"><codeclass="cs1-code">|archive-url=</code> zahteva <codeclass="cs1-code">|url=</code> ([[Pomoč:CS1 napake#archive_missing_url|pomoč]])</span> dne 2009-09-09</cite><spantitle="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=title&rfr_id=info%3Asid%2Fsl.wikipedia.org%3APredloga%3ACitat%2Ftestniprimer%2Farhiv"class="Z3988"></span>[[Kategorija:Strani z archiveurl napakami v sklicu]]'"`UNIQ--templatestyles-00000017-QINU`"'
Citation, with archive URL, with original URL commented out
{{citat|title=title|archiveurl=http://archive.com|archivedate=2009-09-09|url=<!-- dead link http://example.com -->}}
Napaka Lua v Modul:Citation/CS1 v vrstici 3706: attempt to index local 'arch_text' (a nil value).
title, arhivirano iz prvotnega spletišča|archive-url= zahteva |url= (pomoč) dne 2009-09-09
Expanded code
<strongclass="error"><spanclass="scribunto-error mw-scribunto-error-b7a38d65">Napaka Lua v Modul:Citation/CS1 v vrstici 3706: attempt to index local 'arch_text' (a nil value).</span></strong>
<citeclass="citation">''title'', arhivirano iz prvotnega spletišča<spanclass="cs1-visible-error error citation-comment"><codeclass="cs1-code">|archive-url=</code> zahteva <codeclass="cs1-code">|url=</code> ([[Pomoč:CS1 napake#archive_missing_url|pomoč]])</span> dne 2009-09-09</cite><spantitle="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=title&rfr_id=info%3Asid%2Fsl.wikipedia.org%3APredloga%3ACitat%2Ftestniprimer%2Farhiv"class="Z3988"></span>[[Kategorija:Strani z archiveurl napakami v sklicu]]'"`UNIQ--templatestyles-0000001C-QINU`"'