User:Cxw/Cite web trans/doc: Difference between revisions

Content deleted Content added
Copied from {{Cite web/doc}}
 
Changed over to cite web trans
Line 12:
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single {{para|author|<var>authors</var>}} parameter, using any format. Also shown below are three separate date formats that are commonly used in Wikipedia:
 
;YYYY-MM-DD: <code><nowiki>{{citeUser:Cxw/Cite web trans |url= |title= |author= |date= |work= |publisher= |accessdate=</nowiki>{{#time: Y-m-d }}<nowiki>}}</nowiki></code>
 
;Day Month Year: <code><nowiki>{{citeUser:Cxw/Cite web trans |url= |title= |author= |date= |work= |publisher= |accessdate=</nowiki>{{#time: j F Y }}<nowiki>}}</nowiki></code>
 
;Month Day, Year: <code><nowiki>{{citeUser:Cxw/Cite web trans |url= |title= |author= |date= |work= |publisher= |accessdate=</nowiki>{{#time: F j, Y }}<nowiki>}}</nowiki></code>
 
=== Common forms with last1, first1; last2, first2 ===
Line 22:
The examples below will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
 
;YYYY-MM-DD: <code><nowiki>{{citeUser:Cxw/Cite web trans |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=</nowiki>{{#time: Y-m-d }}<nowiki>}}</nowiki></code>
 
;Day Month Year: <code><nowiki>{{citeUser:Cxw/Cite web trans |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=</nowiki>{{#time: j F Y }}<nowiki>}}</nowiki></code>
 
;Month Day, Year: <code><nowiki>{{citeUser:Cxw/Cite web trans |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=</nowiki>{{#time: F j, Y }}<nowiki>}}</nowiki></code>
 
=== All parameters ===
Line 32:
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
 
;All parameters, horizontal layout: <code><nowiki>{{citeUser:Cxw/Cite web trans |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |___location= |page= |pages= |at= |language= |trans_title= |format= |doi= |archiveurl= |archivedate= |accessdate= |quote= |ref= |separator= |postscript= }}</nowiki></code>
 
;All parameters, vertical layout:
<pre>
{{citeUser:Cxw/Cite web trans
| url =
| title =
Line 106:
==== Duplicate periods ====
 
By default, {{tl|citeUser:Cxw/Cite web trans}} separates some fields with periods, so don't encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as <code>Camelot, Inc.</code> but "publisher=Camelot, Inc." will incorrectly show as <code>Camelot, Inc..</code>
 
== Examples ==
 
;Some standard use cases
*<code><nowiki>{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=My Favorite Things, Part II
Line 119:
|work=Encyclopedia of Things
|accessdate=6 July 2005
}}</nowiki></code><br/>? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=My Favorite Things, Part II
Line 129:
}}</span>
 
*<code><nowiki>{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=My Favorite Things, Part II
Line 136:
|work=Encyclopedia of things
|accessdate=6 July 2005
}}</nowiki></code><br/>? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=My Favorite Things, Part II
Line 145:
}}</span>
 
*<code><nowiki>{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=My Favorite Things, Part II
Line 151:
|date=30 April 2005
|accessdate=6 July 2005
}}</nowiki></code><br/>? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=My Favorite Things, Part II
Line 159:
}}</span>
 
*<code><nowiki>{{citeUser:Cxw/Cite web trans
||url=http://www.example.org/
|title=My Favorite Things, Part II
author=Doe, John
|accessdate=6 July 2005
}}</nowiki></code><br/>? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=My Favorite Things, Part II
Line 171:
}}</span>
 
*<code><nowiki>{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=My Favorite Things, Part II
|accessdate=6 July 2005
}}</nowiki></code><br/>? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=My Favorite Things, Part II
Line 181:
}}</span>
 
*<code><nowiki>{{citeUser:Cxw/Cite web trans
|url=http://www.nfl.com/rulebook/digestofrules
|title=Digest of Rules
|publisher=National Football League
|accessdate=6 July 2005
}}</nowiki></code><br>? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://www.nfl.com/rulebook/digestofrules
|title=Digest of Rules
Line 194:
 
;Using format
*<code><nowiki>{{citeUser:Cxw/Cite web trans
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
Line 200:
|format=PDF
|accessdate=July 6, 2005
}}</nowiki></code><br/> ? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
Line 209:
 
;Foreign language and translated title
*<code><nowiki>{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=Honni soit qui mal y pense
Line 217:
|language=French
|trans_title=Shame on those who think evil
}}</nowiki></code><br/>? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=Honni soit qui mal y pense
Line 228:
 
;coauthors
*<code><nowiki>{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=Our Favorite Things
Line 238:
|work=Encyclopedia of Things
|accessdate=16 May 2006
}}</nowiki></code><br/>? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=Our Favorite Things
Line 250:
}}</span>
 
*<code><nowiki>{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=Our Favorite Things
Line 260:
|work=Encyclopedia of Things
|accessdate=16 May 2006
}}</nowiki></code><br/>? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=Our Favorite Things
Line 273:
 
;No author
*<code><nowiki>{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=Index of Sharp Things
Line 280:
|work=Encyclopedia of Things
|accessdate=16 May 2006
}}</nowiki></code><br/>? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=Index of Sharp Things
Line 291:
;No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
*<code><nowiki>{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=Index of Sharp Things
Line 297:
|work=Encyclopedia of Things
|accessdate=6 July 2005
}}</nowiki></code></br>? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=Index of Sharp Things
Line 305:
}}</span>
 
*<code><nowiki>{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=Index of Sharp Things
|date=30 April 2005
|accessdate=6 July 2005}}</nowiki></code><br/>? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://www.example.org/
|title=Index of Sharp Things
Line 315:
|accessdate=6 July 2005}}</span>
 
*<code><nowiki>{{citeUser:Cxw/Cite web trans
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
Line 322:
|accessdate=July 6, 2005
|language=Greek
}}</nowiki></code><br/> ? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
Line 332:
 
;Using "archiveurl" and "archivedate" for webpages that have been archived
*<code><nowiki>{{citeUser:Cxw/Cite web trans
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
Line 340:
|archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf
|archivedate=2005-09-11
}}</nowiki></code><br/> ? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
Line 350:
}}</span>
 
*<code><nowiki>{{citeUser:Cxw/Cite web trans
|url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm
|title=Interview with Maggie Downs
Line 357:
|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
}}</nowiki></code><br/> ? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm
|title=Interview with Maggie Downs
Line 367:
 
;Using "quote"
*<code><nowiki>{{citeUser:Cxw/Cite web trans
|url=http://www.webexhibits.org/daylightsaving/c.html
|title=Daylight saving time: rationale and original idea
Line 374:
|accessdate=2009-09-27
|quote=...&amp;nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&amp;nbsp;...'
}}</nowiki></code><br/>? <span style="background:white">{{citeUser:Cxw/Cite web trans
|url=http://www.webexhibits.org/daylightsaving/c.html
|title=Daylight saving time: rationale and original idea