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

Content deleted Content added
No edit summary
m Fixed Lint errors on this page (misnested tags)
 
(2 intermediate revisions by one other user not shown)
Line 1:
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
Examples in red, below, include a lang= parameter.
 
== Examples ==
Line 33 ⟶ 35:
|work=Encyclopedia of Things
|accessdate=6 July 2005
}}</nowiki></code></span><br/>
** <span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://www.google.jp/
Line 44 ⟶ 46:
|accessdate=6 July 2005
}}</span>
</span>
 
*<code><nowiki>{{User:Cxw/Cite web trans
Line 70 ⟶ 71:
|work=Encyclopedia of things
|accessdate=6 July 2005
}}</nowiki></code></span><br/>
** <span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://www.example.org/
Line 80 ⟶ 81:
|accessdate=6 July 2005
}}</span>
</span>
 
*<code><nowiki>{{User:Cxw/Cite web trans
Line 103:
|date=30 April 2005
|accessdate=6 July 2005
}}</nowiki></code></span><br/>
** <span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://www.example.org/
Line 112:
|accessdate=6 July 2005
}}</span>
</span>
 
*<code><nowiki>{{User:Cxw/Cite web trans
Line 132 ⟶ 131:
author=Doe, John
|accessdate=6 July 2005
}}</nowiki></code></span><br/>
** <span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://www.example.org/
Line 140 ⟶ 139:
|accessdate=6 July 2005
}}</span>
</span>
 
*<code><nowiki>{{User:Cxw/Cite web trans
Line 157 ⟶ 155:
|title=My Favorite Things, Part II
|accessdate=6 July 2005
}}</nowiki></code></span><br/>
** <span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://www.example.org/
Line 164 ⟶ 162:
|accessdate=6 July 2005
}}</span>
</span>
 
*<code><nowiki>{{User:Cxw/Cite web trans
Line 184 ⟶ 181:
|publisher=National Football League
|accessdate=6 July 2005
}}</nowiki></code></span><br>
** <span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://www.nfl.com/rulebook/digestofrules
Line 192 ⟶ 189:
|accessdate=6 July 2005
}}</span>
</span>
 
;Using format
Line 216 ⟶ 212:
|format=PDF
|accessdate=July 6, 2005
}}</nowiki></code></span><br/>
**<span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://www.incb.org/pdf/e/list/green.pdf
Line 225 ⟶ 221:
|accessdate=July 6, 2005
}}</span>
</span>
 
;Foreign language and translated title
Line 255 ⟶ 250:
|language=French
|trans_title=Shame on those who think evil
}}</nowiki></code></span><br/>
** <span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://www.example.org/
Line 266 ⟶ 261:
|trans_title=Shame on those who think evil
}}</span>
</span>
 
*<span style="color:red"><code><nowiki>{{User:Cxw/Cite web trans
Line 276 ⟶ 270:
|accessdate=6 July 2005
|trans_title=Shame on those who think evil
}}</nowiki></code></span><br/>
** <span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=fr
|url=http://www.example.org/
Line 286 ⟶ 280:
|trans_title=Shame on those who think evil
}}</span>
</span>
 
;coauthors
Line 322 ⟶ 315:
|work=Encyclopedia of Things
|accessdate=16 May 2006
}}</nowiki></code></span><br/>
** <span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://www.example.org/
Line 335 ⟶ 328:
|accessdate=16 May 2006
}}</span>
</span>
 
*<code><nowiki>{{User:Cxw/Cite web trans
Line 370 ⟶ 362:
|work=Encyclopedia of Things
|accessdate=16 May 2006
}}</nowiki></code></span><br/>
** <span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://www.example.org/
Line 383 ⟶ 375:
|accessdate=16 May 2006
}}</span>
</span>
 
;No author
Line 410 ⟶ 401:
|work=Encyclopedia of Things
|accessdate=16 May 2006
}}</nowiki></code></span><br/>
** <span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://www.example.org/
Line 420 ⟶ 411:
|accessdate=16 May 2006
}}</span>
 
</span>
 
;No author, no publisher
Line 430 ⟶ 421:
|work=Encyclopedia of Things
|accessdate=6 July 2005
}}</nowiki></code></br/>
** <span style="background:white">{{User:Cxw/Cite web trans
|url=http://www.example.org/
Line 445 ⟶ 436:
|work=Encyclopedia of Things
|accessdate=6 July 2005
}}</nowiki></code></span><br/>
** <span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://www.example.org/
Line 454 ⟶ 445:
|accessdate=6 July 2005
}}</span>
</span>
 
*<code><nowiki>{{User:Cxw/Cite web trans
Line 471 ⟶ 461:
|title=Index of Sharp Things
|date=30 April 2005
|accessdate=6 July 2005}}</nowiki></code></span><br/>
** <span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://www.example.org/
Line 478 ⟶ 468:
|date=30 April 2005
|accessdate=6 July 2005}}</span>
 
</span>
 
*<code><nowiki>{{User:Cxw/Cite web trans
Line 504 ⟶ 494:
|accessdate=July 6, 2005
|language=Greek
}}</nowiki></code></span><br/>
**<span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://www.incb.org/pdf/e/list/green.pdf
Line 514 ⟶ 504:
|language=Greek
}}</span>
</span>
 
;Using "archiveurl" and "archivedate" for webpages that have been archived
Line 544 ⟶ 533:
|archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf
|archivedate=2005-09-11
}}</nowiki></code></span><br/>
**<span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://www.incb.org/pdf/e/list/green.pdf
Line 555 ⟶ 544:
|archivedate=2005-09-11
}}</span>
</span>
 
*<code><nowiki>{{User:Cxw/Cite web trans
Line 581 ⟶ 569:
|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></span><br/>
**<span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm
Line 591 ⟶ 579:
|archivedate=2006-04-26
}}</span>
</span>
 
;Using "quote"
Line 618 ⟶ 605:
|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></span><br/>
** <span style="color:red; background:white">{{User:Cxw/Cite web trans
|lang=ja
|url=http://www.webexhibits.org/daylightsaving/c.html
Line 628 ⟶ 615:
|quote=...&nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&nbsp;...'
}}</span>
</span>
 
=== All parameters ===
Line 634 ⟶ 620:
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
 
;All parameters, horizontal layout: <code><nowiki>{{User: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= |lang= }}</nowiki></code>
 
;All parameters, vertical layout:
Line 655 ⟶ 641:
| pages =
| at =
| language = (Human-readable name of language tothe translatework fromis in)
| trans_title =
| format =
Line 666 ⟶ 652:
| separator =
| postscript =
| lang = (ISO 639 code of language to translate from).
Also fills in _language_, if that parameter was not specified.)
}}
</pre>