Difference between revisions of "Template:BookPageInfoBox"

From Wythepedia: The George Wythe Encyclopedia
Jump to: navigation, search
Line 4: Line 4:
 
|-
 
|-
 
| colspan="2" style="font-size: 85%;"|  
 
| colspan="2" style="font-size: 85%;"|  
[[File:{{{imagename}}}|center|300px]]
+
[[File:{{{imagename}}}|center|border|300px]]
 
Title page from [{{{link}}} ''{{{shorttitle}}}'']{{#if: {{{vol|}}} | , {{{vol}}} |}}, George Wythe Collection, Wolf Law Library, College of William & Mary.
 
Title page from [{{{link}}} ''{{{shorttitle}}}'']{{#if: {{{vol|}}} | , {{{vol}}} |}}, George Wythe Collection, Wolf Law Library, College of William & Mary.
 
|-
 
|-
Line 37: Line 37:
 
<noinclude>
 
<noinclude>
  
This template is EXPERIMENTAL, but seems to be working. Copy and paste:
+
To put an INFOBOX with a TITLE PAGE on a book page, copy and paste the following code:
  
 
<pre>
 
<pre>

Revision as of 16:51, 23 October 2013



To put an INFOBOX with a TITLE PAGE on a book page, copy and paste the following code:

{{BookPageInfoBox
|imagename=ImageFile.jpg
|link=https://catalog.swem.wm.edu/law/Record/#######
|shorttitle=Book Title
|vol=volume one
|author=First Last
|editor=First Last
|trans=First Last
|edition=Eighth
|publoc=London
|publisher=Somebody & Sons
|year=1776
|set=3
|pages=101
}}

If there is no editor or translator, or if any field is empty, you must leave the "|field=" in:

|author=First Last
|editor=
|trans=
|edition=
|publoc=London
|publisher=Somebody & Sons