Template:EB1911/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jacklee
(Created documentation page)
 
m (102 revisions imported)
 
(101 intermediate revisions by 35 users not shown)
Line 1: Line 1:
{{Documentation subpage}}{{esoteric}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE. -->
{{Lua|Module:template wrapper}}


{| class="messagebox standard-talk" style="text-align:center;"
==Usage==
This template indicates that an article incorporates text from the [[Encyclopædia Britannica Eleventh Edition|Eleventh Edition of the ''Encyclopædia Britannica'']], which is now in the [[public domain]].
 
===Error message===
This template ''requires'' a title parameter: <kbd>title=</kbd> or <kbd>wstitle=</kbd> to associate the source of the text being used with a specific part of the massive encyclopedia from which it is copied or paraphrased. More information on these and other parameters are set out below. In the absence of a title parameter being supplied, the template will display the error message <sup><span style="color:red">article name needed</span></sup> and set a category flagging that no article name has been given.<ref group=nb>It is not much use to the reader to inform them that a Wikipedia article contains some text copied from somewhere in the 29 volumes of the Eleventh Edition of the Encyclopædia Britannica!</ref>
 
===Quick explanation (''aide-mémoire'')===
The template can be placed in different locations and depending on the use, the parameters can be mixed and matched:
 
{|class=wikitable
|-
|-
| width="48px" | [[Image:Messagebox info.png|F.Y.I.]]
!Location||Parameters||Example||Note
|| This [[Wikipedia:Template messages|template]] is one of several [[Wikipedia:Template messages/Sources of articles|templates used to provide or request sources for articles]].
|-
|==References==
|<nowiki>{{EB1911|wstitle=</nowiki>''EB name''<nowiki>}}</nowiki>
|{{EB1911|wstitle=Alfred the Great}}
|Use '''wstitle=''EB name''''' if the article exists on [[Wikisource]] if not use '''title=''EB name'' '''
|-
|==References==
|<nowiki>{{EB1911|title=|url=|first=|last=|volume=|pages=}}</nowiki>
|{{EB1911|title=Alfred the Great|first=Charles|last=Plummer|url=https://archive.org/stream/encyclopaediabri01chisrich#page/582/mode/1up|volume=1|pages=582–584}}
|some additional information: '''title''' instead of ''wstitle'', '''url''' to the external page instead of link to wikisource; the '''first''' and '''last''' names of the author of the article, the '''volume''' and '''page [number]s'''.
|-
|[[WP:CITE#Inline citations|inline citation]]
|<nowiki>{{EB1911|inline=1|wstitle=</nowiki>''EB name''<nowiki>}}</nowiki>
|{{EB1911|inline=1|wstitle=Alfred the Great}}
|'''inline=1'''. Alters the prescript from "This article..." to "One or more...". Suitable for noting that a paragraph is copied from EB.
|-
|inline citation
|<nowiki>{{EB1911|noprescript=1|title=</nowiki>''EB name''<nowiki>}}</nowiki>
|{{EB1911|title=Alfred the Great|noprescript=1}}
|'''noprescript=1'''.  Removes the prescript suitable for a citation where a paragraph is a summary of a paragraph from an EB article and not a copy. '''title=''' for no copy on Wikisource.
|-
|==Further reading==
|<nowiki>{{EB1911|noprescript=1|url=http://...|title=</nowiki>''EB name''<nowiki>}}</nowiki>
|{{EB1911|noprescript=1|title=Alfred the Great|url=https://archive.org/stream/encyclopaediabri01chisrich#page/582/mode/1up}}
|'''noprescript=1.'''  Removes the prescript '''title=''' for the article name not yet on Wikisource. '''url=''' for where the text can be found online.
|-
|==External links==
|<nowiki>{{EB1911|noprescript=1|wstitle=</nowiki>''EB name''<nowiki>}}</nowiki>
|{{EB1911|noprescript=1|wstitle=Alfred the Great}}
|'''noprescript=1.''' Removes the prescript as the source is not used in the article.
|}
|}


==Usage==
===Detailed notes===
This template should be placed on the '''main''' page of the article. The '''{{tl|1911 talk}}''' template should also be placed on the talk page. This will add the talk page to the proper category.
This template is a wrapper around {{tl|Cite EB1911}} which in turn is a wrapper around {{tl|Cite encyclopedia}}. In its default mode it attributes text to an article from Eleventh Edition of the Encyclopædia Britannica. If attribution is not required (because the article is used as an information source, but not directly copied, or closely paraphrased) then use {{tl|Cite EB1911}} instead of this template.
 
This template automatically sets some of the parameters passed into {{tl|cite encyclopedia}} for example "publisher = Cambridge University Press". Over and above the standard parameter passed into {{tl|cite encyclopedia}} there are some additional parameters and those are listed below in a separate table from the table of parameters passed into {{tl|cite encyclopedia}}.
 
Minimum is:'''<nowiki>{{EB1911|title=</nowiki>''EB article name''<nowiki>}}</nowiki>''' or '''<nowiki>{{EB1911|wstitle=</nowiki>''EB article name''<nowiki>}}</nowiki>'''
 
Full set is:'''<nowiki>{{EB1911|wstitle= |title= |display= |noprescript= |noicon |inline= |author= |last= |first= |authorlink= |chapter= |url= |accessdate= |volume= |page= |pages= |ref= |mode=}}</nowiki>'''


You can use this template with no parameters, and it will just say "{{1911}}".
{|class=wikitable
|+Additional parameters
!Parameter ||Note
|-
|author=''author name''||Assigned to ''last'' ignored if ''last'' is set. This is a standard parameter.
|-
|wstitle=''name of the article on wikisource'' ||If set, set link to EB article on wikisource, and unsets ''title'' and ''url'' if they are also set.
|-
|display=''label for Wikisource link''||If set, this text is used as the display label when linking to EB article on Wikisource. It is useful for hiding disambiguation extensions, and should show the actual title in the printed EB.
|-
|inline=1 or footnote=1 ||Changes the default prescript from "This article" to "One or more of the preceding sentences". Useful for inline citations (see inline examples in the [[#Quick explanation (aide-mémoire)|previous section]]). Footnote is deprecated and will be removed in later versions
|-
|noicon=1 ||Suppresses the lead icon (useful with {{tl|Wikisource-inline}}).
|-
|noprescript=1 ||Suppresses the prescript.
|-
|}


Alternatively, the following optional parameters are available. These have been added in support of more robust citation:
{|class=wikitable
|+Parameters passed into {{tl|cite encyclopedia}}
!Parameter||Set to||Notes
|-
|last= ||author= or last= ||If ''author='' and ''last='' are set the value of ''last='' is used. Use ''last2='' (etc) if there is more than one author.
|-
|first= ||first= ||Set to the value of ''first='' or not set. first2= if there is more than one author
|-
|authorlink= ||  authorlink= || Set to the value of ''authorlink='' or not set. Use author2link to set the value of author2link etc.
|-
|editor-first= ||Hugh || Automatically set within the template
|-
|editor-last= ||Chisholm || Automatically set within the template
|-
|encyclopedia= || [[Encyclopædia Britannica Eleventh Edition|Encyclopædia Britannica]]||Automatically set within the template
|-
|chapter= ||chapter= ||Set to the text of ''chapter='' or not set
|-
|title= ||wstitle= or title= or article=||Set to ''wstitle='' if set, if not to ''title='' if set, if not to ''article='' if set, if not set then left blank.
|-
|url= ||url= || Set to the value of url= unless ''wstitle='' is set in which case it is not set.
|-
|accessdate= || accessdate= || Set to the value of ''accessdate='' unless ''wstitle='' is set in which case it is not set.
|-
| language=||  ||Not set
|-
| edition= ||Eleventh ||Automatically set within the template
|-
| date= || ||Not set (see year)
|-
| year= ||1911||Automatically set within the template
|-
| month= || ||Not set
|-
| publisher= ||Cambridge University Press ||automatically set within the template
|-
| volume= ||volume= ||Set to the value of ''volume='' or not set
|-
| location= || ||Not set
|-
| id= || ||Not set
|-
| isbn= || ||Not set
|-
| oclc= || ||Not set
|-
| doi= || ||Not set
|-
| page= ||page=||Set to the value of ''page='' or not set
|-
| pages= ||pages=||Set to the value of ''pages='' or not set
|-
| quote=|| ||Not set
|-
| mode= ||mode= ||Set to the value of ''mode='' or set to default.<ref group=nb>The parameter is provided because {{tl|cite encyclopedia}} (the wrapper for this template) sets mode="cs1"  ([[Help:Citation Style 1|citation style 1]]) while the other standard template {{tl|citation}} sets mode="cs2" ([[Help:Citation Style 2|citation style 2]]). So the parameter ''mode'' can be set to cs2 to allow this template to emulate the look of {{tl|citation}} if that is considered to be desirable.</ref>
|-
| ref=||harv||automatically set within the template, but it can be overwritten with a user supplied value. It means that {{tl|sfn}} and {{tl|harvnb}} can be used to link to this template, for example, {{tlx|sfn|Chisholm|1911}}. ([[Template:Sfn#Citation_template_does_not_support_.7Cref.3Dharv|more details]])
|}


;article: ''Britannica'' article name.
== Tracking categories ==
;url: a URL for the article online. Can only be used in conjunction with the article name.
This template adds the hidden category "[[:Category:Wikipedia articles incorporating text from the 1911 Encyclopædia Britannica|Wikipedia articles incorporating text from the 1911 Encyclopædia Britannica]]" to the articles it is used in.
;author: author of the ''Britannica'' article. Can only be used in conjunction with the article name.


For example:
The template calls {{tl|Cite EB1911}} and, depending on parameters used, it also adds the following hidden categories:
<nowiki>{{1911|article=Anarchism|author=[[Peter Kropotkin]]}}</nowiki>
* {{clc|Wikipedia articles incorporating a citation from the 1911 Encyclopaedia Britannica with no article parameter}}
produces
* {{clc|Wikipedia articles incorporating a citation from the 1911 Encyclopaedia Britannica with Wikisource reference}}
:{{1911|article=Anarchism|author=[[Peter Kropotkin]]}}
* {{clc|Wikipedia articles incorporating a citation from the 1911 Encyclopaedia Britannica without Wikisource reference}}
<nowiki>{{1911|article=Anarchism|author=[[Peter Kropotkin]]|url=http://62.1911encyclopedia.org/A/AN/ANARCHISM.htm}}</nowiki>
produces
:{{1911|article=Anarchism|author=[[Peter Kropotkin]]|url=http://62.1911encyclopedia.org/A/AN/ANARCHISM.htm}}
(Unfortunately, that particular scanned copy is poor enough that it would not be worth linking from our article.)


==See also==
== See also ==
*[[Wikipedia:1911 Encyclopaedia Britannica]] – for information on usage of the material.
* [[Wikipedia:WikiProject Encyclopaedia Britannica]]—for information on usage of the material.
* {{tl|Sect1911}} Attribute a section to EB 1911
* {{tl|Cite EB1911}} Cite an EB 1911 article.
* {{tl|EB1911 poster}} display an EB 1911 Wikisource article in a top box on the right
* {{tl|Update-EB}} for articles with information from the 1911 Encyclopaedia that are outdated and require updates (for example information in geographical articles overemphasises railway links and ignores more recent forms of transport, and do not mention 100 years of political changes).


<includeonly><!--
==Notes==
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
{{reflist|group=nb}}
[[Category:1911 Britannica templates|{{PAGENAME}}]]
[[Category:Attribution templates|1911]]
[[Category:Intricate templates]]
[[Category:Templates using ParserFunctions|1911]]


[[hr:Predložak:1911]]
<includeonly>{{Sandbox other||<!--
[[af:Template:1911]]
++++ PLEASE ADD CATEGORIES BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
[[ca:Template:1911]]
{{DEFAULTSORT:Eb 1911}}
[[eo:Template:1911]]
[[Category:1911 Britannica templates]]
[[es:Template:1911]]
[[Category:Encyclopedia source templates]]
[[fi:Template:1911]]
[[Category:Wikisource link templates]]
[[fr:Template:1911]]
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
[[ms:Template:1911]]
}}</includeonly>
[[nl:Template:1911]]
[[no:Template:1911]]
[[oc:Template:1911]]
[[pt:Britannica1911]]
[[ro:Template:1911]]
[[simple:Template:1911]]
[[sk:Template:1911]]
[[ru:Шаблон:1911]]</includeonly>

Latest revision as of 04:26, 3 September 2020

Usage

This template indicates that an article incorporates text from the Eleventh Edition of the Encyclopædia Britannica, which is now in the public domain.

Error message

This template requires a title parameter: title= or wstitle= to associate the source of the text being used with a specific part of the massive encyclopedia from which it is copied or paraphrased. More information on these and other parameters are set out below. In the absence of a title parameter being supplied, the template will display the error message article name needed and set a category flagging that no article name has been given.[nb 1]

Quick explanation (aide-mémoire)

The template can be placed in different locations and depending on the use, the parameters can be mixed and matched:

Location Parameters Example Note
==References== {{EB1911|wstitle=EB name}}  This article incorporates text from a publication now in the public domainChisholm, Hugh, ed. (1911). "Alfred the Great". Encyclopædia Britannica (11th ed.). Cambridge University Press. Use wstitle=EB name if the article exists on Wikisource if not use title=EB name
==References== {{EB1911|title=|url=|first=|last=|volume=|pages=}} Public Domain This article incorporates text from a publication now in the public domainPlummer, Charles (1911). "Alfred the Great". In Chisholm, Hugh (ed.). Encyclopædia Britannica. Vol. 1 (11th ed.). Cambridge University Press. pp. 582–584. some additional information: title instead of wstitle, url to the external page instead of link to wikisource; the first and last names of the author of the article, the volume and page [number]s.
inline citation {{EB1911|inline=1|wstitle=EB name}}  One or more of the preceding sentences incorporates text from a publication now in the public domainChisholm, Hugh, ed. (1911). "Alfred the Great". Encyclopædia Britannica (11th ed.). Cambridge University Press. inline=1. Alters the prescript from "This article..." to "One or more...". Suitable for noting that a paragraph is copied from EB.
inline citation {{EB1911|noprescript=1|title=EB name}} Public Domain Chisholm, Hugh, ed. (1911). "Alfred the Great". Encyclopædia Britannica (11th ed.). Cambridge University Press. noprescript=1. Removes the prescript suitable for a citation where a paragraph is a summary of a paragraph from an EB article and not a copy. title= for no copy on Wikisource.
==Further reading== {{EB1911|noprescript=1|url=http://...|title=EB name}} Public Domain Chisholm, Hugh, ed. (1911). "Alfred the Great". Encyclopædia Britannica (11th ed.). Cambridge University Press. noprescript=1. Removes the prescript title= for the article name not yet on Wikisource. url= for where the text can be found online.
==External links== {{EB1911|noprescript=1|wstitle=EB name}}  Chisholm, Hugh, ed. (1911). "Alfred the Great". Encyclopædia Britannica (11th ed.). Cambridge University Press. noprescript=1. Removes the prescript as the source is not used in the article.

Detailed notes

This template is a wrapper around {{Cite EB1911}} which in turn is a wrapper around {{Cite encyclopedia}}. In its default mode it attributes text to an article from Eleventh Edition of the Encyclopædia Britannica. If attribution is not required (because the article is used as an information source, but not directly copied, or closely paraphrased) then use {{Cite EB1911}} instead of this template.

This template automatically sets some of the parameters passed into {{cite encyclopedia}} for example "publisher = Cambridge University Press". Over and above the standard parameter passed into {{cite encyclopedia}} there are some additional parameters and those are listed below in a separate table from the table of parameters passed into {{cite encyclopedia}}.

Minimum is:{{EB1911|title=EB article name}} or {{EB1911|wstitle=EB article name}}

Full set is:{{EB1911|wstitle= |title= |display= |noprescript= |noicon |inline= |author= |last= |first= |authorlink= |chapter= |url= |accessdate= |volume= |page= |pages= |ref= |mode=}}

Additional parameters
Parameter Note
author=author name Assigned to last ignored if last is set. This is a standard parameter.
wstitle=name of the article on wikisource If set, set link to EB article on wikisource, and unsets title and url if they are also set.
display=label for Wikisource link If set, this text is used as the display label when linking to EB article on Wikisource. It is useful for hiding disambiguation extensions, and should show the actual title in the printed EB.
inline=1 or footnote=1 Changes the default prescript from "This article" to "One or more of the preceding sentences". Useful for inline citations (see inline examples in the previous section). Footnote is deprecated and will be removed in later versions
noicon=1 Suppresses the lead icon (useful with {{Wikisource-inline}}).
noprescript=1 Suppresses the prescript.
Parameters passed into {{cite encyclopedia}}
Parameter Set to Notes
last= author= or last= If author= and last= are set the value of last= is used. Use last2= (etc) if there is more than one author.
first= first= Set to the value of first= or not set. first2= if there is more than one author
authorlink= authorlink= Set to the value of authorlink= or not set. Use author2link to set the value of author2link etc.
editor-first= Hugh Automatically set within the template
editor-last= Chisholm Automatically set within the template
encyclopedia= Encyclopædia Britannica Automatically set within the template
chapter= chapter= Set to the text of chapter= or not set
title= wstitle= or title= or article= Set to wstitle= if set, if not to title= if set, if not to article= if set, if not set then left blank.
url= url= Set to the value of url= unless wstitle= is set in which case it is not set.
accessdate= accessdate= Set to the value of accessdate= unless wstitle= is set in which case it is not set.
language= Not set
edition= Eleventh Automatically set within the template
date= Not set (see year)
year= 1911 Automatically set within the template
month= Not set
publisher= Cambridge University Press automatically set within the template
volume= volume= Set to the value of volume= or not set
location= Not set
id= Not set
isbn= Not set
oclc= Not set
doi= Not set
page= page= Set to the value of page= or not set
pages= pages= Set to the value of pages= or not set
quote= Not set
mode= mode= Set to the value of mode= or set to default.[nb 2]
ref= harv automatically set within the template, but it can be overwritten with a user supplied value. It means that {{sfn}} and {{harvnb}} can be used to link to this template, for example, {{sfn|Chisholm|1911}}. (more details)

Tracking categories

This template adds the hidden category "Wikipedia articles incorporating text from the 1911 Encyclopædia Britannica" to the articles it is used in.

The template calls {{Cite EB1911}} and, depending on parameters used, it also adds the following hidden categories:

See also

  • Wikipedia:WikiProject Encyclopaedia Britannica—for information on usage of the material.
  • {{Sect1911}} Attribute a section to EB 1911
  • {{Cite EB1911}} Cite an EB 1911 article.
  • {{EB1911 poster}} display an EB 1911 Wikisource article in a top box on the right
  • {{Update-EB}} for articles with information from the 1911 Encyclopaedia that are outdated and require updates (for example information in geographical articles overemphasises railway links and ignores more recent forms of transport, and do not mention 100 years of political changes).

Notes

  1. It is not much use to the reader to inform them that a Wikipedia article contains some text copied from somewhere in the 29 volumes of the Eleventh Edition of the Encyclopædia Britannica!
  2. The parameter is provided because {{cite encyclopedia}} (the wrapper for this template) sets mode="cs1" (citation style 1) while the other standard template {{citation}} sets mode="cs2" (citation style 2). So the parameter mode can be set to cs2 to allow this template to emulate the look of {{citation}} if that is considered to be desirable.