Template:Cite web/Swedish/doc

From MOASSpedia
Jump to navigation Jump to search

The Template:Cite web/Swedish handles Swedish-language parameters for {{cite web}}, as in the Swedish Wikipedia template sv:Mall:Webbref. As of April 2013, {cite_web} would issue a red-error message for each unrecognized Swedish parameter as "Unknown parameter |xx ignored..." and so {Webbref} here simply switches any Swedish parameter into the English equivalent, and translates any date/month names into English, until those cites can be hand-translated into English where needed.

Due to translation of dates/months, the runtime speed of the template is about 50-55 per second, and usage should be limited to about 300 {Webbref} per page, depending on performance needs.

List of parameter names

The major parameter keywords are listed below.

List of parameters
Swedish English
titel / rubrik title
efternamn last
förnamn first
författare author
författarlänk authorlin
övriga others
redaktör editor
redaktör-förnamn editor-first
redaktör-efternamn editor-last
verk work
upplaga / utgåva edition
volym volume
nummer number / issue
serie series
? agency
utgivare publisher
ort location
utgivningsort publication-place
datum /
publdatum
date
hämtdatum accessdate
origdatum / origår origyear
år year
månad month
sid page
sida / sidor pages
format format
språk language
id id
ref ref
url / URL url
arkivurl archiveurl
arkivdatum archivedate
citat quote

Other parameters include: isbn, issn, doi, pmid, bibcode and oclc. The various Swedish parameters are listed on the Swedish Wikipedia in template sv:Mall:Webbref from June 2018.

Examples

Below are some examples using {Webbref}.

  • {{Webbref |författare=Johnski Doe |titel=Titel |url=http://x.com |datum=7 Maj 2012 |språk=sv}}
    Johnsven Doe (7 May 2012). "Titel" (in Swedish).
  • {{Webbref |url=http://www.a.org |titel=CD |utgivare=ABC |hämtdatum= 27 februari 2010 }}
    "CD". ABC. Retrieved 27 February 2010.
  • {{Webbref |efternamn = Teresi |förnamn = Dick |titel = Lost Discoveries: The Ancient Roots of Modern Science |url = https://books.google.com/?id=pheL_ubbXD0C&dq |utgivare = Simon & Schuster |år = 2003 |sid = 213–214 |isbn = 074324379X}}
    —> Teresi, Dick (2003). "Lost Discoveries: The Ancient Roots of Modern Science". Simon & Schuster. p. 213–214. ISBN 074324379X.
  • {{Webbref | URL = http://www.vernonpratt.com/conceptu alisations/d06bl2_1mechanical.htm | titel = The Mechanical Philosophy |hämtdatum = 2009-06-28 |efternamn = Pratt |förnamn = Vernon | datum = 2007-09-28 |verk = Reason, nature and the human being in the West}}
    —> Pratt, Vernon (2007-09-28). "The Mechanical Philosophy". Reason, nature and the human being in the West. Retrieved 2009-06-28.
  • {{Webbref |efternamn= Sobkowski |förnamn = Jerzy |författarlänk = Jerzy Sobkowski |titel = Chemia jądrowa | serie = Biblioteka Chemii Tom 5 |år = 1981 |agency = Państwowe Wydawnictwo Naukowe |månad = mars | isbn = 83-01-02060-1 |sid = 18-19}}
    —> Sobkowski, Jerzy (March 1981). "Chemia jądrowa". Biblioteka Chemii Tom 5. Państwowe Wydawnictwo Naukowe. p. 18-19. ISBN 83-01-02060-1. {{cite web}}: Missing or empty |url= (help)

List of month names

Below is a table of month names. Note how Swedish dates use the lowercase form of each month name.

List of month names
Swedish month (nominative) Swedish date (genitive) English
(same) januari January
(same) februari February
(same) mars March
(same) april April
(same) maj May
(same) juni June
(same) juli July
(same) augusti August
(same) september September
(same) oktober October
(same) november November
(same) december December

Performance considerations

The Template:Webbref runs 50-55 per second, but users should translate to {{cite web}}, as time permits. The translations of {Webbref} would typically require expertise in Swedish, plus knowledge of the Swedish Wikipedia cites, plus knowledge of parameters of the enwiki Template:Cite_web. The parameter list and months, listed above, can be used to assist translation of parameter names and dates.

Care should be taken to correctly hand-translate cite data into English; otherwise, the auto-translation of parameters is likely to be more accurate.

See also