Difference between revisions of "Template:Cite EB1911"
From Self-sufficiency
m (Unprotected Template:Cite EB1911: Reverting myself, per ANI consensus. using TW) |
m (1 revision) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | # | + | {{hide in print|1= |
+ | <!-- | ||
+ | sort out the icon to use | ||
+ | -->{{#if: {{#if: {{{noicon|}}}|{{{noicon}}}|{{{no-icon|}}} }}|<!--eq to empty--> | ||
+ | |<!--then-->{{#ifeq: {{#if: {{{wstitle|}}}|{{{wstitle}}}|{{{wikisource|}}} }}|<!--eq to empty--> | ||
+ | |<!--then-->{{#ifeq: {{{1|}}}|<!--eq to empty--> | ||
+ | |<!--then-->[[File:PD-icon.svg|12px|alt=]] | ||
+ | |<!--else-->[[File:Wikisource-logo.svg|12px|alt=]] | ||
+ | }} | ||
+ | |<!--else-->[[File:Wikisource-logo.svg|12px|alt=]] | ||
+ | }} | ||
+ | }} | ||
+ | }}<!--no white space | ||
+ | -->{{cite encyclopedia | ||
+ | | last = {{{author| {{{last|}}} }}} | ||
+ | | first = {{{first|}}} | ||
+ | | authorlink = {{{authorlink|}}} | ||
+ | | coauthors = {{{coauthors|}}} | ||
+ | | editor-first = {{#if: {{{short|}}}|<!-- eq to empty -->|Hugh}} | ||
+ | | editor-last = {{#if: {{{short|}}}|<!-- eq to empty -->|Chisholm}} | ||
+ | | encyclopedia = [[Encyclopædia Britannica Eleventh Edition|Encyclopædia Britannica]] | ||
+ | | title= {{#ifeq: {{#if: {{{wstitle|}}}|{{{wstitle}}}|{{{wikisource|}}} }}|<!--eq to empty--> | ||
+ | |<!-- then--> | ||
+ | {{#ifeq: {{#if: {{{title|}}}|{{{title}}}|{{{article|}}} }}|<!--eq to empty--> | ||
+ | |<!--then--> | ||
+ | {{#ifeq: {{{1|}}}|<!--eq to empty--> | ||
+ | |<!--then--><!--<sup>article name needed</sup>COMMENTED OUT FOR THE MOMENT--> | ||
+ | |<!--else-->[[Wikisource:1911 Encyclopædia Britannica/{{{1}}}|{{{display|{{{1}}}<!-- display -->}}}]] | ||
+ | }}<!--end 1--> | ||
+ | |<!--else-->{{{title|{{{article|}}} }}} | ||
+ | }}<!--end title--> | ||
+ | |<!--else-->[[Wikisource:1911 Encyclopædia Britannica/{{{wstitle|{{{wikisource}}}<!--wst-->}}}|{{{display|{{{wstitle|{{{wikisource}}}<!--wst-->}}}<!-- display -->}}}]] | ||
+ | }}<!--end wstitle--> | ||
+ | | url = {{#if: {{{wstitle|}}}|{{{wstitle}}}|{{{wikisource|}}}|<!--eq to empty--> | ||
+ | |<!--then set--> {{{url|}}} | ||
+ | |<!--else leave unset--> | ||
+ | }} | ||
+ | | 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--> | ||
+ | | {{{2|}}} | ||
+ | }}<noinclude> | ||
+ | {{Documentation}}</noinclude><!-- | ||
+ | --><includeonly><!-- | ||
+ | -->{{#ifeq: {{NAMESPACEE}} |<!--is set--> | ||
+ | |<!--Sort out the parameters--> | ||
+ | {{#ifeq: {{#if: {{{wstitle|}}}|{{{wstitle}}}|{{{wikisource|}}} }}|<!--eq to empty--> | ||
+ | |<!-- then--> | ||
+ | {{#ifeq: {{#if: {{{title|}}}|{{{title}}}|{{{article|}}} }}|<!--eq to empty--> | ||
+ | |<!--then--> | ||
+ | {{#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]] | ||
+ | }}<!--end title--> | ||
+ | |<!--else-->[[Category:Wikipedia articles incorporating a citation from the 1911 Encyclopaedia Britannica with Wikisource reference]] | ||
+ | }}<!--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--> | ||
+ | }}<!--end NAMESPACE no white space | ||
+ | --></includeonly><!--DO NOT PUT A BLANK LINE AFTER THIS COMMENT--> |
Latest revision as of 13:54, 10 December 2011
Chisholm, Hugh, ed (1911). Encyclopædia Britannica (11th ed.). Cambridge University Press.
[edit]
Documentation