Template:Cite EB1911: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>PBS
Some articles have more than one author so add in option for more than one
Ookami (talk | contribs)
m 72 revisions imported
 
(46 intermediate revisions by 20 users not shown)
Line 1: Line 1:
{{hide in print|1=
{{hide in print|1=
<!--
<!--
sort out the icon to use
optional icon - included by default
-->{{#if: {{#if: {{{noicon|}}}|{{{noicon}}}|{{{no-icon|}}} }}|<!--eq to empty-->
-->{{#if:{{{no-icon|{{{noicon|}}}}}}||{{#ifeq: {{{wstitle|}}}||[[File:PD-icon.svg|12px|alt=|link=]]&nbsp;}}}}<!-- optional public domain icon when wstitle is missing or empty
    |<!--then-->{{#ifeq: {{#if: {{{wstitle|}}}|{{{wstitle}}}|{{{wikisource|}}} }}|<!--eq to empty-->
-->}}{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite encyclopedia
                |<!--then-->{{#ifeq: {{{1|}}}|<!--eq to empty-->
  |_exclude=display, no-icon, noicon, short, wstitle, _debug
                              |<!--then-->[[File:PD-icon.svg|12px|alt=]]&nbsp;
  |_reuse=access-date, accessdate, chapter, title, url <!-- these are reused -->
                              |<!--else-->[[File:Wikisource-logo.svg|12px|alt=]]&nbsp;
                            }}
                |<!--else-->[[File:Wikisource-logo.svg|12px|alt=]]&nbsp;
                }}
  }}
}}<!--no white space
-->{{cite encyclopedia
    |{{#if:{{{first|}}} |first  |HIDE_PARAMETER}}={{{first|}}}
    |{{#if:{{{first1|}}} |first1 |HIDE_PARAMETER}}={{{first1|}}}


    |{{#if:{{{last|}}}   |last  |HIDE_PARAMETER}}={{{last|}}}
   | editor-first = {{#if: {{{short|}}}|<!-- eq to empty -->|Hugh}}
    |{{#if:{{{last1|}}}  |last1  |HIDE_PARAMETER}}={{{last1|}}}
  | editor-last = {{#if: {{{short|}}}|<!-- eq to empty -->|Chisholm}}
 
  | encyclopedia = [[Encyclopædia Britannica Eleventh Edition|Encyclopædia Britannica]]
    |{{#if:{{{author |}}} |author  |HIDE_PARAMETER}}={{{author|}}}
  |title={{#if:{{{wstitle|}}}|{{cite wikisource/make link
    |{{#if:{{{author1|}}} |author1 |HIDE_PARAMETER}}={{{author1|}}}
              |link=1911 Encyclopædia Britannica/{{{wstitle}}}
    |{{#if:{{{authors|}}} |authors |HIDE_PARAMETER}}={{{authors|}}}
              |label={{{display|{{{wstitle|}}}}}}
    |{{#if:{{{authorlink|}}} |authorlink |HIDE_PARAMETER}}={{{authorlink|}}
              |noicon={{{no-icon|{{{noicon|}}}}}}
    |{{#if:{{{coauthors|}}}  |coauthors  |HIDE_PARAMETER}}={{{coauthors|}}}
            }}|{{#if:{{{title|}}}|{{{title}}}|[[s:1911 Encyclopædia Britannica|<span style="color:red">article name needed</span>]]}}}}
 
  |chapter={{#if:{{{chapter|}}}
    | editor-first = {{#if: {{{short|}}}|<!-- eq to empty -->|Hugh}}
                |{{#if:{{{wstitle|}}}{{{title|}}}
    | editor-last = {{#if: {{{short|}}}|<!-- eq to empty -->|Chisholm}}
                      |{{cite wikisource/make link
    | encyclopedia = [[Encyclopædia Britannica Eleventh Edition|Encyclopædia Britannica]]
                        |link=1911 Encyclopædia Britannica/{{{wstitle}}}
    | title= {{#ifeq: {{#if: {{{wstitle|}}}|{{{wstitle}}}|{{{wikisource|}}} }}|<!--eq to empty-->
                        |anchor={{{chapter|}}}
            |<!-- then-->
                        |label={{{chapter|}}}
              {{#ifeq: {{#if: {{{title|}}}|{{{title}}}|{{{article|}}} }}|<!--eq to empty-->
                        |noicon={{{noicon|}}}
              |<!--then-->
                      }}
                {{#ifeq: {{{1|}}}|<!--eq to empty-->
                      |{{{chapter|}}}<!-- else #if NOT wstitle OR title; cs1|2 will emit a missing title error message here because no title -->
                  |<!--then--><!--<sup>article name needed</sup>COMMENTED OUT FOR THE MOMENT-->
                }}<!-- end #if wstitle, title -->
                  |<!--else-->[[Wikisource:1911 Encyclopædia Britannica/{{{1}}}|{{{display|{{{1}}}<!-- display -->}}}]]
          }}<!-- end #if chapter -->
                }}<!--end 1-->
  |url={{#if:{{{wstitle|}}}|<!--eq to empty-->
              |<!--else-->{{{title|{{{article|}}} }}}
            |<!--then set--> {{{url|}}}
              }}<!--end title-->
            |<!--else leave unset-->
            |<!--else-->[[Wikisource:1911 Encyclopædia Britannica/{{{wstitle|{{{wikisource}}}<!--wst-->}}}|{{{display|{{{wstitle|{{{wikisource}}}<!--wst-->}}}<!-- display -->}}}]]
      }}
            }}<!--end wstitle-->
  |access-date={{#if:{{{wstitle|}}}||{{{access-date|{{{accessdate|}}}}}} }}
    | url = {{#if: {{{wstitle|}}}|{{{wstitle}}}|{{{wikisource|}}}|<!--eq to empty-->
  |edition=11th
            |<!--then set--> {{{url|}}}
  |date={{{year|1911}}}
            |<!--else leave unset-->
  | publisher = {{#if: {{{short|}}}|<!-- eq to empty -->|Cambridge University Press}}
            }}
}}<noinclude>
    | url = {{#if:{{{wstitle|{{{wikisource|}}}<!--wst-->}}}|<!--eq to empty-->
            |<!--then set--> {{{url|}}}
            |<!--else leave unset-->
            }}
    | accessdate = {{{accessdate|}}}
    | edition = {{{edition|11th}}}
    | year = {{{year|1911}}}
    | publisher = {{#if: {{{short|}}}|<!-- eq to empty -->|Cambridge University Press}}
    | volume = {{{volume|}}}
    | page = {{{page|}}}
    | pages = {{{pages|}}}
    | ref = {{{ref|}}}
  }}<!--legacy code to handle post script
-->{{#ifeq: {{{2|}}}|
    |<!--is set then-->
    |&nbsp;{{{2|}}}
  }}<noinclude>
{{Documentation}}</noinclude><!--
{{Documentation}}</noinclude><!--
--><includeonly><!--
--><includeonly><!--
-->{{#ifeq: {{NAMESPACEE}} |<!--is set-->
-->{{#ifeq: {{NAMESPACEE}} |<!--is set-->
     |<!--Sort out the parameters-->
     |<!--Sort out the parameters-->
     {{#ifeq: {{#if: {{{wstitle|}}}|{{{wstitle}}}|{{{wikisource|}}} }}|<!--eq to empty-->
     {{#ifeq: {{#if: {{{wstitle|}}}|{{{wstitle}}}}}|<!--eq to empty-->
     |<!-- then-->
     |<!-- then-->
       {{#ifeq: {{#if: {{{title|}}}|{{{title}}}|{{{article|}}} }}|<!--eq to empty-->
       {{#ifeq: {{#if: {{{title|}}}|{{{title}}}|}}|<!--eq to empty-->
       |<!--then-->
       |<!--then-->[[Category:Wikipedia articles incorporating a citation from the 1911 Encyclopaedia Britannica with no article parameter]]
        {{#ifeq: {{{1|}}}|<!--eq to empty-->
        |<!--then-->[[Category:Wikipedia articles incorporating a citation from the 1911 Encyclopaedia Britannica with no article parameter]]
        |<!--else-->[[Category:Wikipedia articles incorporating a citation from the 1911 Encyclopaedia Britannica with an unnamed parameter]]
        }}<!--end 1-->
       |<!--else-->[[Category:Wikipedia articles incorporating a citation from the 1911 Encyclopaedia Britannica without Wikisource reference]]
       |<!--else-->[[Category:Wikipedia articles incorporating a citation from the 1911 Encyclopaedia Britannica without Wikisource reference]]
       }}<!--end title-->
       }}<!--end title-->
     |<!--else-->[[Category:Wikipedia articles incorporating a citation from the 1911 Encyclopaedia Britannica with Wikisource reference]]
     |<!--else-->[[Category:Wikipedia articles incorporating a citation from the 1911 Encyclopaedia Britannica with Wikisource reference]]
     }}<!--end of check wstitle-->
     }}<!--end of check wstitle-->
    {{#if:{{{W1EC|}}}|[[Category:Wikipedia articles incorporating a citation from the 1911 Encyclopaedia Britannica that may need Attribution]]|<!--else do nothing-->}}
   |<!--else not in NAMESPACE do nothing-->
   |<!--else not in NAMESPACE do nothing-->
   }}<!--end NAMESPACE no white space
   }}<!--end NAMESPACE no white space
--></includeonly><!--DO NOT PUT A BLANK LINE AFTER THIS COMMENT-->
--></includeonly><!--DO NOT PUT A BLANK LINE AFTER THIS COMMENT-->

Latest revision as of 00:37, 2 September 2020

 Chisholm, Hugh, ed. (1911). "article name needed. Encyclopædia Britannica (11th ed.). Cambridge University Press.