Hoppa till innehållet

Mall:Cite web: Skillnad mellan sidversioner

Från Wikipedia
Innehåll som raderades Innehåll som lades till
Poxnar (Diskussion | Bidrag)
mIngen redigeringssammanfattning
m lägger till stöd för parametern "läst via" i mallen Tidningsref
 
(31 mellanliggande sidversioner av 24 användare visas inte)
Rad 1: Rad 1:
<includeonly>{{
<includeonly>{{Citation/core
|Citation class=web
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
|Surname1 = {{#if:{{{last|}}}
||Error on call to [[Template:cite web]]: Parameters '''url''' and '''title''' must be specified
|{{{last}}}
}}{{
|{{#if:{{{last1|}}}
#if: {{{archiveurl|}}}{{{archivedate|}}}
|{{{last1}}}
| {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
|{{{author|}}}
||Error on call to [[template:cite web]]: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted
}}
}}
}}
}}{{#if: {{{author|}}}{{{last|}}}
| {{#if: {{{authorlink|}}}
|Surname2 = {{#if:{{{last2|}}}|{{{last2}}}|{{{coauthors|}}}}}
| [[{{{authorlink}}}|{{#if: {{{last|}}}
|Surname3 = {{{last3|}}}
|Surname4 = {{{last4|}}}
| {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
| {{{author}}}
|Surname5 = {{{last5|}}}
}}]]
|Surname6 = {{{last6|}}}
| {{#if: {{{last|}}}
|Surname7 = {{{last7|}}}
|Surname8 = {{{last8|}}}
| {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
| {{{author}}}
|Surname9 = {{{last9|}}}
|Given1 = {{#if:{{{first|}}}|{{{first}}}|{{{first1|}}}}}
}}
|Given2 = {{{first2|}}}
}}
}}{{#if: {{{author|}}}{{{last|}}}
|Given3 = {{{first3|}}}
|Given4 = {{{first4|}}}
| {{#if: {{{coauthors|}}}| <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
}}{{#if: {{{author|}}}{{{last|}}}|
|Given5 = {{{first5|}}}
{{#if: {{{date|}}}
|Given6 = {{{first6|}}}
| &#32;({{{date}}})
|Given7 = {{{first7|}}}
| {{#if: {{{year|}}}
|Given8 = {{{first8|}}}
| {{#if: {{{month|}}}
|Given9 = {{{first9|}}}
|Authorlink1 = {{#if:{{{authorlink|}}}|{{{authorlink}}}|{{{authorlink1|}}}}}
| &#32;({{{month}}} {{{year}}})
| &#32;({{{year}}})
|Authorlink2 = {{{authorlink2|}}}
|Authorlink3 = {{{authorlink3|}}}
}}
|Authorlink4 = {{{authorlink4|}}}
}}
|Authorlink5 = {{{authorlink5|}}}
|}}
|Authorlink6 = {{{authorlink6|}}}
}}{{#if: {{{last|}}}{{{author|}}}
|Authorlink7 = {{{authorlink7|}}}
| .&#32;}}{{
#if: {{{editor|}}}
|Authorlink8 = {{{authorlink8|}}}
| &#32;{{{editor}}}:
|Authorlink9 = {{{authorlink9|}}}
|Year={{#if:{{{year|}}}|{{{year}}} <!-- attempt to derive year from date, if possible -->
}}{{#if: {{{archiveurl|}}}
| {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}
|{{#if: {{{date|}}}
| {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}}
|{{#iferror: {{#time:Y|{{{date|}}} }}
|{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
}}{{#if: {{{language|}}} | &#32;<span style="font-size: 0.95em; font-weight: bold; color:#555; position: relative;">({{{language}}})</span>
}}{{#if: {{{format|}}}
|{{#time:Y|{{{date|}}} }}
| &#32;({{{format|}}})
}}
|{{{publication-date|}}} <!-- last resort -->
}}{{#if: {{{work|}}}
| .&#32;''{{{work}}}''
}}
}}
}}{{#if: {{{pages|}}}
|Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}}
| &#32;{{{pages}}}
|Title={{{website|{{{work|{{{title|}}}}}}}}}
}}{{#if: {{{publisher|}}}
| .&#32;{{{publisher}}}{{#if: {{{author|}}}{{{last|}}}
|At = {{#if:{{{page|}}}|{{{page}}}|{{#if:{{{pages|}}}|{{{pages|}}}|{{{at|}}} }} }}
|IncludedWorkTitle = {{#if:{{{url|}}}|{{#if:{{{title|}}}|{{{title}}}|{{Citation error|{{para|{{#ifeq:{{{slutanvändarmall}}}|webbref|titel|title}}}} (titel) måste specificeras|{{{slutanvändarmall|cite web}}}}}}}|{{Citation error|{{para|url}} måste specificeras|{{{slutanvändarmall|cite web}}}}}}}
|
| {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }}
|IncludedWorkURL = {{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}}
|PublicationPlace = {{{location|}}}
}}
|Publisher = {{{publisher|}}}
}}{{#if: {{{author|}}}{{{last|}}}
|language = {{#switch:{{lc:{{{language|}}}}}|svenska|sueco=|#default={{{language|}}}}}
||{{#if: {{{date|}}}
| &#32;({{{date}}})
|format = {{{format|}}}
| {{#if: {{{year|}}}
|DOI={{{doi|{{{DOI|}}}}}}
|AccessDate={{#if:{{{accessdate|}}}|{{#if: {{{accessyear|}}}|{{{accessdate}}} {{{accessyear}}}|{{{accessdate}}}}}|{{
| {{#if: {{{month|}}}
| &#32;({{{month}}} {{{year}}})
#if:{{{accessdaymonth|}}}|{{{accessdaymonth}}} {{{accessyear|}}}|{{
#if:{{{accessmonthday|}}}|{{{accessmonthday}}} {{{accessyear|}}}|
| &#32;({{{year}}})
{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}
}}
}}
}}
}}
}}
}}
|AccessVia={{{accessvia|}}}
}}.{{#if: {{{archivedate|}}}
|DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}}
| &#32;Hämtat från [{{{url}}} originalet] {{{archivedate}}}.
}}{{#if: {{{accessdate|}}}
|quote = {{{quote|}}}
|Ref={{{ref|}}}
| &#32;Hämtat {{{accessdate}}}{{#if: {{{accessyear|}}} | , [[{{{accessyear}}}]] }}.
|Sep = {{#ifeq:{{{separator|{{{seperator}}}}}}|;|&#059;|{{{separator|{{{seperator|.}}}}}}}}
}}{{#if: {{{accessmonthday|}}}
| &#32;Hämtat i {{{accessmonthday}}}, {{{accessyear}}}.
|PS={{#if:{{{quote|}}}||{{{postscript|.}}}}}
}}{{#if: {{{accessdaymonth|}}}
|OriginalURL = {{#if:{{{archiveurl|}}}|{{{url|}}}}}
|ArchiveDate= {{{archivedate|}}}
| &#32;Hämtat i {{{accessdaymonth}}} {{{accessyear}}}.
<!-- Missing: editor -->
}}{{#if: {{{quote|}}}
}}{{#if:{{NAMESPACE}}||{{#ifeq:{{{svenska|}}}|javisst||[[Kategori:Wikipedia:Projekt översätta källmallar]]}}}}</includeonly><noinclude>
| &nbsp;“{{{quote}}}”
}}</includeonly><noinclude>
{{Dokumentation}}</noinclude>
Använd {{mall|webbref}} istället.
</noinclude>

Nuvarande version från 2 juli 2022 kl. 22.45

[visa] [redigera] [rensa sidcachen]

Dokumentation


Kopia av Cite web från engelskspråkiga Wikipedia. Se även {{Webbref}} för motsvarande mall med svenska parametrar.