Difference between revisions of "User:Stargazer/Cover"

From The Coppermind
Jump to navigation Jump to search
m (Pretty artwork param link, "Also used by" to "Also in")
m (Add lowercase ISBN option)
Line 1: Line 1:
 
<includeonly><onlyinclude>{| class=infobox align=center
 
<includeonly><onlyinclude>{| class=infobox align=center
<!-- -->{{row/kv|Book |{{book tag|{{{book}}}|}} }}
+
<!-- -->{{row/kv|Book |{{book tag|{{{book}}}|}} }}
{{#if:{{{series|}}} |{{row/kv|Series |{{series tag|{{{series}}}|}} }}|}}
+
{{#if:{{{series|}}} |{{row/kv|Series |{{series tag|{{{series}}}|}} }}|}}
{{#if:{{{#artist|}}} |{{row/kv|Artist |[[Coppermind: Artists/{{{#artist}}} | {{{#artist}}} ]] }}
+
{{#if:{{{#artist|}}} |{{row/kv|Artist |[[Coppermind: Artists/{{{#artist}}} | {{{#artist}}} ]] }}
<!-- ELSE -->|{{row/kv|Artist |{{{artist|''unknown''}}} }}|}}
+
<!-- ELSE -->|{{row/kv|Artist |{{{artist|''unknown''}}} }}|}}
<!-- -->{{row/kv|Country |{{{country}}} }}
+
<!-- -->{{row/kv|Country |{{{country}}} }}
{{#if:{{{type|}}} |{{row/kv|Type |{{{type}}} }}|}}
+
{{#if:{{{type|}}} |{{row/kv|Type |{{{type}}} }}|}}
{{#if:{{{year|}}} |{{row/kv|Year |{{{year}}} }}|}}
+
{{#if:{{{year|}}} |{{row/kv|Year |{{{year}}} }}|}}
{{#if:{{{ISBN|}}} |{{row/kv|ISBN |{{{ISBN}}} }}|}}
+
{{#if:{{{ISBN|{{{isbn|}}}}}} |{{row/kv|ISBN |{{{ISBN|{{{isbn|}}}}}} }}|}}
{{#if:{{{also|}}} |{{row/kv|Also in |{{{also}}} }}|}}
+
{{#if:{{{also|}}} |{{row/kv|Also in |{{{also}}} }}|}}
{{#if:{{{artwork|}}} |{{row/kv|Artwork |[[:File:{{{artwork}}}|{{{artwork}}}]] }}|}}
+
{{#if:{{{artwork|}}} |{{row/kv|Artwork |[[:File:{{{artwork}}}|{{{artwork}}}]] }}|}}
<!-- -->{{row/kv|Source |{{{source|''unknown''}}} }}
+
<!-- -->{{row/kv|Source |{{{source|''unknown''}}} }}
 
|}<!--
 
|}<!--
   

Revision as of 00:56, 18 April 2020

The cover template is used in the place of {{art}} on the File pages for all cover artwork from Brandon's books.

Template

{{cover
|book=
|series=
|#artist=
|country=
|type=
|year=
|ISBN=
|also=
|artwork=
|source=
}}
Without parameters passed
Book [[Book shorthand incorrect]]
Artist unknown
Country {{{country}}}
Source unknown
With parameters passed
Book The Way of Kings
Series The Stormlight Archive
Artist Isaac Stewart
Country United States
Type Hardcover
Year 2011
ISBN lorem ipsum
Also in Somewhere
Artwork TheWayOfKings.png
Source Coppermind

Category:Infoboxes