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

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
m (→‎top: clean up, no longer needed, removed: harv)
imported>Trappist the monk
(sync from sandbox;)
 
Line 1: Line 1:
{{#if: {{{noicon|}}}|<!--do nothing-->|<!--else
+
{{#if:{{{noicon|}}}||{{#if:{{{wstitle|}}}||[[File:PD-icon.svg|alt=public domain|12px|link=]]&nbsp;}}}}<!--
-->{{#if: {{{wstitle|{{{1|}}}<!-- -->}}}|<!--then-->[[File:Wikisource-logo.svg|12px|alt=]]&nbsp;|
 
<!--else-->[[File:PD-icon.svg|12px|alt=]]&nbsp;
 
  }}
 
}}<!--
 
 
-->{{#if:{{{vb|}}}|{{#if: {{{inline|}}}|One or more of the preceding sentences|This article}} incorporates text from a publication now in the [[public domain]]:&nbsp;|}}<!--
 
-->{{#if:{{{vb|}}}|{{#if: {{{inline|}}}|One or more of the preceding sentences|This article}} incorporates text from a publication now in the [[public domain]]:&nbsp;|}}<!--
-->{{cite encyclopedia
+
-->{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite encyclopedia
 +
  |_exclude=display, inline, no-icon, noicon, short, wstitle, vb, _debug
 +
  |_reuse=title <!-- these are reused -->
 +
 
 
  |encyclopedia=[[Collier's Encyclopedia|Collier's New Encyclopedia]]
 
  |encyclopedia=[[Collier's Encyclopedia|Collier's New Encyclopedia]]
  
  |editor-first={{{editor-first|{{#if:{{{short|}}}||Francis J.}}}}}
+
  |editor-first={{#if:{{{short|}}}||Francis J.}}
  |editor-last={{{editor-last|{{#if:{{{short|}}}||Reynolds}}}}}
+
  |editor-last={{#if:{{{short|}}}||Reynolds}}
  |location={{{location|{{#if:{{{short|}}}||New York}}}}}
+
  |location={{#if:{{{short|}}}||New York}}
  |publisher={{{publisher|{{#if:{{{short|}}}||P.&nbsp;F. Collier & Son Company}}}}}
+
  |publisher={{#if:{{{short|}}}||P.&nbsp;F. Collier & Son Company}}
 +
 
 +
|title={{#if:{{{title|}}}|{{{title}}}|{{#if:{{{wstitle|{{{1|}}}}}}|{{cite wikisource/make link
 +
            |link=Collier's New Encyclopedia ({{{year|1921}}})/{{{wstitle|{{{1|}}}}}}
 +
            |anchor=
 +
            |label={{{display|{{{wstitle|{{{1|}}}}}}}}}
 +
            |noicon={{{no-icon|{{{noicon|}}}}}}
 +
          }}}}}}
  
|title={{#if:{{{title|}}}|{{{title}}}|
 
            {{#if:{{{wstitle|{{{1|}}}<!-- -->}}}|[[s:Collier's New Encyclopedia ({{{year|1921}}})/{{{wstitle|{{{1|}}}<!-- -->}}}|{{{display|{{{wstitle|{{{1|}}}<!-- -->}}}<!-- -->}}}]]|<sup><span style="color:red">article name needed</span></sup>}}
 
          }}
 
 
  |year={{{year|1921}}}
 
  |year={{{year|1921}}}
  
 
<!--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_PARAMETER1 |url}}={{{url|}}}
+
   |url={{#if:{{{wstitle|{{{1|}}}}}}||{{{url|}}}}}
 
 
<!--Optional parameters-->
 
|{{#if:{{{author|}}}  |author  |HIDE_PARAMETER2}}={{{author|}}}
 
|{{#if:{{{authorlink|}}} |authorlink  |HIDE_PARAMETER3}}={{{authorlink|}}}
 
|{{#if:{{{first|}}}  |first  |HIDE_PARAMETER4}}={{{first|}}}
 
|{{#if:{{{last|}}}    |last    |HIDE_PARAMETER5}}={{{last|}}}
 
|{{#if:{{{edition|}}} |edition |HIDE_PARAMETER6}}={{{edition|}}}
 
|{{#if:{{{volume|}}}  |volume  |HIDE_PARAMETER7}}={{{volume|}}}
 
|{{#if:{{{page|}}}    |page    |HIDE_PARAMETER8}}={{{page|}}}
 
|{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETER9}}={{{pages|}}}
 
|ref={{{ref|}}}
 
 
  }}<includeonly>{{#ifeq: {{NAMESPACEE}} |<!--is set-->
 
  }}<includeonly>{{#ifeq: {{NAMESPACEE}} |<!--is set-->
 
     |<!--Sort out the parameters-->
 
     |<!--Sort out the parameters-->

Latest revision as of 13:58, 11 October 2020

public domain Reynolds, Francis J., ed. (1921). Collier's New Encyclopedia. New York: P. F. Collier & Son Company. Missing or empty |title= (help)

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:

Reynolds, Francis J., ed. (1921). "Jackson, Andrew" . Collier's New Encyclopedia. New York: P. F. Collier & Son Company.

With comment

{{cite Collier's|wstitle=Jackson, Andrew}} A popular politician in the formative years of the United States.

displays as:

Reynolds, Francis J., ed. (1921). "Jackson, Andrew" . Collier's New Encyclopedia. New York: P. F. Collier & Son Company. 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:

public domain Reynolds, Francis J., ed. (1921). "Monroe, a city of Louisiana" . Collier's New Encyclopedia. New York: P. F. Collier & Son Company.

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:

Reynolds, Francis J., ed. (1921). "Jackson, Andrew". Collier's New Encyclopedia. New York: P. F. Collier & Son Company.

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 domainReynolds, Francis J., ed. (1921). "Townsend, Charles Henry Tyler" . Collier's New Encyclopedia. New York: P. F. Collier & Son Company.

Hidden categories

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

See also