Editing Template:Cover

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
<onlyinclude>{| class=infobox align=center
 
<onlyinclude>{| class=infobox align=center
<!-- -->{{row/kv|Book |{{#if:{{{book|}}}|''{{book tag|{{{book}}}|}}''|{{{'book}}}}} }}
+
<!-- -->{{row/kv|Book |''{{book tag|{{{book}}}|}}'' }}
{{#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''}}} }}|}}
{{#if:{{{artwork|}}} |{{row/kv|Artwork |[[:File:{{{artwork}}}|{{{artwork}}}]] }}|}}
+
{{#if:{{{artwork|}}} |{{row/kv|Artwork |[[:File:{{{artwork}}}|{{{artwork}}}]] }}|}}
<!-- -->{{row/kv|Country |{{{country|''unknown''}}} }}
+
<!-- -->{{row/kv|Country |{{{country|''unknown''}}} }}
{{#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|{{{isbn|}}}}}} |{{row/kv|ISBN |{{{ISBN|{{{isbn|}}}}}} }}|}}
+
{{#if:{{{ISBN|{{{isbn|}}}}}} |{{row/kv|ISBN |{{{ISBN|{{{isbn|}}}}}} }}|}}
{{#if:{{{also|}}} |{{row/kv|Also in |{{{also}}} }}|}}
+
{{#if:{{{also|}}} |{{row/kv|Also in |{{{also}}} }}|}}
<!-- -->{{row/kv|Source |{{{source|''unknown''}}} }}
+
<!-- -->{{row/kv|Source |{{{source|''unknown''}}} }}
 
|}<includeonly><!--
 
|}<includeonly><!--
   
Line 24: Line 24:
 
-->{{#if:{{{source|}}}|<!-- -->|[[Category: missing source link]]}}<!--
 
-->{{#if:{{{source|}}}|<!-- -->|[[Category: missing source link]]}}<!--
   
-->{{#if:{{{series|}}}|[[Category:{{#switch:{{lc:{{{series}}}}}<!--
+
-->{{#if:{{{series|}}}|[[Category:{{{series}}}]]|}}<!--
-->|sa|stormlight|stormlight archive|the stormlight archive=Stormlight Archive<!--
 
-->|mbe1|mistborn era 1=Mistborn Era 1<!--
 
-->|mbe2|mistborn era 2=Mistborn Era 2<!--
 
-->|skyward|skyward series=Skyward<!--
 
-->|legion|legion series=Legion<!--
 
-->|reckoners|the reckoners=The Reckoners<!--
 
-->|alcatraz=Alcatraz<!--
 
-->|do|dark one=Dark One<!--
 
-->|ws|white sand=White Sand<!--
 
-->|{{{series}}}{{cover/unrecognized series}}<!--
 
-->}}]]|}}<!--
 
 
-->[[Category:Book covers]]<!--
 
-->[[Category:Book covers]]<!--
   
Line 68: Line 57:
 
<!-- -------- -->
 
<!-- -------- -->
 
{{docs/row/required
 
{{docs/row/required
  +
|param=book
|'param=<code>book</code><br />or<br /><code>'book</code>
 
 
|desc= Use this to associate the cover with the book it belongs to.<br />
 
|desc= Use this to associate the cover with the book it belongs to.<br />
'''Note:''' The value here is forwarded to the {{t|book tag}} template, which then forwards it to {{t|b}}. This means the original value must be valid for those templates as well. See their pages for details. If the artwork is the cover for multiple books, use <code>'book</code>
+
'''Note:''' The value here is forwarded to the {{t|book tag}} template, which then forwards it to {{t|b}}. This means the original value must be valid for those templates as well. See their pages for details.
 
|eg=
 
|eg=
 
<code><nowiki>|book=sa1</nowiki></code><br />
 
<code><nowiki>|book=sa1</nowiki></code><br />
 
<code><nowiki>|book=wb</nowiki></code><br />
 
<code><nowiki>|book=wb</nowiki></code><br />
<code><nowiki>|'book=''[[Legion (book)|]]'' and ''[[The Emperor's Soul]]'' collection</nowiki></code>
+
<code><nowiki>|book=sky2</nowiki></code>
 
}}
 
}}
   
Line 82: Line 71:
 
{{docs/row/optional
 
{{docs/row/optional
 
|param=series
 
|param=series
|desc=Use this to associate the cover with a book series. '''Adds the image to that series' category''', so it's advisable to add it. The value you pass must either be one of the aliases listed below at [[#Series Aliases]] or ''exactly'' match the name of the series category (see the subcategories of [[:Category:Series]] for a list of series categories).<br />
+
|desc=Use this to associate the cover with a book series. '''Adds the image to that series' category''', so it's advisable to add it. The value you pass should exactly match the name of the series category; see the subcategories of [[:Category:Series]] if you need a list of series categories.<br />
 
'''Note:''' This row won't appear in the template, but that's the desired behavior; it's used only for categorization.
 
'''Note:''' This row won't appear in the template, but that's the desired behavior; it's used only for categorization.
 
|eg=
 
|eg=
Line 183: Line 172:
 
=== Categories & tags ===
 
=== Categories & tags ===
 
Pages that make use of the {{t|cover}} template will be added to [[:Category:Book covers]].
 
Pages that make use of the {{t|cover}} template will be added to [[:Category:Book covers]].
 
=== Series Aliases ===
 
The following aliases are valid for the <code>series</code> parameter:
 
{| class=infobox style="margin:auto"
 
|-
 
!Series
 
!Aliases
 
|-
 
! [[Alcatraz Versus the Evil Librarians (series)|Alcatraz]]
 
| <code>alcatraz</code>
 
|-
 
! [[Dark One (franchise)|Dark One]]
 
| <code>do</code>, <code>dark one</code>
 
|-
 
! [[Legion (series)]]
 
| <code>legion</code>, <code>legion series</code>
 
|-
 
! [[Mistborn Era 1]]
 
| <code>mbe1</code>, <code>mistborn era 1</code>
 
|-
 
! [[Mistborn Era 2]]
 
| <code>mbe2</code>, <code>mistborn era 2</code>
 
|-
 
! [[The Reckoners]]
 
| <code>reckoners</code>, <code>the reckoners</code>
 
|-
 
! [[Skyward (series)]]
 
| <code>skyward</code>, <code>skyward series</code>
 
|-
 
! [[The Stormlight Archive]]
 
| <code>stormlight</code>, <code>stormlight archive</code>, <code>the stormlight archive</code>, <code>sa</code>
 
|-
 
! [[White Sand]]
 
| <code>ws</code>, <code>white sand</code>
 
|}
 
   
 
[[Category:Infoboxes]]
 
[[Category:Infoboxes]]
 
== Files using Template ==
 
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 files.}}
 
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=6|limit=100}}
 

Please note that all contributions to The Coppermind are considered to be released under the CC4 by-nc-nd (see Coppermind:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)