Difference between revisions of "Template:Cite Newgenbio/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>PBS
(Create sandbox version of Template:Newgenbio)
imported>PBS
(add page ability to the urls)
Line 4: Line 4:
 
  |author-link=Hugh James Rose
 
  |author-link=Hugh James Rose
 
  |year=1857
 
  |year=1857
  |url=https://archive.org/details/{{#switch:{{{volume}}}<!-- select the volume number default to vol. one-->
+
  |url= https://archive.org/stream/{{#switch:{{{volume}}}<!-- select the volume number default to vol. one-->
                                   |1|I=bub_gb_UDd_ArBPBp0C
+
                                   |1|I=bub_gb_UDd_ArBPBp0C#page/n
                                   |2|II=anewgeneralbiog06rosegoog
+
                                   |2|II=anewgeneralbiog06rosegoog#page/n
                                   |3|III=anewgeneralbiog02rosegoog
+
                                   |3|III=anewgeneralbiog02rosegoog#page/n
                                   |4|IV=anewgeneralbiog07rosegoog
+
                                   |4|IV=anewgeneralbiog07rosegoog#page/n
                                   |5|V=anewgeneralbiog04rosegoog
+
                                   |5|V=anewgeneralbiog04rosegoog#page/n
                                   |6|VI=anewgeneralbiog08rosegoog
+
                                   |6|VI=anewgeneralbiog08rosegoog#page/n
                                   |7|VII=anewgeneralbiog10rosegoog
+
                                   |7|VII=anewgeneralbiog10rosegoog#page/n
                                   |8|VIII=newgeneralbiogra08roseiala
+
                                   |8|VIII=newgeneralbiogra08roseiala#page/n
                                   |9|IX=bub_gb_3xdN7KG4de8C
+
                                   |9|IX=bub_gb_3xdN7KG4de8C#page/
                                   |10|X=anewgeneralbiog09rosegoog
+
                                   |10|X=anewgeneralbiog09rosegoog#page/n
                                   |11|XI=anewgeneralbiog03rosegoog
+
                                   |11|XI=anewgeneralbiog03rosegoog#page/n
                                   |12|XII=anewgeneralbiog05rosegoog
+
                                   |12|XII=anewgeneralbiog05rosegoog#page/n
                                   |bub_gb_UDd_ArBPBp0C}}
+
                                   |bub_gb_UDd_ArBPBp0C#page/n9}}<!--
 +
                    page + offset -->{{#expr:{{#if:{{{page|}}}|{{Str number/trim|{{{page}}} }}  +{{#switch:{{{volume}}}
 +
                                                                                                1|I|6|VI=8
 +
                                                                                                2|II|10|X=9
 +
                                                                                                3|III|4|IV|5|V|8|VIII=10
 +
                                                                                                11|XI=12
 +
                                                                                                7|VII|12|XII=14
 +
                                                                                                |0}}<!--
 +
                          pages + offset -->|{{#if:{{{pages|}}}|{{Str number/trim|{{{pages}}} }} +{{#switch:{{{volume}}}
 +
                                                                                                1|I|6|VI=8
 +
                                                                                                2|II|10|X=9
 +
                                                                                                3|III|4|IV|5|V|8|VIII=10
 +
                                                                                                11|XI=12
 +
                                                                                                7|VII|12|XII=14
 +
                                                                                                |0}}<!--
 +
                            or title page-->|6}}<!--EOif-->}}<!--EOexpr-->}}/mode/1up
  
 
  |encyclopedia={{#if: {{{title|}}}|A New General Biographical Dictionary|}}
 
  |encyclopedia={{#if: {{{title|}}}|A New General Biographical Dictionary|}}

Revision as of 18:33, 10 May 2017

Rose, Hugh Jame (1857). A New General Biographical Dictionary. London: B. Fellowes et al.

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

Usage

This template should be placed on the main page of the article.

Fill in the parameters as you would for the standard citation templates such as {{cite encyclopedia}}. The difference is that this template will fill in some of the parameters for you; and if you provide volume number and page number it will automatically link to the correct page in the volumes at the internet archive web site.


Pre set parameters

|first= Hugh James 
|last= Rose
|author-link= Hugh James Rose
|year= 1857
|location= London
|publisher= B. Fellowes et al

Partially set parameters

|title=dictionary article title – if name is not set then it defaults to A New General Biographical Dictionary
|encyclopaedia=A New General Biographical Dictionary — if title not set then it does not display

If volume number is set

|volume=volume number – if set add the name ranges to the volume number
|url=set by volume number and page[s] number — if volume number is not set then defaults to volume 1;
                                if page or pages is not set will default to the first page of the volume. 
                                The url parameter can be overwritten with a passed in value

Optional paramters:

|page=number — see Help:CS1
|pages=numbernumber — see Help:CS1
|ref= — see Help:CS1
|mode= — see Help:CS1
volumes for the edition published in 1857 Notes
1 AA–ANS
2 ANZ–BAH
3 BAH–BEE
4 BEE–BRA
5 BRA–CAP page 77 missing
6 CAP–CZE some pages at the end of volume are missing
7 DAC–GEO
8 GEO–GEN
9 JEP–MAR
10 MAR–PAY page 270 is a copy of 272, page 276 is missing
11 PAY–SCU pages 18-19, 68, 152-154, 364-356 are missing
12 SEP–ZWI pages 368, 374-376, 449-450 missing; after page 535 the pages are a mess

Attribution

see:WP:PLAGIARISM

If the Wikipedia article contains text copied from A New General Biographical Dictionary it must be attributed as describe in the plagiarism guideline. To do this surround the template {{Cite Newgenbio}} with {{source-attribution}}:

{{source-attribution|{{Cite Newgenbio |title=Aagard |volume=1 |page=1}} }}

It will appear thus:

Hidden categories

This template will add the articles transcluding it to the hidden category