Difference between revisions of "Template:Cite Collier's"

From blackwiki
Jump to navigation Jump to search
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|}}}<!-- -->}}} |HIDE_PARAMETER |url}}={{{url|}}}
+
   |{{#if:{{{wstitle|{{{1|}}}<!-- -->}}} |HIDE_PARAMETER1 |url}}={{{url|}}}
  
 
<!--Optional parameters-->
 
<!--Optional parameters-->
  |{{#if:{{{author|}}}  |author  |HIDE_PARAMETER}}={{{author|}}}
+
  |{{#if:{{{author|}}}  |author  |HIDE_PARAMETER2}}={{{author|}}}
  |{{#if:{{{authorlink|}}} |authorlink  |HIDE_PARAMETER}}={{{authorlink|}}}
+
  |{{#if:{{{authorlink|}}} |authorlink  |HIDE_PARAMETER3}}={{{authorlink|}}}
  |{{#if:{{{first|}}}  |first  |HIDE_PARAMETER}}={{{first|}}}
+
  |{{#if:{{{first|}}}  |first  |HIDE_PARAMETER4}}={{{first|}}}
  |{{#if:{{{last|}}}    |last    |HIDE_PARAMETER}}={{{last|}}}
+
  |{{#if:{{{last|}}}    |last    |HIDE_PARAMETER5}}={{{last|}}}
  |{{#if:{{{edition|}}} |edition |HIDE_PARAMETER}}={{{edition|}}}
+
  |{{#if:{{{edition|}}} |edition |HIDE_PARAMETER6}}={{{edition|}}}
  |{{#if:{{{volume|}}}  |volume  |HIDE_PARAMETER}}={{{volume|}}}
+
  |{{#if:{{{volume|}}}  |volume  |HIDE_PARAMETER7}}={{{volume|}}}
  |{{#if:{{{page|}}}    |page    |HIDE_PARAMETER}}={{{page|}}}
+
  |{{#if:{{{page|}}}    |page    |HIDE_PARAMETER8}}={{{page|}}}
  |{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETER}}={{{pages|}}}
+
  |{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETER9}}={{{pages|}}}
  |{{#if:{{{ref|}}}    |ref    |HIDE_PARAMETER}}={{{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.

50px Template documentation[view] [edit] [history] [purge]

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:

 "Jackson, Andrew" . 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:

 "Jackson, Andrew" . 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:

 "Monroe, a city of Louisiana" . 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:

 "Jackson, Andrew" . Collier's New Encyclopedia. 1921.

Using noicon

{{cite Collier's|wstitle=Jackson, Andrew|noicon=x}}

displays as:

"Jackson, Andrew" . 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"Townsend, Charles Henry Tyler" . Collier's New Encyclopedia. 1921.

Hidden categories

This template contains several hidden categories to aid with maintenance. These can be found under:

See also