Template:Cite web: Difference between revisions

Jump to navigation Jump to search
+ vertical formats to copy and paste; + CSS hack to allow uniform code style, both wrapping *and* possible to format
m (Since work fills the same purpose as url, I removed them from the smaller copyable examples)
(+ vertical formats to copy and paste; + CSS hack to allow uniform code style, both wrapping *and* possible to format)
Line 77: Line 77:


;Day Month Year
;Day Month Year
<code><nowiki>{{cite web |url= |title= |author= |date= |publisher= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>
<div class="mw-code" style="background-color: #ffffff;"><nowiki>{{cite web |url= |title= |author= |date= |publisher= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></div>
;Month Day, Year
;Month Day, Year
<code><nowiki>{{cite web |url= |title= |author= |date= |publisher= |accessdate=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}<nowiki>}}</nowiki></code>
<div class="mw-code" style="background-color: #ffffff;"><nowiki>{{cite web |url= |title= |author= |date= |publisher= |accessdate=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}<nowiki>}}</nowiki></div>


;Day Month Year, all parameters
;Day Month Year, all parameters
<code><nowiki>{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |page= |pages= |language= |format= |id= |archiveurl= |archivedate= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>|quote= }}</nowiki></code>
<div class="mw-code" style="background-color: #ffffff;"><nowiki>{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |page= |pages= |language= |format= |id= |archiveurl= |archivedate= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki> |quote= }}</nowiki></div>
 
Vertical format for use in external links section:
<nowiki>* {{cite web
| url =
| title =
| first =
| last =
| author =
| authorlink =
| coauthors =
| date =
| month =
| year =
| work =
| publisher =
| page =
| pages =
| language =
| format =
| id =
| archiveurl =
| archivedate =
| accessdate = </nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>
| quote =
}}</nowiki>
 
;Month Day, Year, all parameters
;Month Day, Year, all parameters
<code><nowiki>{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |page= |pages= |language= |format= |id= |archiveurl= |archivedate= |accessdate=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}<nowiki>|quote= }}</nowiki></code>
<div class="mw-code" style="background-color: #ffffff;"><nowiki>{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |page= |pages= |language= |format= |id= |archiveurl= |archivedate= |accessdate=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}<nowiki> |quote= }}</nowiki></div>
 
Vertical format for use in external links section:
<nowiki>* {{cite web
| url =
| title =
| first =
| last =
| author =
| authorlink =
| coauthors =
| date =
| month =
| year =
| work =
| publisher =
| page =
| pages =
| language =
| format =
| id =
| archiveurl =
| archivedate =
| accessdate = </nowiki>{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}<nowiki>
| quote =
}}</nowiki>


=== Paramenters ===
=== Paramenters ===
<code style="whitespace: pre-wrap;"><nowiki>{{</nowiki>'''cite web''' <nowiki>|</nowiki>url= <nowiki>|</nowiki>title= <nowiki>|</nowiki>''first''= <nowiki>|</nowiki>''last''= <nowiki>|</nowiki>''author''= <nowiki>|</nowiki>''authorlink''= <nowiki>|</nowiki>''coauthors''= <nowiki>|</nowiki>''date''= <nowiki>|</nowiki>''month''= <nowiki>|</nowiki>''year''= <nowiki>|</nowiki>''work''= <nowiki>|</nowiki>''publisher''= <nowiki>|</nowiki>''page''= <nowiki>|</nowiki>''pages''= <nowiki>|</nowiki>''language''= <nowiki>|</nowiki>''format''= <nowiki>|</nowiki>''id''= <nowiki>|</nowiki>''archiveurl''= <nowiki>|</nowiki>''archivedate''= <nowiki>|</nowiki>''accessdate''=<nowiki>|</nowiki>''quote''= <nowiki>}}</nowiki></code>
<div class="mw-code" style="background-color: #ffffff;"><nowiki>{{</nowiki>'''cite web''' <nowiki>|</nowiki>url= <nowiki>|</nowiki>title= <nowiki>|</nowiki>''first''= <nowiki>|</nowiki>''last''= <nowiki>|</nowiki>''author''= <nowiki>|</nowiki>''authorlink''= <nowiki>|</nowiki>''coauthors''= <nowiki>|</nowiki>''date''= <nowiki>|</nowiki>''month''= <nowiki>|</nowiki>''year''= <nowiki>|</nowiki>''work''= <nowiki>|</nowiki>''publisher''= <nowiki>|</nowiki>''page''= <nowiki>|</nowiki>''pages''= <nowiki>|</nowiki>''language''= <nowiki>|</nowiki>''format''= <nowiki>|</nowiki>''id''= <nowiki>|</nowiki>''archiveurl''= <nowiki>|</nowiki>''archivedate''= <nowiki>|</nowiki>''accessdate''= <nowiki>|</nowiki>''quote''= <nowiki>}}</nowiki></div>


The only mandatory parameters are '''url''' and '''title'''.  If '''archiveurl''' and '''archivedate''' are used, both of of them or neither must be used.
The only mandatory parameters are '''url''' and '''title'''.  If '''archiveurl''' or '''archivedate''' are used, ''both'' of them must be used.


;url:  URL of the resource.
;url:  URL of the resource.

Navigation menu