Difference between revisions of "Template:BookPageInfoBox"

From Wythepedia: The George Wythe Encyclopedia
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{| width="350" style="float: right; background-color: #f9f9f9; border: 1px solid #ddd; margin: 10px 0 10px 10px;"
 
<includeonly>{| width="350" style="float: right; background-color: #f9f9f9; border: 1px solid #ddd; margin: 10px 0 10px 10px;"
|- {{#if:{{{commontitle|}}} | {{!}} colspan="2" style="text-align: center; font-size: 125%;"{{!}}'''''{{{commontitle}}}''''' | {{!}} colspan="2" style="text-align: center; font-size: 125%;" {{!}}'''''{{{shorttitle}}}''''' }}
+
{{#if:{{{commontitle|}}} |
 +
{{!-}}
 +
{{!}} colspan="2" style="text-align: center; font-size: 125%;"{{!}}'''''{{{commontitle}}}''''' |
 +
{{!-}}
 +
{{!}} colspan="2" style="text-align: center; font-size: 125%;"{{!}}'''''{{{shorttitle}}}''''' }}
 
|-
 
|-
 
| colspan="2" style="font-size: 85%;"|  
 
| colspan="2" style="font-size: 85%;"|  

Revision as of 12:22, 6 February 2014



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/#######
|commontitle=Andrew's Reports
|shorttitle=Book Title
|vol=volume one
|author=First Last
|editor=First Last
|trans=First Last
|publoc=London
|publisher=Somebody & Sons
|year=1776
|edition=Eighth
|lang=Greek
|set=3
|pages=101
|desc=34 cm. Text Printed with Roman and Black letter type, with printed marginalia.
}}