Template:OEB/sandbox
Culbertson, Ely, ed. (1935). The Encyclopedia of Bridge. New York: The Bridge World, Inc.
This is the template sandbox page for Template:OEB (diff). See also the companion subpage for test cases. |
Purpose
[edit]This template enables expeditious and accurate inclusion of a reference from one of the seven American editions or the single international edition of the The Official Encyclopedia of Bridge; these references are usually in contract bridge articles. The seventh American edition was published in late 2011.
Usage
[edit]The template would normally be used between <ref> </ref> tags.
{{OEB|edition|page}}
There are two parameters:
- The first parameter is required. It must be either:
- an integer between 1 and 7 inclusive to specify one of the seven American editions of the encyclopedia being referenced or
- '7CD' to invoke a reference to the CD accompanying the book of the 7th Edition; the CD comprises biographies and tournament event results included in previous bound editions
- IE to specify the International Edition of 1967
- The second parameter is recommended but optional. It is the page number on which the reference begins.
Examples
[edit]- Example 1
{{OEB|3|67}}
displays
Frey, Richard L.; Truscott, Alan F.; Kearse, Amalya L., eds. (1976). The Official Encyclopedia of Bridge (3rd ed.). New York: Crown Publishers. p. 67. ISBN 0-517-52724-3. LCCN 76017053.
- Example 2
{{OEB|7}}
displays
Manley, Brent; Horton, Mark; Greenberg-Yarbro, Tracey; Rigal, Barry, eds. (2011). The Official Encyclopedia of Bridge (7th ed.). Horn Lake, MS: American Contract Bridge League. ISBN 978-0-939460-99-1.
- Example 3
{{OEB|IE|254}}
displays
Frey, Richard L.; Truscott, Alan F.; Cohen, Ben; Barrow, Rhoda, eds. (1967). The Bridge Players' Encyclopedia. London: Paul Hamlyn. p. 254. OCLC 560654187.
- Example 4
{{OEB|7CD|150}}
displays
Manley, Brent; Horton, Mark; Greenberg-Yarbro, Tracey; Rigal, Barry, eds. (2011). The Official Encyclopedia of Bridge - Biographies and Results (compact disk) (7th ed.). Horn Lake, MS: American Contract Bridge League. p. 150. ISBN 978-0-939460-99-1.
Error message
[edit]If the edition parameter is missing or is not one of the permitted values, an error message is returned.
- Example 5
{{OEB|8}}
displays
Error: Incorrect edition number provided or missing