Difference between revisions of "Template:Chambers"

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
m (→‎top: clean up, no longer needed, removed: harv (2))
imported>Trappist the monk
 
Line 1: Line 1:
{{hide in print|1=
+
{{#if:{{{noicon|{{{no-icon|}}}}}}||{{#if:{{{wstitle|}}}|[[File:Wikisource-logo.svg|12px|alt=Wikisource]]|[[File:PD-icon.svg|12px|alt=Public Domain]]}}&nbsp;}}<!--
<!--
+
Sort out the lead string
sort out the icon to use
+
-->{{#if:{{{no-prescript|{{{noprescript|}}}}}}||{{#if:{{{inline|{{{footnote|}}}}}}|One or more of the preceding sentences|This article}}&nbsp;incorporates text from a publication now in the [[public domain]]:&nbsp;}}<!--no white space
-->{{#if: {{{noicon|{{{no-icon|}}}<!--noicon-->}}} |<!--eq to empty-->
+
-->{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite encyclopedia
    |<!--then-->{{#ifeq: {{{wstitle|}}} |<!--eq to empty-->
+
     |_exclude=footnote, inline, noicon, noprescript, no-icon, no-prescript, wstitle, _debug
                |<!--then-->{{#ifeq: {{{1|}}}|<!--eq to empty-->
 
                              |<!--then-->[[File:PD-icon.svg|12px|alt=Public Domain]]&nbsp;
 
                              |<!--else-->[[File:Wikisource-logo.svg|12px|alt=Wikisource]]&nbsp;
 
                            }}
 
                |<!--else-->[[File:Wikisource-logo.svg|12px|alt=]]&nbsp;
 
                }}
 
  }}
 
}}<!--Sort out the lead string
 
-->{{#ifeq: {{{no-prescript|{{{noprescript|}}}<!---->}}} |<!--eq to empty-->
 
    |<!--then display a prescript-->{{#ifeq: {{{inline|{{{footnote|}}}<!--inline-->}}} |<!--eq to empty-->
 
                                    |<!--then display-->This article
 
                                    |<!--else display-->One or more of the preceding sentences
 
                                    }}<!-- no white space
 
  -->&nbsp;incorporates text from a publication now in the [[public domain]]:&nbsp;
 
  }}<!--no white space
 
-->{{cite encyclopedia
 
|{{#if:{{{1|}}}        |1        |HIDE_PARAMETER1}}={{{1|}}}
 
<!--allow up to two authors to be set-->
 
|{{#if:{{{last|}}}    |last    |HIDE_PARAMETER2}}={{{last|}}}
 
|{{#if:{{{last1|}}}    |last1    |HIDE_PARAMETER3}}={{{last1|}}}
 
|{{#if:{{{author|}}}  |author  |HIDE_PARAMETER4}}={{{author|}}}
 
|{{#if:{{{author1|}}}  |author1  |HIDE_PARAMETER5}}={{{author1|}}}
 
|{{#if:{{{authors|}}}  |authors  |HIDE_PARAMETER6}}={{{authors|}}}
 
 
 
|{{#if:{{{first|}}}    |first    |HIDE_PARAMETER7}}={{{first|}}}
 
|{{#if:{{{first1|}}}  |first1  |HIDE_PARAMETER8}}={{{first1|}}}
 
 
 
|{{#if:{{{authorlink|}}}  |authorlink  |HIDE_PARAMETER9}}={{{authorlink|}}}
 
|{{#if:{{{author-link|}}}  |author-link  |HIDE_PARAMETER20}}={{{author-link|}}}
 
|{{#if:{{{author1-link|}}} |author1-link |HIDE_PARAMETER21}}={{{author1-link|}}}
 
|{{#if:{{{authorlink1|}}}  |authorlink1  |HIDE_PARAMETER22}}={{{authorlink1|}}}
 
 
|{{#if:{{{last2|}}}    |last2     |HIDE_PARAMETER23}}={{{last2|}}}
 
|{{#if:{{{author2|}}}  |author2  |HIDE_PARAMETER24}}={{{author2|}}}
 
|{{#if:{{{first2|}}}  |first2    |HIDE_PARAMETER25}}={{{first2|}}}
 
 
 
|{{#if:{{{authorlink2|}}}  |authorlink2  |HIDE_PARAMETER26}}={{{authorlink2|}}}
 
|{{#if:{{{author2-link|}}} |author2-link |HIDE_PARAMETER27}}={{{author2-link|}}}
 
 
 
<!-- set defaults for some parameters-->
 
|year={{{year|1912}}}
 
|editor-first={{{editor-first|{{#if:{{{short|}}}| |David}}}}}
 
|editor-last={{{editor-last|{{#if:{{{short|}}}| |Patrick}}}}}
 
|editor2-first={{{editor-first|{{#if:{{{short|}}}| |Francis H.}}}}}
 
|editor2-last={{{editor-last|{{#if:{{{short|}}}| |Groom}}}}}
 
|encyclopedia=[[Chamber's Biographical Dictionary]]
 
 
 
|{{#if:{{{title|}}}  |title  |HIDE_PARAMETER30}}={{{title|}}}
 
<!--Only set url if the title parameter exists-->
 
|{{#if:{{{title|}}}    |url    |HIDE_PARAMETER31}}={{{url|}}}
 
 
 
|{{#if:{{{volume|}}}    |volume    |HIDE_PARAMETER40}}={{{volume|}}}
 
|{{#if:{{{page|}}}      |page      |HIDE_PARAMETER41}}={{{page|}}}
 
|{{#if:{{{pages|}}}      |pages      |HIDE_PARAMETER42}}={{{pages|}}}
 
|{{#if:{{{separator|}}}  |separator  |HIDE_PARAMETER43}}={{{separator|}}}
 
|{{#if:{{{postscript|}}} |postscript |HIDE_PARAMETER44}}={{{postscript|}}}
 
|{{#if:{{{mode|}}}      |mode      |HIDE_PARAMETER45}}={{{mode|}}}
 
 
 
|ref={{{ref|}}}
 
  
 +
    |year=1912
 +
    |editor-first={{#if:{{{short|}}}||David}}
 +
    |editor-last={{#if:{{{short|}}}||Patrick}}
 +
    |editor2-first={{#if:{{{short|}}}||Francis H.}}
 +
    |editor2-last={{#if:{{{short|}}}||Groom}}
 +
    |encyclopedia=[[Chamber's Biographical Dictionary]]
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 22:29, 19 October 2020

12px This article incorporates text from a publication now in the public domainPatrick, David; Groom, Francis H., eds. (1912). Chamber's Biographical Dictionary. Missing or empty |title= (help)

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

There is a 1912 version of Chambers Biographical Dictionary available at the Internet Archive See this link. Text can be copied from it directly into a Wikipedia article providing the attribution requirements of the Plagiarism guideline are met. This template gives minimum attribution requirements, but a full citation should be given that includes, the article and page numbers.

Usage

None standard parameters:

|noicon=x – remove leading icon
|noprescript=x — remove prescript
|inline=x — for use with inline citations. change the wording in the prescript from
             This article to One or more of the preceding sentences
|short=x — shortens the citation by stopping the display of some parameters

For further details of all the parameters in the rest of this section see the documentation in {{cite encyclopedia}} as this template passes all the following parameters into that template.

Allow up to two authors to be set:

|first=first name
|last=surname
|author=first and surname — an alternative to the parameters first and last
|authorlink=Wikipedia article — works with first and last; or author

|first2=first name
|last2=surname 
|author2=first and surname
|authorlink2=Wikipedia article

Set defaults for some parameters:

|year=1912 — 1912 is the default but it can be changed to another year
|editor-first=David
|editor-last=Patrick
|editor2-first=Francis H.
|editor2-last=Groom
|encyclopedia=Chamber's Biographical Dictionary
|ref=harv  — harv is the default but it can be changed to another value

Some standard parameters needed for a full citation:

|title=Chamber's biography article name
|url=url to the page containing the biography article — Only set if the title parameter is set
|volume=number
|page=number
|pages=numbernumber

Appearance:

|mode=cs2 — to harmonise look with other citations using {{citation}} template

See also