:Template:Neukirch et al. CNF

The Template:Neukirch et al. CNF is a one-cite template, which over-condenses 2 editions of the same number theory book by also omitting chapter or page. If no parameter is passed, or either of the parameter values edition=1, "first", or "First" is passed, this template displays the 1st edition:

:{{Citation

| last1=Neukirch | first1=Jürgen | author-link=Jürgen Neukirch

| last2=Schmidt | first2=Alexander | last3=Wingberg | first3=Kay

| title=Cohomology of Number Fields

| publisher=Springer-Verlag | location=Berlin

| series=Grundlehren der Mathematischen Wissenschaften

| volume=323

| year={{ #ifeq: {{{edition|+}}} | {{{edition|-}}} | {{#switch: {{{edition|1}}}

| 1

| First

| first = 2000

| 2

| Second

| second = 2008

| 2000

}}

| 2000

}}

| isbn={{ #ifeq: {{{edition|+}}} | {{{edition|-}}} | {{#switch: {{{edition|1}}}

| 1

| First

| first = 978-3-540-66671-4

| 2

| Second

| second = 978-3-540-37888-4

| 978-3-540-66671-4

}}

| 978-3-540-66671-4

}}

| mr={{ #ifeq: {{{edition|+}}} | {{{edition|-}}} | {{#switch: {{{edition|1}}}

| 1

| First

| first = 1737196

| 2

| Second

| second = 2392026

| 1737196

}}

| 1737196

}}

| zbl={{ #ifeq: {{{edition|+}}} | {{{edition|-}}} | {{#switch: {{{edition|1}}}

| 1

| First

| first = 0948.11001

| 2

| Second

| second = 1136.11001

| 0948.11001

}}

| 0948.11001

}}

| edition={{ #ifeq: {{{edition|+}}} | {{{edition|-}}} | {{#switch: {{{edition|1}}}

| 1

| First

| first =

| 2

| Second

| second = Second

|

}}

|

}}

}}{{PAGENAME}}

If either of the parameter values edition=2, "second", or "Second" is passed (e.g. {{Neukirch et al. CNF | edition=2}}), this template displays:

:{{Citation

| last1=Neukirch | first1=Jürgen | author-link=Jürgen Neukirch

| last2=Schmidt | first2=Alexander | last3=Wingberg | first3=Kay

| title=Cohomology of Number Fields

| publisher=Springer-Verlag | location=Berlin

| series=Grundlehren der Mathematischen Wissenschaften

| volume=323 | year=2008

| isbn=978-3-540-37888-4

| mr= 2392026

| zbl= 1136.11001

| edition=Second

}}

The 1st edition cite could be formatted as:

  • {{Citation

| last1=Neukirch | first1=Jürgen | author-link=Jürgen Neukirch

| last2=Schmidt | first2=Alexander | last3=Wingberg | first3=Kay

| title=Cohomology of Number Fields | chapter=

| publisher=Springer-Verlag | location=Berlin

| series=Grundlehren der Mathematischen Wissenschaften

| volume=323 | year=2000 | edition=1st

| isbn=978-3-540-66671-4

| zbl=0948.11001

| mr=1737196

}}