Template:Cite web: Difference between revisions
(make it give harv ref by default; doing this to all templates in WP:CITET. plz undo if this causes some unforeseen problem.) |
Krisrs1128 (talk | contribs) m (Reverted edits by GuyRitchard8697 (talk) to last revision by Krisrs1128) Tags: Replaced Rollback |
||
(42 intermediate revisions by 16 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{ |
+ | <includeonly>{{#invoke:citation/CS1|citation |
− | + | |CitationClass=web |
|
+ | }}</includeonly><noinclude> |
||
− | |Surname1 = {{#if:{{{last|}}} |
||
+ | {{documentation}} |
||
− | |{{{last}}} |
||
+ | {{En-WP attribution notice|Template:Cite web}} |
||
− | |{{#if:{{{last1|}}} |
||
− | |{{{last1}}} |
||
− | |{{{author|}}} |
||
− | }} |
||
− | }} |
||
− | |Surname2 = {{#if:{{{last2|}}}|{{{last2}}}|{{{coauthors|}}}}} |
||
− | |Surname3 = {{{last3|}}} |
||
− | |Surname4 = {{{last4|}}} |
||
− | |Surname5 = {{{last5|}}} |
||
− | |Surname6 = {{{last6|}}} |
||
− | |Surname7 = {{{last7|}}} |
||
− | |Surname8 = {{{last8|}}} |
||
− | |Surname9 = {{{last9|}}} |
||
− | |Given1 = {{#if:{{{first|}}}|{{{first}}}|{{{first1|}}}}} |
||
− | |Given2 = {{{first2|}}} |
||
− | |Given3 = {{{first3|}}} |
||
− | |Given4 = {{{first4|}}} |
||
− | |Given5 = {{{first5|}}} |
||
− | |Given6 = {{{first6|}}} |
||
− | |Given7 = {{{first7|}}} |
||
− | |Given8 = {{{first8|}}} |
||
− | |Given9 = {{{first9|}}} |
||
− | |Authorlink1 = {{#if:{{{authorlink|}}}|{{{authorlink}}}|{{{authorlink1|}}}}} |
||
− | |Authorlink2 = {{{authorlink2|}}} |
||
− | |Authorlink3 = {{{authorlink3|}}} |
||
− | |Authorlink4 = {{{authorlink4|}}} |
||
− | |Authorlink5 = {{{authorlink5|}}} |
||
− | |Authorlink6 = {{{authorlink6|}}} |
||
− | |Authorlink7 = {{{authorlink7|}}} |
||
− | |Authorlink8 = {{{authorlink8|}}} |
||
− | |Authorlink9 = {{{authorlink9|}}} |
||
− | |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|}}} |
||
− | |Year={{#if:{{{year|}}}|{{{year}}} <!-- attempt to derive year from date, if possible --> |
||
− | |{{#if: {{{date|}}} |
||
− | |{{#iferror: {{#time:Y|{{{date|}}} }} |
||
− | |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}} |
||
− | |{{#time:Y|{{{date|}}} }} |
||
− | }} |
||
− | |{{{publication-date|}}} <!-- last resort --> |
||
− | }} |
||
− | }} |
||
− | |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}} |
||
− | |Title={{{work|}}} |
||
− | |TransTitle={{{trans_title|}}} |
||
− | |At = {{#if:{{{page|}}}|p. {{{page}}}|{{#if:{{{pages|}}}|pp. {{{pages|}}}|{{{at|}}} }} }} |
||
− | |IncludedWorkTitle = {{ |
||
− | #if:{{{title|}}} |
||
− | |{{{title}}} |
||
− | |{{ |
||
− | #if:{{{trans_title|}}} |
||
− | | |
||
− | |{{Citation error|no <code>|title=</code> specified|Cite web}} |
||
− | }} |
||
− | }} |
||
− | |IncludedWorkURL = {{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}} |
||
− | |PublicationPlace = {{{location|}}} |
||
− | |Publisher = {{{publisher|}}} |
||
− | |language = {{{language|}}} |
||
− | |format = {{{format|}}} |
||
− | |DOI={{{doi|{{{DOI|}}}}}} |
||
− | |AccessDate={{#if:{{{accessdate|}}} |
||
− | |{{#if: {{{accessyear|}}} |
||
− | |{{{accessdate}}} {{{accessyear}}} |
||
− | |{{{accessdate}}} |
||
− | }} |
||
− | |{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}} |
||
− | }} |
||
− | |DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}} |
||
− | |quote = {{{quote|}}} |
||
− | |Ref={{{ref|harv}}} |
||
− | |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|;|{{{separator|{{{seperator|.}}} }}} }} |
||
− | |PS={{#if:{{{quote|}}}||{{{postscript|.}}}}} |
||
− | |ArchiveURL = {{{archiveurl|}}} |
||
− | |OriginalURL = {{{url|}}} |
||
− | |ArchiveDate= {{{archivedate|}}} |
||
− | }}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}|[[Category:Cite web templates using unusual accessdate parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly><noinclude> |
||
− | {{Pp-template|small=yes}} |
||
− | {{Documentation}} |
||
</noinclude> |
</noinclude> |
Latest revision as of 19:30, 5 November 2020
Template:Documentation subpage Template:AWB standard installation Template:Lua Template:Infobox
This Citation Style 1 template is used to create citations for web sources that are not characterized by another CS1 template.
Usage[edit source]
Copy a blank version to use. All parameter names must be in lowercase. Use the "|" (pipe) character between each parameter. Delete unused parameters to avoid clutter in the edit window. Some samples may include the current date. If the date is not current, then Template:Purge the page.
For references with author credit
For references without author credit
|