Template:EB1911: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Shirik
m by request, from sandbox
meta>PBS
moved some of the functionality out into template:Cite EB1911
Line 17: Line 17:
   --> incorporates text from a publication now in the [[public domain]]: 
   --> incorporates text from a publication now in the [[public domain]]: 
   }}<!--no white space
   }}<!--no white space
-->{{cite encyclopedia
-->{{EB1911 cite|
    | noicon=1
     | last =  {{{author| {{{last|}}} }}}
     | last =  {{{author| {{{last|}}} }}}
     | first = {{{first|}}}
     | first = {{{first|}}}
     | authorlink = {{{authorlink|}}}
     | authorlink = {{{authorlink|}}}
     | coauthors = {{{coauthors|}}}
     | 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|}}}
     | accessdate = {{{accessdate|}}}
     | edition = Eleventh
     | wstitle = {{{wstitle|}}}
     | year = 1911
     | title = {{{title|}}}
     | publisher = Cambridge University Press
     | url = {{{url|}}}
     | volume = {{{volume|}}}
     | volume = {{{volume|}}}
     | page = {{{page|}}}
     | page = {{{page|}}}
Line 50: Line 37:
   }}<noinclude>
   }}<noinclude>
{{Documentation}}</noinclude><!--
{{Documentation}}</noinclude><!--
--><includeonly><!--
--><includeonly><!--DO NOT PUT A BLANK LINE AFTER THIS COMMENT-->
-->{{#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 19:19, 20 March 2011

 This article incorporates text from a publication now in the public domainTemplate:EB1911 cite