Template:EB1911: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>PBS
Add in last1= (etc) for more than one author of an article. Alter more of the parameters so they are only set if passed into the template and not set to null by default
Ookami (talk | contribs)
m 155 revisions imported
 
(39 intermediate revisions by 13 users not shown)
Line 3: Line 3:
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-->
     |<!--then-->{{#ifeq: {{{wstitle|{{{wikisource|}}}<!--wst-->}}} |<!--eq to empty-->
     |<!--then-->{{#ifeq: {{{wstitle|}}} |<!--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=Public Domain]]&nbsp;
                               |<!--else-->[[File:Wikisource-logo.svg|12px|alt=]]&nbsp;
                               |<!--else-->[[File:Wikisource-logo.svg|12px|class=noviewer|alt=Wikisource]]&nbsp;
                             }}
                             }}
                 |<!--else-->[[File:Wikisource-logo.svg|12px|alt=]]&nbsp;
                 |<!--else-->[[File:Wikisource-logo.svg|12px|class=noviewer|link=|alt=]]&nbsp;
                 }}
                 }}
   }}
   }}
}}<!--Sort out the lead string
}}<!--Sort out the lead string
-->{{#ifeq: {{{no-prescript|}}} |<!--eq to empty-->
-->{{#ifeq: {{{no-prescript|{{{noprescript|}}}<!---->}}} |<!--eq to empty-->
     |<!--then display a prescript-->{{#ifeq: {{{inline|{{{footnote|}}}<!--inline-->}}} |<!--eq to empty-->
     |<!--then display a prescript-->{{#ifeq: {{{inline|{{{footnote|}}}<!--inline-->}}} |<!--eq to empty-->
                                     |<!--then display-->This article
                                     |<!--then display-->This article
Line 19: Line 19:
   -->&nbsp;incorporates text from a publication now in the [[public domain]]:&nbsp;
   -->&nbsp;incorporates text from a publication now in the [[public domain]]:&nbsp;
   }}<!--no white space
   }}<!--no white space
-->{{Cite EB1911 |
-->{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite EB1911
    |_exclude=footnote, inline, noicon, no-icon, noprescript, no-prescript, _debug
 
     | noicon=1
     | noicon=1
    |{{#if:{{{first|}}}  |first  |HIDE_PARAMETER}}={{{first|}}}
    |{{#if:{{{first1|}}} |first1 |HIDE_PARAMETER}}={{{first1|}}}
    |{{#if:{{{last|}}}  |last  |HIDE_PARAMETER}}={{{last|}}}
    |{{#if:{{{last1|}}}  |last1  |HIDE_PARAMETER}}={{{last1|}}}
    |{{#if:{{{author |}}} |author  |HIDE_PARAMETER}}={{{author|}}}
    |{{#if:{{{author1|}}} |author1 |HIDE_PARAMETER}}={{{author1|}}}
    |{{#if:{{{authors|}}} |authors |HIDE_PARAMETER}}={{{authors|}}}
    |{{#if:{{{authorlink|}}} |authorlink |HIDE_PARAMETER}}={{{authorlink|}}
    |{{#if:{{{coauthors|}}}  |coauthors  |HIDE_PARAMETER}}={{{coauthors|}}}
    |{{#if:{{{accessdate|}}}  |accessdate  |HIDE_PARAMETER}}={{{accessdate|}}}
    | wstitle =  {{{wstitle| {{{wikisource| {{{1|}}} }}} }}}
    | title = {{{title| {{{article|}}} }}}
    |{{#if:{{{edition|}}} |edition |HIDE_PARAMETER}}={{{edition|}}}
    |{{#if:{{{year|}}}    |year    |HIDE_PARAMETER}}={{{year|}}}
    |{{#if:{{{url|}}}    |url    |HIDE_PARAMETER}}={{{url|}}}
    |{{#if:{{{volume|}}}  |volume  |HIDE_PARAMETER}}={{{volume|}}}
    |{{#if:{{{page|}}}    |page    |HIDE_PARAMETER}}={{{page|}}}
    |{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETER}}={{{pages|}}}
    | ref = harv
   }}<!-- no white space
   }}<!-- no white space
-->{{#ifeq: {{NAMESPACEE}} |<!--is set-->
-->{{#ifeq: {{NAMESPACEE}} |<!--is set-->|[[Category:Wikipedia articles incorporating text from the 1911 Encyclopædia Britannica]]}}<!--no white space
    |<!-- then-->[[Category:Wikipedia articles incorporating text from the 1911 Encyclopædia Britannica]]<!--
    -->{{#if:{{{1|}}}|[[Category:Wikipedia articles incorporating text from the 1911 Encyclopædia Britannica with an unnamed parameter]]}}<!--
    -->{{#if:{{{article|}}}|[[Category:Wikipedia articles incorporating text from the 1911 Encyclopædia Britannica with an article  parameter]]}}<!--
    -->{{#if:{{{article|}}}|[[Category:Wikipedia articles incorporating text from the 1911 Encyclopædia Britannica with a wikisource parameter]]}}
    |<!--else do nothing-->
  }}<!--no white space
--><noinclude>
--><noinclude>
{{Documentation}}</noinclude><!--
{{Documentation}}</noinclude><!--
--><includeonly><!--DO NOT PUT A BLANK LINE AFTER THIS COMMENT-->
--><includeonly><!--DO NOT PUT A BLANK LINE AFTER THIS COMMENT-->

Latest revision as of 04:25, 3 September 2020

Public Domain This article incorporates text from a publication now in the public domainChisholm, Hugh, ed. (1911). "article name needed. Encyclopædia Britannica (11th ed.). Cambridge University Press.