Template:EB1911/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>PBS
→‎Note: other catogories
meta>PBS
new documentation
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->


== Usage ==
==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]]. The template should be placed at the bottom of the '''main page''' of an article, just above the [[Wikipedia:Categorization|categories]].
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]].
 
===Quick explanation (''aide-mémoire'')===
The template can be placed in different locations and depending on the what it is required the parameters can be mixed and matched:
{|class=wikitable
|-
!Location||Parameters||Example||Note
|-
|==References==
|<nowiki>{{1911|wikisource=</nowiki>''EB name''<nowiki>}}</nowiki>
|{{1911|wikisource=Alfred the Great}}
|Use '''wikisource=''EB name''''' if the article exists on [[Wikisource]] if not use '''title=''EB name'' '''
|-
|==References==
|<nowiki>{{1911|title=|url=|first=|last=|volume=|pages=}}</nowiki>
|{{1911|title=Alfred the Great|first=Charles|last=Plummer|url=http://www.archive.org/stream/encyclopaediabri01chisrich#page/582/mode/1up|volume=1|pages=582–584}}
|some additional information: '''title''' instead of wikisource, '''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>{{1911|inline=1|wikisource=</nowiki>''EB name''<nowiki>}}</nowiki>
|{{1911|inline=1|wikisource=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>{{1911|no-prescript=1|title=</nowiki>''EB name''<nowiki>}}</nowiki>
|{{1911|title=Alfred the Great|no-prescript=1}}
|'''no-prescript=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>{{1911|no-prescript=1|url=http://...|title=</nowiki>''EB name''<nowiki>}}</nowiki>
|{{1911|no-prescript=1|title=Alfred the Great|url=http://www.archive.org/stream/encyclopaediabri01chisrich#page/582/mode/1up}}
|'''no-prescript=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>{{1911|no-prescript=1|wikisource=</nowiki>''EB name''<nowiki>}}</nowiki>
|{{1911|no-prescript=1|wikisourcce=Alfred the Great}}
|'''no-prescript=1.''' Removes the prescript as the source is not used in the article.
|}
 
===Detailed notes===
 
This template is wrapper around {{tl|cite encyclopedia}}. In its default mode it attributes text to an article from Eleventh Edition of the Encyclopædia Britannica.


== 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}}.<ref group=nb>For backwards compatibility with {{tl|Wikisource1911Enc citation}}  and {{tl|1911EB}}, this template takes two unnamed parameters the first the ''article name'' the second ''a comment'' but these are depreciated. They should not be used as the functionality may be removed in later versions of this template.</ref>
<pre>
{{1911|article=|url=|author=}}
</pre>
or
<pre>
{{1911|wikisource=|author=}}
</pre>


The template takes the following optional parameters, which enable more robust [[Wikipedia:Citing sources|citation]]:
Minimum is:'''<nowiki>{{1911|article=</nowiki>''EB article name''<nowiki>}}</nowiki>''' or '''<nowiki>{{1911|wikisource=</nowiki>''EB article name''<nowiki>}}</nowiki>'''<ref group=nb>It will also work with no parameters, but that set a category flagging that no article name has been given, as it is not much use to the reader to inform them that a Wikipeda article contains some text copied from somewhere in the 29-volumes of the Eleventh Edition of the Encyclopædia Britannica!</ref>


{| class="wikitable" width=80% align=center
Full set is:'''<nowiki>{{1911|wikisource=|article=|no-prescript=|inline=|footnote=|author=|last=|first=|authorlink=|coauthors=|title=|url=|accessdate=|volume=|page|pages}}</nowiki>'''
 
{|class=wikitable
|+Additional parameters
!Parameter ||Note
|-
|article=''EB name''||If set is assigned to ''title''. If ''title'' is set ''article'' is ignored.
|-
|author=''author name''||Assigned to ''last'' ignored if ''last'' is set.
|-
|wikisource=''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.
|-
|footnote=1 or inline=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]]).
|-
|no-prescript=1 ||Suppresses the prescript.<ref group=nb>The prescript is also not displayed if an unnamed parameter is passed into the template for backwards comparability with {{tl|Wikisource1911Enc citation}}  and {{tl|1911EB}}</ref>
|-
|-
!width=30%|Parameter
!width=70%|Description
|- valign=top
|align=center|wikisource
|The article name on [[Wikisource]].
|- valign=top
|align=center|article
|The name of the article as it appears in the 1911 ''Encyclopædia Britannica''.
|- valign=top
|align=center|url
|A [[Uniform Resource Locator]] (URL) (web address) for the article online. '''This parameter can only be used if the name of the article is provided'''. Articles from the 1911 ''Encyclopædia Britannica'' can be found at http://www.1911encyclopedia.org.
|- valign=top
|align=center|author
|The name of the author of the ''Encyclopædia Britannica'' article. '''This parameter can only be used if the name of the article is provided'''. If there is a Wikipedia article about the author, this should be linked to using square brackets ("<nowiki>[[ ]]</nowiki>").
|}
|}


== Examples ==
{|class=wikitable
{| class="wikitable" width=100%
|+Paramaters passed into {{tl|cite encyclopedia}}
!Paramater||Set to||Notes
|-
|last= ||author= or last= ||If ''author='' and ''last='' are set the value of ''last='' is used.
|-
|first= ||first= ||Set to the value of ''first='' or not set
|-
|authorlink= ||  authorlink= || Set to the value of ''authorlink='' or not set
|-
|coauthors= ||  coauthors= || Unlikely to be needed but can be set
|-
|editor= ||Hugh Chisholm || Automatically set within the template
|-
|encyclopedia= || [[Encyclopædia Britannica Eleventh Edition|Encyclopædia Britannica]]||Automatically set within the template
|-
|title= ||wikisource= or title= or article=||Set to ''wikisource='' 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 ''wikisource='' is set in which case it is not set.
|-
|accessdate= || accessdate= || Set to the value of ''accessdate='' or 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 ''accessdate='' or not set
|-
| location= || ||Not set
|-
| id= || ||Not set
|-
| isbn= || ||Not set
|-
|-
!width=50%|Template
| oclc= || ||Not set
!width=50%|Result
|-
 
| doi= || ||Not set
|-
| page= ||page=||Set to the value of ''page='' or not set
|-
|-
|align=center|<nowiki>{{1911}}</nowiki>
| pages= ||pages=||Set to the value of ''pages='' or not set
|{{1911}}
 
|-
|-
|align=center|<nowiki>{{1911|article=Anarchism|author=[[Peter Kropotkin]]}}</nowiki>
| quote=|| ||Not set
|{{1911|article=Anarchism|author=[[Peter Kropotkin]]}}
 
|-
|-
|align=center|<nowiki>{{1911|article=Anarchism|url=http://www.1911encyclopedia.</nowiki><br>
| ref=||harv||automatically set within the template. It means that {{tl|sfn}} and {{tl|harvnb}} link to this template. (If you need to ask don't worry about it)
<nowiki>org/Anarchism|author=[[Peter Kropotkin]]}}</nowiki>
|{{1911|article=Anarchism|url=http://www.1911encyclopedia.org/Anarchism|author=[[Peter Kropotkin]]}}
 
|}
|}


== Note ==
== Hidden categories ==
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.
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.


Line 65: Line 134:
== See also ==
== See also ==
* [[Wikipedia:1911 Encyclopaedia Britannica]] – for information on usage of the material.
* [[Wikipedia:1911 Encyclopaedia Britannica]] – for information on usage of the material.
* {{tl|Wikisource1911Enc Citation}} - for when the article is available in Wikisource (see [[s:1911 Encyclopædia Britannica|1911 Encyclopædia Britannica]])
* {{tl|Wikisource1911Enc}} ({{tl|EB1911}} redirect) - similar in function to the standard {{tl|wikisource}} but automatically handles the location of the article.
* {{tl|EB1911}} - also for articles available in Wikisource
* {{tl|1911EB}} - also for articles available in Wikisource
* {{Tl|1911 POV}} - for articles with potential POV issues related to using information from the 1911 Encyclopaedia Britannica
* {{Tl|1911 POV}} - for articles with potential POV issues related to using information from the 1911 Encyclopaedia Britannica
==Notes==
{{reflist|group=nb}}


<includeonly><!--
<includeonly><!--

Revision as of 00:53, 31 August 2010


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.

Quick explanation (aide-mémoire)

The template can be placed in different locations and depending on the what it is required the parameters can be mixed and matched:

Location Parameters Example Note
==References== {{1911|wikisource=EB name}} Template:1911 Use wikisource=EB name if the article exists on Wikisource if not use title=EB name
==References== {{1911|title=|url=|first=|last=|volume=|pages=}} Template:1911 some additional information: title instead of wikisource, 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 {{1911|inline=1|wikisource=EB name}} Template:1911 inline=1. Alters the prescript from "This article..." to "One or more...". Suitable for noting that a paragraph is copied from EB.
inline citation {{1911|no-prescript=1|title=EB name}} Template:1911 no-prescript=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== {{1911|no-prescript=1|url=http://...|title=EB name}} Template:1911 no-prescript=1. Removes the prescript title= for the article name not yet on Wikisource. url= for where the text can be found online.
==External links== {{1911|no-prescript=1|wikisource=EB name}} Template:1911 no-prescript=1. Removes the prescript as the source is not used in the article.

Detailed notes

This template is wrapper around {{cite encyclopedia}}. In its default mode it attributes text to an article from Eleventh Edition of the Encyclopædia Britannica.

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}}.[nb 1]

Minimum is:{{1911|article=EB article name}} or {{1911|wikisource=EB article name}}[nb 2]

Full set is:{{1911|wikisource=|article=|no-prescript=|inline=|footnote=|author=|last=|first=|authorlink=|coauthors=|title=|url=|accessdate=|volume=|page|pages}}

Additional parameters
Parameter Note
article=EB name If set is assigned to title. If title is set article is ignored.
author=author name Assigned to last ignored if last is set.
wikisource=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.
footnote=1 or inline=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).
no-prescript=1 Suppresses the prescript.[nb 3]
Paramaters passed into {{cite encyclopedia}}
Paramater Set to Notes
last= author= or last= If author= and last= are set the value of last= is used.
first= first= Set to the value of first= or not set
authorlink= authorlink= Set to the value of authorlink= or not set
coauthors= coauthors= Unlikely to be needed but can be set
editor= Hugh Chisholm Automatically set within the template
encyclopedia= Encyclopædia Britannica Automatically set within the template
title= wikisource= or title= or article= Set to wikisource= 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 wikisource= is set in which case it is not set.
accessdate= accessdate= Set to the value of accessdate= or 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 accessdate= 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
ref= harv automatically set within the template. It means that {{sfn}} and {{harvnb}} link to this template. (If you need to ask don't worry about it)

Hidden categories

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

Depending on the parameters used it also adds the following hidden categories:

See also

Notes

  1. For backwards compatibility with {{Wikisource1911Enc citation}} and {{1911EB}}, this template takes two unnamed parameters the first the article name the second a comment but these are depreciated. They should not be used as the functionality may be removed in later versions of this template.
  2. It will also work with no parameters, but that set a category flagging that no article name has been given, as it is not much use to the reader to inform them that a Wikipeda article contains some text copied from somewhere in the 29-volumes of the Eleventh Edition of the Encyclopædia Britannica!
  3. The prescript is also not displayed if an unnamed parameter is passed into the template for backwards comparability with {{Wikisource1911Enc citation}} and {{1911EB}}