Veidne:Tīmekļa atsauce
Šajā veidnē tiek izmantots skripts, kas uzrakstīts programmēšanas valodā Lua. Skatīt lapu Vikipēdija:Lua, lai uzzinātu vairāk. |
This template is used to cite non-news sources in Wikipedia articles. (See cite sources for general information about citations in Wikipedia articles and see {{cite news}} to learn about citing a news source). This template replaces deprecated template:web reference. It provides lower case parameters only.
A general discussion of the use of templates for adding citation of open-source web content to Wikipedia articles is available at citation templates.
Usage
Common forms
- Common form (with current date)
{{Tīmekļa atsauce |url= |title= |accessdate=2024-11-12 |work= |publisher= |date= }}
- Using last, first and coauthor(s) (with current date)
{{Tīmekļa atsauce |url= |title= |accessdate=2024-11-12 |last= |first= |coauthors= |date= |work= |publisher=}}
- Using author (with current date)
{{Tīmekļa atsauce |url= |title= |accessdate=2024-11-12 |author= |date= |work= |publisher=}}
- Using non-linked retrieved date, last, first
{{Tīmekļa atsauce |url= |title= |accessmonthday= |accessyear= |last= |first= |date= |work= |publisher=}}
- Using non-linked retrieved date, author
{{Tīmekļa atsauce |url= |title= |accessmonthday= |accessyear= |author= |date= |work= |publisher=}}
All parameters
When copying all parameters, in either horizontal or vertical layout, delete those you don't need.
- All parameters, horizontal layout
{{Tīmekļa atsauce |url= |title= |accessdate= |accessmonthday= |accessdaymonth= |accessyear= |author= |last= |first= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |doi= |archiveurl= |archivedate= |quote=}}
- All parameters, vertical layout
{{Tīmekļa atsauce |url= |title= |accessdate= |accessdaymonth= |accessmonthday= |accessyear= |author= |last= |first= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |doi= |archiveurl= |archivedate= |quote= }}
Required parameters
- url: URL of online item.
- title: Title of online item.
For producing a wikilinked date of retrieval:
- accessdate: Full date when item was accessed, in ISO 8601 YYYY-MM-DD format, for example "accessdate = 2024-11-12". Must not be wikilinked
For producing a non-wikilinked date of retrieval:
- accessmonthday and accessyear: Month and day when item was accessed, for example "accessmonthday = May 10", and year when item was accessed, for example "accessyear = 2006". Produces: Retrieved on May 10, 2006.
- accessdaymonth and accessyear: Month and day when item was accessed, for example "accessdaymonth= 10 May", and year when item was accessed, for example "accessyear = 2006". Produces: Retrieved on 10 May 2006.
Optional parameters
- author: Author
- last works with first to produce
last, first
- authorlink works either with author or with last & first to link to the appropriate wikipedia article. Does not work with URLs.
- coauthors: allows additional authors
- last works with first to produce
- date: Full date of publication, preferably in ISO 8601 YYYY-MM-DD format, e.g. 2006-02-17. Must not be wikilinked
- OR: year: Year of publication, and month: Name of the month of publication. If you also have the day, use date instead. Must not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: If this item is part of a larger "work", such as a book, periodical or website, write the name of that work.
- publisher: Publisher, if any—for example if the website is hosted by a government service, educational institution, or company
- pages: pp. 5–7: first page and optional last page. This is for listing the pages relevant to the citation, not the total number of pages in the book.
- language: language of publication (don't specify "English" as this is the default).
- doi: A digital object identifier for the document, such as 10.1038/news070508-7
- archiveurl: Significant webpages can be archived, in which case this parameter is the URL of the archived copy (requires archivedate).
- archivedate: Date when the item was archived (requires archiveurl), in ISO 8601 YYYY-MM-DD format, e.g. 2006-02-17. Must not be wikilinked; it will be linked automatically.
- quote: Relevant quote from online item.
Examples
- Some standard use cases
- {{Tīmekļa atsauce
|author=Doe, John
|title=My favorite things part II
|publisher=Open Publishing
|date=2005-04-30
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=2005-07-06
}}
→ Doe, John. «My favorite things part II». Encyclopedia of things. Open Publishing, 2005-04-30. Skatīts: 2005-07-06.
- {{Tīmekļa atsauce
|author=Doe, John
|title=My favorite things part II
|date=2005-04-30
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=2005-07-06
}}
→ Doe, John. «My favorite things part II». Encyclopedia of things, 2005-04-30. Skatīts: 2005-07-06.
- {{Tīmekļa atsauce
|author=Doe, John
|title=My favorite things part II
|date=2005-04-30
|url=http://www.example.org/
|accessdate=2005-07-06
}}
→ Doe, John. «My favorite things part II», 2005-04-30. Skatīts: 2005-07-06.
- {{Tīmekļa atsauce
|author=Doe, John
|title=My favorite things part II
|url=http://www.example.org/
|accessdate=2005-07-06
}}
→ Doe, John. «My favorite things part II». Skatīts: 2005-07-06.
- {{Tīmekļa atsauce
|title=My favorite things part II
|url=http://www.example.org/
|accessdate=2005-07-06
}}
→ «My favorite things part II». Skatīts: 2005-07-06.
- {{Tīmekļa atsauce
|url=http://www.nfl.com/fans/
|title=Digest of rules
|publisher= National Football League
|accessdate=2005-07-06
}}
→ «Digest of rules». National Football League. Skatīts: 2005-07-06.
- Non-linking date of retrieval (using accessmonthday and accessyear)
- {{Tīmekļa atsauce
|title=My favorite things part II
|work=Encyclopedia of things
|url=http://www.example.org/
|accessmonthday=July 6
|accessyear=2005
}}
→ «My favorite things part II». Encyclopedia of things. Ignorēts nezināms parametrs|accessyear=
; Ignorēts nezināms parametrs|accessmonthday=
- Using format
- {{Tīmekļa atsauce
|title=List of psychotropic substances under international control
|publisher=International Narcotics Control Board
|url=http://www.incb.org/pdf/e/list/green.pdf
|format=PDF
|accessdate=2005-07-06
}}
→ «List of psychotropic substances under international control» (PDF). International Narcotics Control Board. Skatīts: 2005-07-06.
- language
- {{Tīmekļa atsauce
|author=Joliet, François
|title=Honnit soit qui mal y pense
|date=2005-04-30
|url=http://www.example.org/
|accessdate=2005-07-06
|language=French
}}
→ Joliet, François. «Honnit soit qui mal y pense» (French), 2005-04-30. Skatīts: 2005-07-06.
- coauthors
- {{Tīmekļa atsauce
|first=John
|last=Doe
|coauthors=Smith, Peter; Smythe, Jim
|title=My favorite things part II
|publisher=Open Publishing
|date=2005-04-30
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=2006-05-16
}}
→ John Doe; Smith, Peter; Smythe, Jim. «My favorite things part II». Encyclopedia of things. Open Publishing, 2005-04-30. Skatīts: 2006-05-16.
- No author
- {{Tīmekļa atsauce
|title=My favorite things part II
|publisher=Open Publishing
|date=2005-04-30
|work=Encyclopedia of things
|url=http://www.example.org/ | accessdate=2006-05-16
}}
→ «My favorite things part II». Encyclopedia of things. Open Publishing. 2005-04-30. Skatīts: 2006-05-16.
- No author, no publisher
- {{Tīmekļa atsauce
|title=My favorite things part II
|date=2005-04-30
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=2005-07-06
}}
→ «My favorite things part II». Encyclopedia of things. 2005-04-30. Skatīts: 2005-07-06.
- {{Tīmekļa atsauce
|title=My favorite things part II
|date=2005-04-30
|url=http://www.example.org/
|accessdate=2005-07-06}}
→ «My favorite things part II». 2005-04-30. Skatīts: 2005-07-06.
- {{Tīmekļa atsauce
|title=List of psychotropic substances under international control
|date=2005-04-30
|url=http://www.incb.org/pdf/e/list/green.pdf
|format=PDF
|accessdate=2005-07-06
|language=Greek
}}
→ «List of psychotropic substances under international control» (PDF) (Greek). 2005-04-30. Skatīts: 2005-07-06.
- Using archiveurl and archivedate to refer to items that went away but are available from an archive site
- {{Tīmekļa atsauce
|title=List of psychotropic substances under international control
|date=2005-04-30
|url=http://www.incb.org/pdf/e/list/green.pdf
|format=PDF
|accessdate=2005-07-06
|archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf
|archivedate=2005-09-11
}}
→ «List of psychotropic substances under international control» (PDF). 2005-04-30. Arhivēts no oriģināla, laiks: 2005-09-11. Skatīts: 2005-07-06.
- {{Tīmekļa atsauce
|url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm
|title=Interview with Maggie Downs
|date=2006-03-31
|publisher=The Desert Sun
|archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm
|archivedate=2006-04-26
}}
→ «Interview with Maggie Downs». The Desert Sun. 2006-03-31. Arhivēts no oriģināla, laiks: 2006-04-26.
- Using quote
- {{Tīmekļa atsauce
|title=My favorite things part II
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=2005-07-06
|quote=Lorem ipsum dolor.
}}
→ «My favorite things part II». Encyclopedia of things. Skatīts: 2005-07-06.Lorem ipsum dolor.
- Omitting the title in error
- {{Tīmekļa atsauce
|work=Encyclopedia of things
|url=http://www.example.org/
|accessdate=2005-07-06
|quote=Lorem ipsum dolor.
}}
→ Encyclopedia of things http://www.example.org/. Skatīts: 2005-07-06.Lorem ipsum dolor.
Tukšs vai neesošs|title=
Formatē atsauci uz tīmekļa vietni, izmantojot tādu norādīto informāciju kā URL un nosaukums.
Parametrs | Apraksts | Tips | Statuss | |
---|---|---|---|---|
URL | url URL | Tīmekļa lapas URL, kur var atrast publikācijas tekstu. Jānorāda arī protokols, piemēram, "https://..."
| Teksts | obligāts |
Nosaukums | title | Lapas nosaukums; tiks attēlots pēdiņās. Parasti atrodams pārlūka loga augšpusē. Nav tas pats, kas tīmekļa vietnes nosaukums. | Teksts | obligāts |
Uzvārds | last last1 author author1 author1-last author-last surname1 author-last1 subject1 surname author-last subject | The surname of the author; don't wikilink, use 'authorlink'; can suffix with a numeral to add additional authors | Īss teksts | ieteicams |
Vārds | first given author-first first1 given1 author-first1 author1-first | Given or first name, middle names, or initials of the author; don't wikilink, use 'authorlink'; can suffix with a numeral to add additional authors | Īss teksts | ieteicams |
Autora saite | authorlink author-link subjectlink subject-link authorlink1 author-link1 author1-link subjectlink1 author1link subject-link1 subject1-link subject1link | Esošas Vikipēdijas lapas par autoru nosaukums; var pielikt ciparu beigās, lai pievienotu papildu autorus | Lapas nosaukums | neobligāts |
Last name 2 | last2 author2 | The surname of the second author; don't wikilink, use 'authorlink2'. | Īss teksts | neobligāts |
First name 2 | first2 | Given or first name, middle names, or initials of the second author; don't wikilink. | Īss teksts | neobligāts |
Author link 2 | authorlink2 author2-link | Title of existing Wikipedia article about the second author. | Lapas nosaukums | neobligāts |
Izdevējs | publisher | Izdevējs nosaukums, var likt vikisaiti. Vairumā gadījumu nevajag likt gan "Izdevējs", gan "Tīmekļa vietne". | Teksts | neobligāts |
Editor last name | editor-last editor1-last editor editors | The surname of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors. | Īss teksts | neobligāts |
Editor first name | editor-first editor1-first | Given or first name, middle names, or initials of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors; alias of 'editor1-first' | Īss teksts | neobligāts |
Editor link | editor-link editor1-link | Title of existing Wikipedia article about the editor; can suffix with a numeral to add additional editors | Lapas nosaukums | neobligāts |
Editor last name 2 | editor2-last editor2 | The surname of the second editor; don't wikilink, use 'editor2-link'. | Īss teksts | neobligāts |
Editor first name 2 | editor2-first | Given or first name, middle names, or initials of the second editor; don't wikilink. | Īss teksts | neobligāts |
Editor link 2 | editor2-link editor2link editorlink2 | Title of existing Wikipedia article about the second editor. | Lapas nosaukums | neobligāts |
Tīmekļa vietne | website work | Tīmekļa vietnes nosaukums, var likt vikisaiti, tiks attēlota kursīvā. Vairumā gadījumu nevajag likt gan "Tīmekļa vietne", gan "Izdevējs".
| Teksts | neobligāts |
URL apskates datums | access-date accessdate | Datums, kad URL tika apskatīts; nevajag likt vikisaiti | Datums | ieteicams |
Avota datums | date | Datums, kad avots tika publicēts; ja nav zināms, jāizmanto "URL apskates datums"; nevajag likt vikisaiti | Datums | ieteicams |
Sērijas identifikators | series | Series identifier when the source is part of a series, such as a book series or a journal | Teksts | neobligāts |
Lapas | pages | Pages in the source that support the content (not an indication of the number of pages in the source; displays after 'pp.' | Teksts | neobligāts |
DOI | doi | Digital Object Identifier; begins with '10.' | Teksts | neobligāts |
PMC | pmc | PubMed Center article number | Teksts | neobligāts |
PMID | pmid | PubMed Unique Identifier | Teksts | neobligāts |
OCLC | oclc | Online Computer Library Center number | Teksts | neobligāts |
Citi | others | Used to record other (non-author) contributions to the work, such as 'Illustrated by John Smith' or 'Translated by John Smith'. Only one ''others'' parameter is allowed: e.g., 'Illustrated by Jane Doe; Translated by John Smith' | Teksts | neobligāts |
Valoda | language | Valoda, kurā rakstīts avots, ja tā nav latviešu valoda; jāraksta pilns valodas nosaukums, neizmantot ikonas vai veidnes | Teksts | neobligāts |
Last name 3 | last3 author3 | The surname of the third author; don't wikilink, use 'authorlink3'. | Īss teksts | neobligāts |
First name 3 | first3 | Given or first name, middle names, or initials of the third author; don't wikilink. | Īss teksts | neobligāts |
Author link 3 | authorlink3 author3-link | Title of existing Wikipedia article about the third author. | Lapas nosaukums | neobligāts |
Last name 4 | last4 author4 | The surname of the fourth author; don't wikilink, use 'authorlink4'. | Īss teksts | neobligāts |
First name 4 | first4 | Given or first name, middle names, or initials of the fourth author; don't wikilink. | Īss teksts | neobligāts |
Author link 4 | authorlink4 author4-link | Title of existing Wikipedia article about the fourth author. | Lapas nosaukums | neobligāts |
Last name 5 | last5 author5 | The surname of the fifth author; don't wikilink, use 'authorlink5'. | Īss teksts | neobligāts |
First name 5 | first5 | Given or first name, middle names, or initials of the fifth author; don't wikilink. | Īss teksts | neobligāts |
Author link 5 | authorlink5 author5-link | Title of existing Wikipedia article about the fifth author. | Lapas nosaukums | neobligāts |
Last name 6 | last6 author6 | The surname of the sixth author; don't wikilink, use 'authorlink6'. | Īss teksts | neobligāts |
First name 6 | first6 author6-link | Given or first name, middle names, or initials of the sixth author; don't wikilink. | Īss teksts | neobligāts |
Author link 6 | authorlink6 | Title of existing Wikipedia article about the sixth author. | Lapas nosaukums | neobligāts |
Last name 7 | last7 author7 | The surname of the seventh author; don't wikilink, use 'authorlink7'. | Īss teksts | neobligāts |
First name 7 | first7 | Given or first name, middle names, or initials of the seventh author; don't wikilink. | Īss teksts | neobligāts |
Author link 7 | authorlink7 author7-link | Title of existing Wikipedia article about the seventh author. | Lapas nosaukums | neobligāts |
Last name 8 | last8 author8 | The surname of the eighth author; don't wikilink, use 'authorlink8'. | Īss teksts | neobligāts |
First name 8 | first8 | Given or first name, middle names, or initials of the eighth author; don't wikilink. | Īss teksts | neobligāts |
Author link 8 | authorlink8 author8-link | Title of existing Wikipedia article about the eighth author. | Lapas nosaukums | neobligāts |
Last name 9 | last9 author9 | The surname of the ninth author; don't wikilink, use 'authorlink9'. If nine authors are defined, then only eight will show and 'et al.' will show in place of the last author. | Īss teksts | neobligāts |
First name 9 | first9 | Given or first name, middle names, or initials of the ninth author; don't wikilink. | Īss teksts | neobligāts |
Author link 9 | authorlink9 author9-link | Title of existing Wikipedia article about the ninth author. | Lapas nosaukums | neobligāts |
Editor last name 3 | editor3-last editor3 | The surname of the third editor; don't wikilink, use 'editor3-link'. | Īss teksts | neobligāts |
Editor first name 3 | editor3-first | Given or first name, middle names, or initials of the third editor; don't wikilink. | Īss teksts | neobligāts |
Editor link 3 | editor3-link editor3link editorlink3 | Title of existing Wikipedia article about the third editor. | Lapas nosaukums | neobligāts |
Editor last name 4 | editor4-last editor4 | The surname of the fourth editor; don't wikilink, use 'editor4-link'. | Īss teksts | neobligāts |
Editor first name 4 | editor4-first | Given or first name, middle names, or initials of the fourth editor; don't wikilink. | Īss teksts | neobligāts |
Editor link 4 | editor4-link editor4link editorlink4 | Title of existing Wikipedia article about the fourth editor. | Lapas nosaukums | neobligāts |
Editor last name 5 | editor5-last editor5 | The surname of the fifth editor; don't wikilink, use 'editor5-link'. | Īss teksts | neobligāts |
Editor first name 5 | editor5-first | Given or first name, middle names, or initials of the fifth editor; don't wikilink. | Īss teksts | neobligāts |
Editor link 5 | editor5-link editor5link editorlink5 | Title of existing Wikipedia article about the fifth editor. | Lapas nosaukums | neobligāts |
Editor last name 6 | editor6-last editor6 | The surname of the sixth editor; don't wikilink, use 'editor6-link'. | Īss teksts | neobligāts |
Editor first name 6 | editor6-first | Given or first name, middle names, or initials of the sixth editor; don't wikilink. | Īss teksts | neobligāts |
Editor link 6 | editor6-link editor6link editorlink6 | Title of existing Wikipedia article about the sixth editor. | Lapas nosaukums | neobligāts |
Editor last name 7 | editor7-last editor7 | The surname of the seventh editor; don't wikilink, use 'editor7-link'. | Īss teksts | neobligāts |
Editor first name 7 | editor7-first | Given or first name, middle names, or initials of the seventh editor; don't wikilink. | Īss teksts | neobligāts |
Editor link 7 | editor7-link editor7link editorlink7 | Title of existing Wikipedia article about the seventh editor. | Lapas nosaukums | neobligāts |
Editor last name 8 | editor8-last editor8 | The surname of the eighth editor; don't wikilink, use 'editor8-link'. | Īss teksts | neobligāts |
Editor first name 8 | editor8-first | Given or first name, middle names, or initials of the eighth editor; don't wikilink. | Īss teksts | neobligāts |
Editor link 8 | editor8-link editor8link editorlink8 | Title of existing Wikipedia article about the eighth editor. | Lapas nosaukums | neobligāts |
Editor last name 9 | editor9-last editor9 | The surname of the ninth editor; don't wikilink, use 'editor9-link'. | Īss teksts | neobligāts |
Editor first name 9 | editor9-first | Given or first name, middle names, or initials of the ninth editor; don't wikilink. | Īss teksts | neobligāts |
Editor link 9 | editor9-link editor9link editorlink9 | Title of existing Wikipedia article about the ninth editor. | Lapas nosaukums | neobligāts |
Dokumentācija iekļauta no Veidne:Tīmekļa atsauce/doc (labot | hronoloģija) Vari eksperimentēt šīs veidnes smilšu kastes (labot | labojumi) un testu (labot) lapā Lūdzu, kategorijas pievieno dokumentācijas apakšlapā. Veidnes apakšlapas. |