This is the template sandbox page for Template:Ws (diff). See also the companion subpage for test cases. |
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS. |
This template places a wikisource icon before text, or a link to wikisource, or another template
{{ws | [[s: <wikisource link> | <wikisource article title>]]}} in <work>
|ps=no
to omit the trailing "."{{ws|''[[s:Ecclesiastical History of the English People|]]''}} by Bede
would look like (cf. Help:Pipe trick):
{{ws|''[[s:Ecclesiastical History of the English People|]]''|ps=no}} by Bede
would look like:
{{ws|[[s:Chaffin v. Taylor (116 U.S. 567)|''Chaffin v. Taylor'' (116 U.S. 567)]] ([[United States Supreme Court]])}}
would look like (just an example, it's better to use e.g. {{ussc}} or {{cite court}}):
{{wikisource}}
—to create the sidebox{{wikisource-inline}}
—to create a list of sources on Wikisource among other options{{cite wikisource}}
—to create a full citation to wikisource{{ws2}}
—to link to wikisource inline{{wikisourcelang}}
—to create the sidebox to another wikisource lanaguage{{Cite EB1911}}
—for 1911 Encyclopaedia Britannica entries{{Cite CE1913}}
—for 1913 Catholic Encyclopedia entries