Wiktenauer logo.png

Difference between revisions of "Template:Infobox book"

From Wiktenauer
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
  
 
<!----------Image---------->
 
<!----------Image---------->
| image      = {{#if:{{{image|}}}|[[{{{image}}}|{{#if:{{{width|}}}|{{px|{{{width|}}}}}|325x325px}}{{#if:{{{border}}}|{{!}}border}}]]}}
+
| image      = {{#if: {{{image|}}} | [[{{{image|}}}|{{#if: {{{width|}}} | {{px | {{{width|}}}}} | 325x325px }} {{#if: {{{border}}} | {{!}} border }}]] }}
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
  
 
<!----------Information---------->
 
<!----------Information---------->
| label1    = USTC ID
+
| label1    = USTC&nbsp;ID
| data1      = [https://www.ustc.ac.uk/editions/{{{ustc|}}} {{{ustc|}}}]
+
| data1      = {{#if: {{{ustcid2|}}}
 +
                | {{collapsible list
 +
                    | {{#if: {{{ustcid1|}}}
 +
                        | [https://www.ustc.ac.uk/editions/{{{ustcid1|}}} {{{ustcid1|}}}] {{#if: {{{ustclabel1|}}} | ({{{ustclabel1|}}}) }}
 +
                      }}
 +
                    | {{#if: {{{ustcid2|}}}
 +
                        | [https://www.ustc.ac.uk/editions/{{{ustcid2|}}} {{{ustcid2|}}}] {{#if: {{{ustclabel2|}}} | ({{{ustclabel2|}}}) }}
 +
                      }}
 +
                    | {{#if: {{{ustcid3|}}}
 +
                        | [https://www.ustc.ac.uk/editions/{{{ustcid3|}}} {{{ustcid3|}}}] {{#if: {{{ustclabel3|}}} | ({{{ustclabel3|}}}) }}
 +
                      }}
 +
                    | {{#if: {{{ustcid4|}}}
 +
                        | [https://www.ustc.ac.uk/editions/{{{ustcid4|}}} {{{ustcid4|}}}] {{#if: {{{ustclabel4|}}} | ({{{ustclabel4|}}}) }}
 +
                      }}
 +
                    | {{#if: {{{ustcid5|}}}
 +
                        | [https://www.ustc.ac.uk/editions/{{{ustcid5|}}} {{{ustcid5|}}}] {{#if: {{{ustclabel5|}}} | ({{{ustclabel5|}}}) }}
 +
                      }}
 +
                    | {{#if: {{{ustcid6|}}}
 +
                        | [https://www.ustc.ac.uk/editions/{{{ustcid6|}}} {{{ustcid6|}}}] {{#if: {{{ustclabel6|}}} | ({{{ustclabel6|}}}) }}
 +
                      }}
 +
                    | {{#if: {{{ustcid7|}}}
 +
                        | [https://www.ustc.ac.uk/editions/{{{ustcid7|}}} {{{ustcid7|}}}] {{#if: {{{ustclabel7|}}} | ({{{ustclabel7|}}}) }}
 +
                      }}
 +
                    | {{#if: {{{ustcid8|}}}
 +
                        | [https://www.ustc.ac.uk/editions/{{{ustcid8|}}} {{{ustcid8|}}}] {{#if: {{{ustclabel8|}}} | ({{{ustclabel8|}}}) }}
 +
                      }}
 +
                    | {{#if: {{{ustcid9|}}}
 +
                        | [https://www.ustc.ac.uk/editions/{{{ustcid9|}}} {{{ustcid9|}}}] {{#if: {{{ustclabel9|}}} | ({{{ustclabel9|}}}) }}
 +
                      }}
 +
                    | {{#if: {{{ustcid10|}}}
 +
                        | [https://www.ustc.ac.uk/editions/{{{ustcid10|}}} {{{ustcid10|}}}] {{#if: {{{ustclabel10|}}} | ({{{ustclabel10|}}}) }}
 +
                      }}
 +
                  }}
 +
                | {{#if: {{{ustcid1|}}} | [https://www.ustc.ac.uk/editions/{{{ustcid1|}}} {{{ustcid1|}}}] {{#if: {{{ustclabel1|}}} | ({{{ustclabel1|}}}) }} }}
 +
              }}
  
 
| label2    = Full&nbsp;title
 
| label2    = Full&nbsp;title
Line 66: Line 100:
 
| data17    = {{{pub_date|{{{release_date|}}}}}}
 
| data17    = {{{pub_date|{{{release_date|}}}}}}
  
| label18    = First english<br/>edition
+
| label18    = First&nbsp;english<br/>edition
 
| data18    = {{{first English edition|}}}
 
| data18    = {{{first English edition|}}}
  
Line 78: Line 112:
 
| data21    = {{{wiktenauer compilation by|}}}{{{concordance by|}}}
 
| data21    = {{{wiktenauer compilation by|}}}{{{concordance by|}}}
  
| label22    = {{nowrap|External data}}
+
| label22    = {{nowrap|External&nbsp;data}}
 
| data22    = {{{website|}}}
 
| data22    = {{{website|}}}
  

Latest revision as of 19:54, 11 September 2021

Infobox book
[edit] [history] [purge] Documentation icon Template documentation

This template is used to present a consistently-formatted table for use in articles about books. Please do not make major changes to this infobox without proposing and discussing it on the talk page first.

Usage

{{Infobox book
<!----------Name---------->
| name                      = 
| subtitle                  = 

<!----------Image---------->
| image                     = 
| width                     = 
| caption                   = 

<!----------Information---------->
| full title                = 
| also known as             = 
| author(s)                 = 
| ascribed to               = 
| compiled by               = 
| illustrated by            = 
| translator(s)             = 
| patron                    = 
| dedicated to              = 
| place of origin           = 
| language                  = 
| subject                   = 
| genre                     = 
| sources                   = 
| publisher                 = 
| pub_date                  = 
| first English edition     = 
| pages                     = 
| extant copies             = 
| wiktenauer compilation by = 
| website                   = 
| images                    = 
| translations              = 
| below                     = 
}}

Parameters

  • Parameters can be safely left blank. Note that you may include an image with no caption, but a caption will not be shown if there is no image.
  • Wiki links [[]] are fine in any of the Infobox fields.
Infobox book
Subtitles, if any
image width is set at 225px by default, but may be adjusted if appropriate. | border
brief description of image
Full title Use if the title is too long for the header, if subtitles were omitted, or if an English translation of the title were used
Also known as alternative titles which do not belong in the subheader
Author(s) author(s) of the treatise
Ascribed to use if actual authorship is disputed
Compiled by compiler
Illustrated by illustrator
Translator(s) translator
Patron patron who commissioned or financed the publication of the book
Dedicated to dedicatee (who may or may not be the same person as the patron)
Place of origin place of origin/publication, e.g. region or country
Language language(s) used in the book
Subject(s) style or weapons treated
Genre(s) e.g. fencing manual or wrestling manual
Sources earlier treatises that served as exemplars or inspiration
Publisher publisher of the main publication (1st edition)
Publication date date published (1st edition)
First english
edition
information about 1st English edition
Pages Pages (prefer 1st edition)
Extant copies call numbers and locations of known copies of the book (prefer 1st edition)
Concordance by author of the compilation used for the Wiktenauer layout.
text in bottom cell, generally used for links to scans of the book.

{{Infobox book
| title                     = Title
| subtitle                  = Subtitles, if any

| image                     = "file:example.jpg", image appropriate to the treatise (usually the cover or title page)
| width                     = image width is set at 225px by default, but may be adjusted if appropriate.
| caption                   = brief description of image

| full title                = Use if the title is too long for the header, if subtitles were omitted, 
                              or if an English translation of the title were used
| also known as             = alternative titles which do not belong in the subheader
| author(s)                 = author(s) of the treatise
| ascribed to               = use if actual authorship is disputed
| compiled by               = compiler
| illustrated by            = illustrator
| translator(s)             = translator
| patron                    = patron who commissioned or financed the publication of the book
| dedicated to              = dedicatee (who may or may not be the same person as the patron)
| place of origin           = place of origin/publication, e.g. region or country
| language                  = language(s) used in the book
| subject                   = style or weapons treated
| genre                     = e.g. [[fencing manual]] or [[wrestling manual]]
| sources                   = earlier treatises that served as exemplars or inspiration
| publisher                 = publisher of the main publication (1st edition)
| pub_date                  = date published (1st edition)
| first English edition     = information about 1st English edition
| pages                     = Pages (prefer 1st edition)
| extant copies             = call numbers and locations of known copies of the book (prefer 1st edition)
| wiktenauer compilation by = author of the compilation used for the Wiktenauer layout.
| website                   = 
| images                    = 
| translations              = 
| below                     = text in bottom cell, generally used for links to scans of the book.
}}

Example

Ergrundung Ritterlicher Kunst der Fechterey
325x325px
Title Page
Author(s) Andreas Pauernfeindt
Illustrated by Unknown
Place of origin Holy Roman Empire
Language Middle High German
Subject(s) Braquemard
Longsword
Polearms
Sword and Shield
Staff
Genre(s) Fencing manual
Publication date 1516
Pages 74
Extant copies E.1939.65.357
{{Infobox book
<!----------Name---------->
| name                      = Ergrundung Ritterlicher Kunst der Fechterey
| subtitle                  = 

<!----------Image---------->
| image                     = Image:E.1939.65.357 p1.jpg
| width                     = 
| caption                   = Title Page

<!----------Information---------->
| full title                = 
| also known as             = 
| author(s)                 = [[Andreas Pauernfeindt]]
| ascribed to               = 
| compiled by               = 
| illustrated by            = Unknown
| translator(s)             = 
| patron                    = 
| dedicated to              = 
| place of origin           = Holy Roman Empire
| language                  = [[Wikipedia: Middle High German|Middle High German]]
| subject                   = [[Braquemard]]<br>[[Longsword]]<br>[[Polearms]]<br>Sword and [[Shield]]<br>[[Staff]]
| genre                     = [[Fencing manual]]
| sources                   = 
| publisher                 = 
| pub_date                  = 1516
| first English edition     = 
| pages                     = 74
| extant copies             = E.1939.65.357
| wiktenauer compilation by = 
| website                   = 
| images                    = 
| translations              = 
| below                     = 
}}