Difference between revisions of "Template:Cite SBDEL/doc"
imported>PBS (→Simplest: remove usage of unamed parameter) |
imported>PBS (Using <code>short</code> and some other updates) |
||
| Line 29: | Line 29: | ||
====Comment==== | ====Comment==== | ||
| − | <code><nowiki>{{Cite SBDEL|Shakespeare, William|A versatile dramatist of Elizabethan England.}}</nowiki></code> | + | <code><nowiki>{{Cite SBDEL|title=Shakespeare, William|comment=A versatile dramatist of Elizabethan England.}}</nowiki></code> |
displays as: | displays as: | ||
| − | {{Cite SBDEL|Shakespeare, William|A versatile dramatist of Elizabethan England.}} | + | {{Cite SBDEL|title=Shakespeare, William|comment=A versatile dramatist of Elizabethan England.}} |
And, actually, it is easy just to append the comment after the template invocation: | And, actually, it is easy just to append the comment after the template invocation: | ||
| − | <code><nowiki>{{Cite SBDEL|Shakespeare, William}} A versatile dramatist of Elizabethan England.</nowiki></code> | + | <code><nowiki>{{Cite SBDEL|title=Shakespeare, William}} A versatile dramatist of Elizabethan England.</nowiki></code> |
displays as: | displays as: | ||
| − | {{Cite SBDEL|Shakespeare, William}} A versatile dramatist of Elizabethan England. | + | {{Cite SBDEL|title=Shakespeare, William}} A versatile dramatist of Elizabethan England. |
====Using <code>noicon</code>==== | ====Using <code>noicon</code>==== | ||
| − | <code><nowiki>{{Cite SBDEL|Shakespeare, William|noicon=x}}</nowiki></code> | + | <code><nowiki>{{Cite SBDEL|title=Shakespeare, William|noicon=x}}</nowiki></code> |
displays as: | displays as: | ||
| − | {{Cite SBDEL|Shakespeare, William|noicon=x}} | + | {{Cite SBDEL|title=Shakespeare, William|noicon=x}} |
| + | |||
| + | ====Using <code>short</code>==== | ||
| + | |||
| + | <code><nowiki>{{Cite SBDEL|title=Shakespeare, William|short=x}}</nowiki></code> | ||
| + | |||
| + | Removes the default editor publisher fields and displays as: | ||
| + | |||
| + | {{Cite SBDEL|title=Shakespeare, William|short=x}} | ||
=== Cite wikisource functions === | === Cite wikisource functions === | ||
Revision as of 16:53, 7 January 2014
| This is a documentation subpage for Template:Cite SBDEL. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Purpose
This template enables the citation of articles from the Wikisource project A Short Biographical Dictionary of English Literature in the manner of non-link references and notes.
Usage
{{Cite SBDEL
| title = put the name of the article here
| comment = optional comment
| noicon = x
}}
Parameters
- title: Title of the entry in Short Biographical Dictionary of English Literature. If not entered, it will use the title of the article to which the template has been added.
- comment: Comment following the citation.
- noicon:
All parameters are optional, although the first entry (title) is strongly recommended
Examples
Simplest
{{Cite SBDEL|title=Shakespeare, William}}
displays as:
File:Wikisource-logo.svg Cousin, John William (1910), "Shakespeare, William", A Short Biographical Dictionary of English Literature, London: J. M. Dent & Sons – via Wikisource
Comment
{{Cite SBDEL|title=Shakespeare, William|comment=A versatile dramatist of Elizabethan England.}}
displays as:
File:Wikisource-logo.svg Cousin, John William (1910), "Shakespeare, William", A Short Biographical Dictionary of English Literature, London: J. M. Dent & Sons – via Wikisource A versatile dramatist of Elizabethan England.
And, actually, it is easy just to append the comment after the template invocation:
{{Cite SBDEL|title=Shakespeare, William}} A versatile dramatist of Elizabethan England.
displays as:
File:Wikisource-logo.svg Cousin, John William (1910), "Shakespeare, William", A Short Biographical Dictionary of English Literature, London: J. M. Dent & Sons – via Wikisource A versatile dramatist of Elizabethan England.
Using noicon
{{Cite SBDEL|title=Shakespeare, William|noicon=x}}
displays as:
Cousin, John William (1910), "Shakespeare, William", A Short Biographical Dictionary of English Literature, London: J. M. Dent & Sons – via Wikisource
Using short
{{Cite SBDEL|title=Shakespeare, William|short=x}}
Removes the default editor publisher fields and displays as:
File:Wikisource-logo.svg "Shakespeare, William", A Short Biographical Dictionary of English Literature, 1910 – via Wikisource
Cite wikisource functions
This template is based on uses {{Cite wikisource}} and can use some additional parameters from that template if necessary. The most useful of these are:
- wspage: Page number in the original book. This will link to the anchor corresponding to the page at Wikisource; although that will only be noticeable for longer entries.
- page: This will display the page number but not link to wikisource.
- scan: Link to the page scan at Wikisource. Must include the full pagename, including the Page: namespace.
- quote: A quote from the book. A potential alternative to the comment parameter.
Example
{{Cite SBDEL|Shakespeare, William|wspage=350|scan=Page:Cousins's Short Biographical Dictionary of English Literature.djvu/350|quote=The genius of S. was so intensely dramatic that it is impossible to say confidently when he speaks in his own character.}}
File:Wikisource-logo.svg Cousin, John William (1910), "Shakespeare, William", A Short Biographical Dictionary of English Literature, London: J. M. Dent & Sons, p. 350 – via Wikisource, The genius of S. was so intensely dramatic that it is impossible to say confidently when he speaks in his own character.
[scan]
See also
- {{SBDEL Poster}}
- {{A Short Biographical Dictionary of English Literature}}
- Wikipedia:Sister projects