Perfect | Complete | In Progress | Ready | Searching | Missing Files

Template:SourceInfo

Boris Ginsburgs, editor.
Jump to navigation Jump to search

Creates a source page's infobox to display basic information.

Parameters

citation bibliographic citation (last-first, periods, full info)
status (Codex page status) Perfect, Complete, In Progress, Ready, or Searching
copyright Original, Copyrighted, or Public Domain
image filename of cover image for this source (usually title page, first page, or book cover)
caption image caption, as Title page., First page., Cover., etc.
online online source(s) of full text, host name with link to source (to title page or relevant section if possible). If more than one, comma-separated list.

Code

<DIV align="center">
{|- style = "background-color : #333333 ;"
| style = "padding : 20px ; font-size : large ; width : 80% ; background-color : #FF9900 ; color : #FFFFFF ;" | {{{citation}}}
| rowspan=4 style = "padding : 10px ; width : 20% ; background-color : #FFCC00; font-size : xx-small; text-align : center;" | [[File:{{{image}}}{{!}}center{{!}}150px{{!}}{{{caption}}}]]<BR/>''click to enlarge''
|-
| style = "text-align : center; width : 40% ; background-color : #CCCC99 ; color : #333333 ;" | {{#switch: {{{status}}}
			|Perfect = [[Image:PSPerfect.png{{!}}24px{{!}}link={{!}}]] Perfect
			|Complete = [[Image:PSComplete.png{{!}}24px{{!}}link={{!}}]] Complete
			|In Progress = [[Image:PSInProgress.png{{!}}24px{{!}}link={{!}}]] In Progress
			|Ready = [[Image:PSReady.png{{!}}24px{{!}}link={{!}}]] Ready
			|Searching = [[Image:PSSearching.png{{!}}24px{{!}}link={{!}}]] Searching
			|[[Image:PSUnknown.png{{!}}24px{{!}}link={{!}}]] Status Unknown!}}
|-
| style = "text-align : center; width : 40% ; background-color : #CCCC99 ; color : #333333 ;" | {{#switch: {{{copyright}}}
			|Original = [[Image:PCCopyright.png{{!}}24px{{!}}link={{!}}]] Original
			|Copyrighted = [[Image:PCCopyright.png{{!}}24px{{!}}link={{!}}]] Copyrighted
			|Public Domain = [[Image:PCPublic.png{{!}}24px{{!}}link={{!}}]] Public Domain}}
|-
| style = "text-align : center; background-color : #FFFF99 ; " | {{#if: {{{online}}} | also @ {{{online}}} }}
|}
</DIV>

Example

{{SourceInfo
|citation = Lettsom, John Coakley. ''The Natural History of the Tea-Tree, with Observations on the Medical Qualities of Tea, and Effects of Tea-Drinking.'' London, 1772.
|status = Complete
|copyright = Public Domain
|image = Lettsom1772-title.jpg
|caption = Title page.
|online = [https://books.google.com/books?id=Es1AAAAAcAAJ&pg=PR1#v=onepage&q&f=false Google Books].
}}

results in:

Lettsom, John Coakley. The Natural History of the Tea-Tree, with Observations on the Medical Qualities of Tea, and Effects of Tea-Drinking. London, 1772.
Title page.

click to enlarge
PSComplete.png Complete
PCPublic.png Public Domain
also @ Google Books.