Difference between revisions of "Template:Display"

From Editions of Juvenal to 1600
Jump to navigation Jump to search
(tweak)
(text align)
 
(11 intermediate revisions by the same user not shown)
Line 45: Line 45:
 
{{#if: {{{Next|}}}{{{Prev|}}} | {{Navigation|ID={{{ID|}}}|Prev={{{Prev|}}}|Next={{{Next|}}} }} }}
 
{{#if: {{{Next|}}}{{{Prev|}}} | {{Navigation|ID={{{ID|}}}|Prev={{{Prev|}}}|Next={{{Next|}}} }} }}
 
=={{{Heading|}}}==
 
=={{{Heading|}}}==
====Template:Display - 11/7/2020====
+
<div style="font-weight: bold;font-size:140%;"> {{#arraymap:{{{Town|}}}|;|x|[[x]]|&#32;and&#32;}} ({{#arraymap:{{{Country|}}}|;|x|[[x]]|&#32; and&#32;}}): {{#arraymap:{{{Printer|}}}|;|x|[[x]]|&#32;and&#32;}}, {{#if: {{{Bookseller|}}}|for {{#arraymap:{{{Bookseller|}}}|;|x|[[x]]|&#32;and&#32;}}, | }} <span style="color:blue;">{{{Publication date|}}} </span></div>
<div style="font-weight: bold;font-size:140%;"> {{#arraymap:{{{Town|}}}|;|x|[[x]]|&#32;and&#32;}} ({{#arraymap:{{{Country|}}}|;|x|x|&#32; and&#32;}}): {{#arraymap:{{{Printer|}}}|;|x|x|&#32;and&#32;}}, {{#if: {{{Bookseller|}}}|for {{#arraymap:{{{Bookseller|}}}|;|x|x|&#32;and&#32;}}, | }} <span style="color:blue;">{{{Publication date|}}} </span></div>
 
 
{{#if: {{{Notabilia|}}} | {{#arraymap:{{{Notabilia|}}}|;|x|<b>x</b>|\n\n}} | }}{{#if: {{{Photo|}}}  
 
{{#if: {{{Notabilia|}}} | {{#arraymap:{{{Notabilia|}}}|;|x|<b>x</b>|\n\n}} | }}{{#if: {{{Photo|}}}  
|: {{#arraymap:{{{Photo|}}}|;|x|{{DisplayJPG|fname=x}} | &#32;&nbsp;&#32; }}
+
|: {{#arraymap:{{{Photo|}}}|;|x|{{ShowImage|x}} &#32;&nbsp;&#32; }}
 
|  }} {{#if: {{{Photo2|}}}
 
|  }} {{#if: {{{Photo2|}}}
 
|: {{#arraymap:{{{Photo2|}}}|;|x|http://pics.djshaw.co.uk/juvwiki/x &#32; | &#32;&nbsp;&#32; }}
 
|: {{#arraymap:{{{Photo2|}}}|;|x|http://pics.djshaw.co.uk/juvwiki/x &#32; | &#32;&nbsp;&#32; }}
 
| }} {{#if: {{{Caption|}}}      |: {{#arraymap:{{{Caption|}}}|;|y|y|&#32;&mdash;&#32;}}  |: [No photographs available for this edition.]  }}
 
| }} {{#if: {{{Caption|}}}      |: {{#arraymap:{{{Caption|}}}|;|y|y|&#32;&mdash;&#32;}}  |: [No photographs available for this edition.]  }}
 
{{#if: {{{PDF|}}}          | <p>'''Full description:''' [http://docs.bibsoc.org.uk/juvenal/juv-pdfs/{{{PDF}}}.pdf {{{PDF}}}.pdf]</p>| }}
 
{{#if: {{{PDF|}}}          | <p>'''Full description:''' [http://docs.bibsoc.org.uk/juvenal/juv-pdfs/{{{PDF}}}.pdf {{{PDF}}}.pdf]</p>| }}
<p>'''Collation:''' {{#arraymap:{{{Format|}}}|;|x|x|&#32;and&#32;}}: {{{Collation|}}}; {{{Pagination|}}}.</p>
+
<p>'''Collation:''' {{#arraymap:{{{Format|}}}|;|x|[[x]]|&#32;and&#32;}}: {{{Collation|}}}; {{{Pagination|}}}.</p>
{{#if: {{{Paper|}}}        | <p style="margin-left:2em;text-indent:-2em;">'''Paper:'''  {{#arraymap:{{{Paper|}}}|;|x|x|&#32;and&#32;}}  
+
{{#if: {{{Paper|}}}        | <p style="margin-left:2em;text-indent:-2em;">'''Paper:'''  {{#arraymap:{{{Paper|}}}|;|x|[[x]]|&#32;and&#32;}}  
 
     {{#if: {{{Sheet size|}}} | (estimated sheet size: {{#arraymap:{{{Sheet size|}}}|;|x|x|&#32;and&#32;}}; largest recorded page size: {{#arraymap:{{{Page size|}}}|;|x|x|&#32;and&#32;}}). {{#if: {{{Edition sheets|}}} |<br />{{{Edition sheets|}}} edition sheets | }}  }}.</p> | '''Edition sheets:''' {{{Edition sheets|}}}.}}
 
     {{#if: {{{Sheet size|}}} | (estimated sheet size: {{#arraymap:{{{Sheet size|}}}|;|x|x|&#32;and&#32;}}; largest recorded page size: {{#arraymap:{{{Page size|}}}|;|x|x|&#32;and&#32;}}). {{#if: {{{Edition sheets|}}} |<br />{{{Edition sheets|}}} edition sheets | }}  }}.</p> | '''Edition sheets:''' {{{Edition sheets|}}}.}}
{{#if: {{{Catchwords|}}}  | <p>'''Catchwords and signatures:''' {{#arraymap:{{{Catchwords|}}}|;|x|x|;&#32;}}; {{#arraymap:{{{Signatures|}}}|;|x|{{#ifeq: x|no signatures| |signed&#32; }} x|;&#32;}}.</p> | }}
+
{{#if: {{{Catchwords|}}}  | <p>'''Catchwords and signatures:''' {{#arraymap:{{{Catchwords|}}}|;|x|[[x]]|;&#32;}}; {{#arraymap:{{{Signatures|}}}|;|x|{{#ifeq: x|no signatures| |signed&#32; }} [[x]]|;&#32;}}.</p> | }}
 
<p style="margin-left:2em;text-indent:-2em;">'''Selected references:'''  {{#arraymap:{{{Bibliographies|}}}|;|x|x|;&#32;}}</p>
 
<p style="margin-left:2em;text-indent:-2em;">'''Selected references:'''  {{#arraymap:{{{Bibliographies|}}}|;|x|x|;&#32;}}</p>
 
<p style="margin-left:2em;text-indent:-2em;">'''Copies seen:''' {{#if: {{{Copies seen|}}} | {{#arraymap:{{{Copies seen|}}}|;|x|x|;&#32;}} | none.}}</p>
 
<p style="margin-left:2em;text-indent:-2em;">'''Copies seen:''' {{#if: {{{Copies seen|}}} | {{#arraymap:{{{Copies seen|}}}|;|x|x|;&#32;}} | none.}}</p>
Line 62: Line 61:
 
<p>'''Total number of copies recorded:''' {{{Number of copies|}}}</p>
 
<p>'''Total number of copies recorded:''' {{{Number of copies|}}}</p>
 
{{#if: {{{Digitisation|}}} | <p style="margin-left:2em;text-indent:-2em;">'''Digitised copies:''' {{#arraymap:{{{Digitisation|}}}|;|x|x|;<br>}}</p> | }}
 
{{#if: {{{Digitisation|}}} | <p style="margin-left:2em;text-indent:-2em;">'''Digitised copies:''' {{#arraymap:{{{Digitisation|}}}|;|x|x|;<br>}}</p> | }}
<p>'''Other editions printed in the same year:''' {{#arraymap:{{{Year date|}}}|;|x|x|&#32;and&#32;}}.</p>        {{#if:  
+
<p>'''Other editions printed in the same year:''' {{#arraymap:{{{Year date|}}}|;|x|[[x]]|&#32;and&#32;}}.</p>        {{#if:  
 
{{{Source|}}}      | <p>'''This edition reprinted from''' {{#arraymap:{{{Source|}}}|;|xyz|[[xyz]]|;&#32;}}.</p>| }}    {{#if:  
 
{{{Source|}}}      | <p>'''This edition reprinted from''' {{#arraymap:{{{Source|}}}|;|xyz|[[xyz]]|;&#32;}}.</p>| }}    {{#if:  
{{{Other poets|}}}  | <p>'''Other authors contained in this edition:''' {{#arraymap:{{{Other poets|}}}|;|x|x|;&#32;}}.</p> | }}  {{#if:  
+
{{{Other poets|}}}  | <p>'''Other authors contained in this edition:''' {{#arraymap:{{{Other poets|}}}|;|x|[[x]]|;&#32;}}.</p> | }}  {{#if:  
{{{Commentators|}}} | <p>'''Commentaries included in this edition:''' {{#arraymap:{{{Commentators|}}}|;|x|x|;&#32;}}.</p> | }}  {{#if:  
+
{{{Commentators|}}} | <p>'''Commentaries included in this edition:'''   {{#arraymap:{{{Commentators|}}}|;|x|[[x]]|;&#32;}}.</p> | }}  {{#if:  
{{{Editors|}}}      | <p>'''Editors involved in producing this edition:''' {{#arraymap:{{{Editors|}}}|;|x|x|;&#32;}}.</p> | }}  {{#if:  
+
{{{Editors|}}}      | <p>'''Editors involved in producing this edition:'''   {{#arraymap:{{{Editors|}}}|;|x|[[x]]|;&#32;}}.</p> | }}  {{#if:  
{{{Prelims|}}}      | <p>'''Authors of preliminary and other ancillary matter:''' {{#arraymap:{{{Prelims|}}}|;|x|x|;&#32;}}.</p> | }}  {{#if:  
+
{{{Prelims|}}}      | <p>'''Authors of preliminary and other ancillary matter:''' {{#arraymap:{{{Prelims|}}}|;|x|[[x]]|;&#32;}}.</p> | }}  {{#if:  
{{{Translator|}}}  | <p>'''The translator of this edition:''' {{{Translator|}}}.</p> | }}
+
{{{Translator|}}}  | <p>'''The translator of this edition:''' [[{{{Translator|}}}]].</p> | }}
 
{{#if: {{{Next|}}}{{{Prev|}}} | {{Navigation|ID={{{ID|}}}|Prev={{{Prev|}}}|Next={{{Next|}}} }} }}
 
{{#if: {{{Next|}}}{{{Prev|}}} | {{Navigation|ID={{{ID|}}}|Prev={{{Prev|}}}|Next={{{Next|}}} }} }}
 +
<p style="text-align:right;">Using template:Display (30/12/2020)</p>
 
[[Category:Edition]]
 
[[Category:Edition]]
 
</includeonly>
 
</includeonly>

Latest revision as of 17:36, 23 January 2021

This is the "Display" template. It should be called in the following format:

{{Display
|ID=
|Heading=
|Photo=
|Photo2=
|Caption=
|Town=
|Country=
|Printer=
|Bookseller=
|Publication date=
|Other poets=
|Commentators=
|Editors=
|Prelims=
|Translator=
|Format=
|Collation=
|Pagination=
|Notabilia=
|Bibliographies=
|Copies seen=
|Copies not seen=
|Number of copies=
|Digitisation=
|Year date=
|Paper=
|Page size=
|Sheet size=
|Edition sheets=
|PDF=
|Source=
|Catchwords=
|Signatures=
|Prev=Juv1
|Next=Juv1
}}

Edit the page to see the template text.