Difference between revisions of "Template:Cite Collier's"
imported>PBS (Added inline= option for individual paragraphs or sentences that include text copied from the source) |
imported>WOSlinker (dedupe HIDE_PARAMETER to stop adding to Category:Pages using duplicate arguments in template calls) |
||
| Line 14: | Line 14: | ||
<!--if wstitle is set do not pass on a url string--> | <!--if wstitle is set do not pass on a url string--> | ||
| − | |{{#if:{{{wstitle|{{{1|}}}<!-- -->}}} | | + | |{{#if:{{{wstitle|{{{1|}}}<!-- -->}}} |HIDE_PARAMETER1 |url}}={{{url|}}} |
<!--Optional parameters--> | <!--Optional parameters--> | ||
| − | |{{#if:{{{author|}}} |author | | + | |{{#if:{{{author|}}} |author |HIDE_PARAMETER2}}={{{author|}}} |
| − | |{{#if:{{{authorlink|}}} |authorlink | | + | |{{#if:{{{authorlink|}}} |authorlink |HIDE_PARAMETER3}}={{{authorlink|}}} |
| − | |{{#if:{{{first|}}} |first | | + | |{{#if:{{{first|}}} |first |HIDE_PARAMETER4}}={{{first|}}} |
| − | |{{#if:{{{last|}}} |last | | + | |{{#if:{{{last|}}} |last |HIDE_PARAMETER5}}={{{last|}}} |
| − | |{{#if:{{{edition|}}} |edition | | + | |{{#if:{{{edition|}}} |edition |HIDE_PARAMETER6}}={{{edition|}}} |
| − | |{{#if:{{{volume|}}} |volume | | + | |{{#if:{{{volume|}}} |volume |HIDE_PARAMETER7}}={{{volume|}}} |
| − | |{{#if:{{{page|}}} |page | | + | |{{#if:{{{page|}}} |page |HIDE_PARAMETER8}}={{{page|}}} |
| − | |{{#if:{{{pages|}}} |pages | | + | |{{#if:{{{pages|}}} |pages |HIDE_PARAMETER9}}={{{pages|}}} |
| − | |{{#if:{{{ref|}}} |ref | | + | |{{#if:{{{ref|}}} |ref |HIDE_PARAMETER10}}={{{ref|}}} |
}}<includeonly>{{#ifeq: {{NAMESPACEE}} |<!--is set--> | }}<includeonly>{{#ifeq: {{NAMESPACEE}} |<!--is set--> | ||
|<!--Sort out the parameters--> | |<!--Sort out the parameters--> | ||
Revision as of 09:59, 25 October 2014
File:PD-icon.svg "article name needed". Collier's New Encyclopedia. 1921.
Contents
Purpose
This template facilitates the citation of articles from the Wikisource project Collier's New Encyclopedia in the manner of {{cite encyclopedia}}.
Usage
{{cite Collier's|wstitle=Collier's article name}}for articles on Wikisource
or
{{cite Collier's|title=Collier's article name}}for articles not on Wikisource. With this option the optional url=url may be wanted:{{cite Collier's|title=Collier's article name|url=url}}
and with a specification of the optional author, display, vb or noicon:
{{cite Collier's|wstitle=Collier's article name|display=displayed article name|author=author name|noicon=x|vb=x}}
Examples
Simple
{{cite Collier's|wstitle=Jackson, Andrew}}
displays as:
. Collier's New Encyclopedia. 1921.
With comment
{{cite Collier's|wstitle=Jackson, Andrew}} A popular politician in the formative years of the United States.
displays as:
. Collier's New Encyclopedia. 1921. A popular politician in the formative years of the United States.
Using display
The mechanics of Wikisource will sometimes require that a link have disambiguation information which is not part of the original title. The display parameter allows this information to be hidden for the purpose of the citation. For example:
{{cite Collier's|wstitle=Monroe (Louisiana)|year=1921|display=Monroe, a city of Louisiana}}
displays as:
. Collier's New Encyclopedia. 1921.
Using short
Using short removes the location, publisher and editor.
{{cite Collier's|wstitle=Jackson, Andrew|short=x}}
displays as:
. Collier's New Encyclopedia. 1921.
Using noicon
{{cite Collier's|wstitle=Jackson, Andrew|noicon=x}}
displays as:
- . Collier's New Encyclopedia. 1921.
Using vb
If text is incorporated verbatim into an article, the vb parameter can be used to tack on a notice appropriate to the policy in Wikipedia:Plagiarism.
{{cite Collier's|wstitle=Townsend, Charles Henry Tyler|vb=x}}
displays as:
This article incorporates text from a publication now in the public domain: . Collier's New Encyclopedia. 1921.
Hidden categories
This template contains several hidden categories to aid with maintenance. These can be found under:
See also
| The above documentation is transcluded from Template:Cite Collier's/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |