Template:EB1911: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>PBS
implement noicon as requested on the talk page
meta>PBS
Added the parameter wstitle
Line 2: Line 2:
sort out the icon to use
sort out the icon to use
-->{{#if: {{{noicon|{{{no-icon|}}}<!--noicon-->}}} |<!--eq to empty-->|
-->{{#if: {{{noicon|{{{no-icon|}}}<!--noicon-->}}} |<!--eq to empty-->|
       {{#ifeq: {{{wikisource|}}} |<!--eq to empty-->|
       {{#ifeq: {{{wstitle|{{{wikisource|}}}<!--wst-->}}} |<!--eq to empty-->|
       <!--then-->{{#ifeq: {{{1|}}}|<!--eq to empty-->|
       <!--then-->{{#ifeq: {{{1|}}}|<!--eq to empty-->|
                   <!--then-->[[File:PD-icon.svg|12px|alt=]]&nbsp;
                   <!--then-->[[File:PD-icon.svg|12px|alt=]]&nbsp;
Line 25: Line 25:
  | editor = Hugh Chisholm
  | editor = Hugh Chisholm
  | encyclopedia = [[Encyclopædia Britannica Eleventh Edition|Encyclopædia Britannica]]
  | encyclopedia = [[Encyclopædia Britannica Eleventh Edition|Encyclopædia Britannica]]
  | title= {{#ifeq: {{{wikisource|}}} |<!--eq to empty-->|
  | title= {{#ifeq: {{{wstitle|{{{wikisource|}}}<!--wst-->}}} |<!--eq to empty-->|
             <!--then-->
             <!--then-->
                   {{#ifeq: {{{1|}}}|<!--eq to empty-->|
                   {{#ifeq: {{{1|}}}|<!--eq to empty-->|
Line 33: Line 33:
                         [[Wikisource:1911 Encyclopædia Britannica/{{{1}}}|{{{1}}}]]
                         [[Wikisource:1911 Encyclopædia Britannica/{{{1}}}|{{{1}}}]]
                   }}
                   }}
             |<!--else--> [[Wikisource:1911 Encyclopædia Britannica/{{{wikisource}}}|{{{wikisource}}}]]
             |<!--else--> [[Wikisource:1911 Encyclopædia Britannica/{{{wstitle|{{{wikisource}}}<!--wst-->}}}|{{{wstitle|{{{wikisource}}}<!--wst-->}}}]]
           }}
           }}
  | url =  {{#if: {{{wikisource|}}} |<!--eq to empty-->|<!--then set--> {{{url|}}} |<!--else leave unset-->}}
  | url =  {{#if: {{{wikisource|}}} |<!--eq to empty-->|<!--then set--> {{{url|}}} |<!--else leave unset-->}}
Line 60: Line 60:
-->{{#ifeq: {{NAMESPACEE}} |<!--is set-->|<!--
-->{{#ifeq: {{NAMESPACEE}} |<!--is set-->|<!--
     then-->[[Category:Wikipedia articles incorporating text from the 1911 Encyclopædia Britannica]]
     then-->[[Category:Wikipedia articles incorporating text from the 1911 Encyclopædia Britannica]]
       {{#ifeq: {{{wikisource|}}} |<!--eq to empty-->|<!--
       {{#ifeq: {{{wstitle|{{{wikisource|}}}<!--wst-->}}} |<!--eq to empty-->|<!--
         then-->{{#ifeq: {{{1|}}}|<!--eq to empty-->|
         then-->{{#ifeq: {{{1|}}}|<!--eq to empty-->|
                   <!--then-->[[Category:Wikipedia articles incorporating text from the 1911 Encyclopaedia Britannica without Wikisource reference]]
                   <!--then-->[[Category:Wikipedia articles incorporating text from the 1911 Encyclopaedia Britannica without Wikisource reference]]
Line 67: Line 67:
         |<!--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
       }}<!-- Now check for a parameter as every usage of this template ought to have an article. no white space
     -->{{#ifeq: {{{1|{{{wikisource|{{{article|{{{title|}}}<!--article-->}}}<!--wikisource-->}}}<!--1-->}}}|<!--eq to empty-->|<!--
     -->{{#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]]
         then-->[[Category:Wikipedia articles incorporating text from the 1911 Encyclopaedia Britannica with no article parameter]]
         |<!--else do nothing-->
         |<!--else do nothing-->

Revision as of 21:59, 31 August 2010

 This article incorporates text from a publication now in the public domainHugh Chisholm, ed. (1911). Encyclopædia Britannica (Eleventh ed.). Cambridge University Press. {{cite encyclopedia}}: Cite has empty unknown parameters: |month= and |coauthors= (help); Invalid |ref=harv (help); Missing or empty |title= (help)