Difference between revisions of "Template:1911"

From Self-sufficiency
Jump to: navigation, search
m (1 revision)
(reduced the size of the wikisource icon from 15 to 12px)
Line 1: Line 1:
''This article incorporates text from the{{#if:{{{article|}}}|&#32;article {{#if:{{{url|}}}|[{{{url|}}}}} "{{{article}}}"{{#if:{{{url|}}}|]}}{{#if:{{{author|}}}|&#32;by {{{author}}},}} in the}} ''[[Encyclopædia Britannica Eleventh Edition|Encyclopædia Britannica'', Eleventh Edition'']]'', a publication now in the [[public domain]].''<noinclude>{{pp-template|small=yes}}{{Documentation}}</noinclude>
+
<!--
<includeonly>[[Category:Wikipedia articles incorporating text from the 1911 Encyclopædia Britannica]]</includeonly>
+
sort out the icon to use
 +
-->{{#if: {{{noicon|{{{no-icon|}}}<!--noicon-->}}} |<!--eq to empty-->|
 +
      {{#ifeq: {{{wstitle|{{{wikisource|}}}<!--wst-->}}} |<!--eq to empty-->|
 +
      <!--then-->{{#ifeq: {{{1|}}}|<!--eq to empty-->|
 +
                  <!--then-->[[File:PD-icon.svg|12px|alt=]]&nbsp;
 +
                |<!--else-->[[File:Wikisource-logo.svg|12px|alt=]]&nbsp;
 +
                }}
 +
      |<!--else-->[[File:Wikisource-logo.svg|12px|alt=]]&nbsp;
 +
      }}
 +
  }}<!--Sort out the lead string
 +
-->{{#ifeq: {{{1|{{{no-prescript|}}}<!--1-->}}} |<!--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
 +
| last =  {{{author| {{{last|}}} }}}
 +
| first = {{{first|}}}
 +
| authorlink = {{{authorlink|}}}
 +
| coauthors = {{{coauthors|}}}
 +
| editor-first = Hugh
 +
| editor-last = Chisholm
 +
| encyclopedia = [[Encyclopædia Britannica Eleventh Edition|Encyclopædia Britannica]]
 +
| title= {{#ifeq: {{{wstitle|{{{wikisource|}}}<!--wst-->}}} |<!--eq to empty-->|
 +
            <!--then-->
 +
                  {{#ifeq: {{{1|}}}|<!--eq to empty-->|
 +
                    <!--then-->
 +
                      {{{title|{{{article|<!--<sup>[[template:1911|[article name needed]]]</sup>-->}}}<!-- -->}}}
 +
                    |<!--else-->
 +
                        [[Wikisource:1911 Encyclopædia Britannica/{{{1}}}|{{{1}}}]]
 +
                  }}
 +
            |<!--else--> [[Wikisource:1911 Encyclopædia Britannica/{{{wstitle|{{{wikisource}}}<!--wst-->}}}|{{{wstitle|{{{wikisource}}}<!--wst-->}}}]]
 +
          }}
 +
| url =  {{#if: {{{wikisource|}}} |<!--eq to empty-->|<!--then set--> {{{url|}}} |<!--else leave unset-->}}
 +
| accessdate = {{{accessdate|}}}
 +
| language =
 +
| edition = Eleventh
 +
| date =
 +
| year = 1911
 +
| month =
 +
| publisher =  Cambridge University Press
 +
| volume = {{{volume|}}}
 +
| location =
 +
| id =
 +
| isbn =
 +
| oclc =
 +
| doi =
 +
| page = {{{page|}}}
 +
| pages = {{{pages|}}}
 +
| quote =
 +
| ref = harv
 +
}}<!--legacy code to handle post script
 +
-->{{#ifeq: {{{2|}}}||<!--is set then-->|&nbsp;{{{2|}}} }}<noinclude>
 +
{{pp-template|small=yes}}
 +
{{Documentation}}</noinclude><!--
 +
--><includeonly><!--
 +
-->{{#ifeq: {{NAMESPACEE}} |<!--is set-->|<!--
 +
    then-->[[Category:Wikipedia articles incorporating text from the 1911 Encyclopædia Britannica]]
 +
      {{#ifeq: {{{wstitle|{{{wikisource|}}}<!--wst-->}}} |<!--eq to empty-->|<!--
 +
        then-->{{#ifeq: {{{1|}}}|<!--eq to empty-->|
 +
                  <!--then-->[[Category:Wikipedia articles incorporating text from the 1911 Encyclopaedia Britannica without Wikisource reference]]
 +
                  |<!--else-->[[Category:Wikipedia articles incorporating text from the 1911 Encyclopaedia Britannica with Wikisource reference]]
 +
                }}
 +
        |<!--else-->[[Category:Wikipedia articles incorporating text from the 1911 Encyclopaedia Britannica with Wikisource reference]]
 +
      }}<!-- Now check for a parameter as every usage of this template ought to have an article. no white space
 +
    -->{{#ifeq: {{{1|{{{wstitle|{{{wikisource|{{{article|{{{title|}}}<!--article-->}}}<!--wikisource-->}}}<!--wst-->}}}<!--1-->}}}|<!--eq to empty-->|<!--
 +
        then-->[[Category:Wikipedia articles incorporating text from the 1911 Encyclopaedia Britannica with no article parameter]]
 +
        |<!--else do nothing-->
 +
      }}<!-- no white space
 +
  -->|<!--else do nothing-->
 +
  }}<!--no white space
 +
--></includeonly><!--DO NOT PUT A BLANK LINE AFTER THIS COMMENT-->

Revision as of 21:47, 19 September 2010

 This article incorporates text from a publication now in the public domainChisholm, Hugh, ed (1911). Encyclopædia Britannica (Eleventh ed.). Cambridge University Press.