Difference between revisions of "Template:Lang Algebra"

From blackwiki
Jump to navigation Jump to search
imported>RobHar
(transclude documentation)
imported>RobHar
(Clean up, make clearer)
Line 1: Line 1:
<includeonly>{{Citation
+
<includeonly>{{ #ifeq: {{{edition|+}}} | {{{edition|-}}} | {{#switch: {{{edition}}}
| last=Lang
 
| first=Serge
 
| author-link=Serge Lang
 
| title=Algebra
 
| publisher={{ #ifeq: {{{edition|+}}} | {{{edition|-}}} | {{#switch: {{{edition|1}}}
 
 
     | 1
 
     | 1
 
     | First
 
     | First
     | first
+
     | first = {{Citation
 +
      | last=Lang
 +
      | first=Serge
 +
      | author-link=Serge Lang
 +
      | title=Algebra
 +
      | publisher=[[Addison-Wesley|Addison-Wesley Pub. Co.]]
 +
      | location=Reading, Mass.
 +
      | year=1965
 +
      | isbn=978-0-201-04177-4
 +
      | id={{MathSciNet | id = 0197234}}
 +
      }}
 
     | 2
 
     | 2
 
     | Second
 
     | Second
     | second
+
     | second = {{Citation
 +
      | last=Lang
 +
      | first=Serge
 +
      | author-link=Serge Lang
 +
      | title=Algebra
 +
      | publisher=[[Addison-Wesley|Addison-Wesley Pub. Co.]]
 +
      | location=Reading, Mass.
 +
      | series=Advanced Book Program
 +
      | edition=Second
 +
      | year=1984
 +
      | isbn=978-0-201-05487-3
 +
      | id={{MathSciNet | id = 0783636}}
 +
      }}
 
     | 3
 
     | 3
 
     | Third
 
     | Third
     | third = [[Addison-Wesley|Addison-Wesley Pub. Co.]]
+
     | third = {{Citation
 +
      | last=Lang
 +
      | first=Serge
 +
      | author-link=Serge Lang
 +
      | title=Algebra
 +
      | publisher=[[Addison-Wesley|Addison-Wesley Pub. Co.]]
 +
      | location=Reading, Mass.
 +
      | edition=Third
 +
      | year=1993
 +
      | isbn=978-0-201-55540-0
 +
      }}
 
     | 3r
 
     | 3r
 
     | Revised third
 
     | Revised third
     | revised third = [[Springer-Verlag]]
+
     | revised third = {{Citation
     | [[Springer-Verlag]]
+
      | last=Lang
 +
      | first=Serge
 +
      | author-link=Serge Lang
 +
      | title=Algebra
 +
      | publisher=[[Springer-Verlag]]
 +
      | location=New York
 +
      | series=[[Graduate Texts in Mathematics]]
 +
      | edition=Revised third
 +
      | year=2002
 +
      | isbn=978-0-387-95385-4
 +
      | id={{MathSciNet | id = 1878556}}
 +
      | volume=211
 +
      }}
 +
     | {{Citation
 +
      | last=Lang
 +
      | first=Serge
 +
      | author-link=Serge Lang
 +
      | title=Algebra
 +
      | publisher=[[Springer-Verlag]]
 +
      | location=New York
 +
      | series=[[Graduate Texts in Mathematics]]
 +
      | edition=Revised third
 +
      | year=2002
 +
      | isbn=978-0-387-95385-4
 +
      | id={{MathSciNet | id = 1878556}}
 +
      | volume=211
 +
      }}
 
   }}
 
   }}
   | [[Springer-Verlag]]
+
   | {{Citation
  }}
+
      | last=Lang
| location={{ #ifeq: {{{edition|+}}} | {{{edition|-}}} | {{#switch: {{{edition|1}}}
+
      | first=Serge
    | 1
+
      | author-link=Serge Lang
    | First
+
      | title=Algebra
    | first
+
      | publisher=[[Springer-Verlag]]
    | 2
+
      | location=New York
    | Second
+
      | series=[[Graduate Texts in Mathematics]]
    | second
+
      | edition=Revised third
    | 3
+
      | year=2002
    | Third
+
      | isbn=978-0-387-95385-4
    | third = Reading, Mass.
+
      | id={{MathSciNet | id = 1878556}}
    | 3r
+
      | volume=211
    | Revised third
+
      }}
    | revised third = New York
 
    | New York
 
  }}
 
  | New York
 
  }}
 
| series={{ #ifeq: {{{edition|+}}} | {{{edition|-}}} | {{#switch: {{{edition|1}}}
 
    | 1
 
    | First
 
    | first =
 
    | 2
 
    | Second
 
    | second = Advanced Book Program
 
    | 3
 
    | Third
 
    | third =
 
    | 3r
 
    | Revised third
 
    | revised third = [[Graduate Texts in Mathematics]]
 
    | [[Graduate Texts in Mathematics]]
 
  }}
 
  | [[Graduate Texts in Mathematics]]
 
  }}
 
| edition={{ #ifeq: {{{edition|+}}} | {{{edition|-}}} | {{#switch: {{{edition|1}}}
 
    | 1
 
    | First
 
    | first =
 
    | 2
 
    | Second
 
    | second = Second
 
    | 3
 
    | Third
 
    | third = Third
 
    | 3r
 
    | Revised third
 
    | revised third = Revised third
 
    | Revised third
 
  }}
 
  | Revised third
 
  }}
 
 
 
 
 
| year={{ #ifeq: {{{edition|+}}} | {{{edition|-}}} | {{#switch: {{{edition|1}}}
 
    | 1
 
    | First
 
    | first = 1965
 
    | 2
 
    | Second
 
    | second = 1984
 
    | 3
 
    | Third
 
    | third = 1993
 
    | 3r
 
    | Revised third
 
    | revised third = 2002
 
    | 2002
 
  }}
 
  | 2002
 
  }}
 
| isbn={{ #ifeq: {{{edition|+}}} | {{{edition|-}}} | {{#switch: {{{edition|1}}}
 
    | 1
 
    | First
 
    | first = 978-0-201-04177-4
 
    | 2
 
    | Second
 
    | second = 978-0-201-05487-3
 
    | 3
 
    | Third
 
    | third = 978-0-201-55540-0
 
    | 3r
 
    | Revised third
 
    | revised third = 978-0-387-95385-4
 
    | 978-0-387-95385-4
 
  }}
 
  | 978-0-387-95385-4
 
  }}
 
| id={{MathSciNet | id = {{ #ifeq: {{{edition|+}}} | {{{edition|-}}} | {{#switch: {{{edition|1}}}
 
    | 1
 
    | First
 
    | first = 0197234
 
    | 2
 
    | Second
 
    | second = 0783636
 
    | 3
 
    | Third
 
    | third =
 
    | 3r
 
    | Revised third
 
    | revised third = 1878556
 
    | 1878556
 
  }}
 
  | 1878556
 
  }}
 
  }}
 
| volume={{ #ifeq: {{{edition|+}}} | {{{edition|-}}} | {{#switch: {{{edition|1}}}
 
    | 1
 
    | First
 
    | first
 
    | 2
 
    | Second
 
    | second
 
    | 3
 
    | Third
 
    | third =
 
    | 3r
 
    | Revised third
 
    | revised third = 211
 
    | 211
 
  }}
 
  | 211
 
  }}
 
 
 
 
}}</includeonly>
 
}}</includeonly>
 
<noinclude>{{/doc}}[[Category:Specific-source templates|{{PAGENAME}}]]</noinclude>
 
<noinclude>{{/doc}}[[Category:Specific-source templates|{{PAGENAME}}]]</noinclude>

Revision as of 21:22, 27 January 2009


This template can be used to display the bibliographic information for a specified edition of Serge Lang's book Algebra. See below for the syntax for each edition. Providing no "edition" parameter will produce the default edition, currently the third revised edition.

The template also supports the chapter, page and pages fields.

First edition

Syntax: {{Lang Algebra | edition=1}}

Output:

Lang, Serge (1965), Algebra, Reading, Mass.: Addison-Wesley Pub. Co., ISBN 978-0-201-04177-4, MR0197234

Second edition

Syntax: {{Lang Algebra | edition=2}}

Output:

Lang, Serge (1984), Algebra, Advanced Book Program (Second ed.), Reading, Mass.: Addison-Wesley Pub. Co., ISBN 978-0-201-05487-3, MR0783636

Third edition

Syntax: {{Lang Algebra | edition=3}}

Output:

Lang, Serge (1993), Algebra (Third ed.), Reading, Mass.: Addison-Wesley Pub. Co., ISBN 978-0-201-55540-0

Third revised edition

Syntax: {{Lang Algebra | edition=3r}} (this is the default output for unrecognised or undefined "edition" parameter)

Output:

Lang, Serge (2002), Algebra, Graduate Texts in Mathematics, 211 (Revised third ed.), New York: Springer-Verlag, ISBN 978-0-387-95385-4, MR1878556

Corrected fourth printing

Syntax: {{Lang Algebra | edition=3r2004}}

Output:

Lang, Serge (2002), Algebra, Graduate Texts in Mathematics, 211 (Revised third ed.), New York: Springer-Verlag, ISBN 978-0-387-95385-4, MR1878556