Template:Infobox book

From Edge of Darkness Wiki

Infobox book
Jump to: navigation, search
m
m
 
(21 intermediate revisions not shown)
Line 1: Line 1:
-
{{nomain|{{Infobox
+
<includeonly>{{#set: Page has default form=Book Editor }}{{Infobox
|name=Infobox book
|name=Infobox book
Line 5: Line 5:
|bodystyle    = margin-left: 10px; border-radius: 5px; border: 1px solid;
|bodystyle    = margin-left: 10px; border-radius: 5px; border: 1px solid;
-
{{#switch: {{#show: {{PAGENAME}} |?Venue# }}
+
{{#switch: {{{genre|}}}
|Changeling=border-color: #006000;
|Changeling=border-color: #006000;
 +
|Hunter=border-color: #294a3f;
|Mage=border-color: #1e5b7a;
|Mage=border-color: #1e5b7a;
 +
|Mortal=background: #1a1a1a; border-color: #ff9933;
|Vampire=border-color: #800000;
|Vampire=border-color: #800000;
|Werewolf=border-color: #804124;
|Werewolf=border-color: #804124;
Line 15: Line 17:
|titlestyle  = color: #ff9933; padding-top: 5px;  border-top-right-radius: 5px; border-top-left-radius: 5px;  border-left: 1px solid; border-right: 1px solid; border-top: 1px solid;  
|titlestyle  = color: #ff9933; padding-top: 5px;  border-top-right-radius: 5px; border-top-left-radius: 5px;  border-left: 1px solid; border-right: 1px solid; border-top: 1px solid;  
-
{{#switch: {{#show: {{PAGENAME}} |?Venue# }}
+
{{#switch: {{{genre|}}}
|Changeling=background: #003300; border-color: #006000;
|Changeling=background: #003300; border-color: #006000;
 +
|Hunter=background: #0d1815; border-color: #294a3f;
|Mage=background: #143d51; border-color: #1e5b7a;
|Mage=background: #143d51; border-color: #1e5b7a;
 +
|Mortal=background: #1a1a1a; border-color: #ff9933;
|Vampire=background: #330000; border-color: #800000;
|Vampire=background: #330000; border-color: #800000;
|Werewolf=background: #201009; border-color: #804124;
|Werewolf=background: #201009; border-color: #804124;
Line 30: Line 34:
|labelstyle=background:inherit; white-space:nowrap;
|labelstyle=background:inherit; white-space:nowrap;
-
|above= {{#show: {{PAGENAME}} |?Venue# }}&nbsp;{{#if: {{{series|}}}|{{{series|}}}|}} <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:book}}&rft.genre=book&rft.btitle={{urlencode:{{{name|}}}}}{{#if: {{{author|}}}|&rft.author={{urlencode:{{{author}}}}}}}{{#if: {{{last|}}}|&rft.aulast={{urlencode:{{{last}}}}}}}{{#if: {{{first|}}}|&rft.aufirst={{urlencode:{{{first}}}}}}}{{#if: {{{pub_date|{{{release_date|}}}}}}|&rft.date={{urlencode:{{{pub_date|{{{release_date}}}}}}}}}}{{#if: {{{publisher|}}}|&rft.pub={{urlencode:{{{publisher}}}}}}}{{#if: {{{location|}}}|&rft.place={{urlencode:{{{location}}}}}}}{{#if: {{{pages|}}}|&rft.pages={{urlencode:{{{pages}}}}}}}{{#if: {{{series|}}}|&rft.series={{urlencode:{{{series}}}}}}}{{#if: {{{oclc|}}}|&rft_id=info:oclcnum/{{{oclc}}}}}">&nbsp;</span>
+
|above= [[Venue::{{{genre|}}}]]&nbsp;{{#if: {{{series|}}}|[[Publisher ProductID::{{{series|}}}]]|}}
-
|image= {{{image|}}}
+
 
 +
|image= [[File:{{PAGENAME}}.jpg|200px|link=http://www.drivethrurpg.com/product/{{#show: {{PAGENAME}} |?DT ProductID# }}/?affiliate_id=290913|Cover]]
|caption= {{{image_caption|}}}
|caption= {{{image_caption|}}}
-
|label1= {{#if: {{{author|}}}|Author(s) }}
 
-
|data1= {{#if: {{{author|}}}|{{{author}}} }}
 
|label2= Original title
|label2= Original title
|data2= {{#if:{{{title_orig|}}}|''{{{title_orig}}}''}}
|data2= {{#if:{{{title_orig|}}}|''{{{title_orig}}}''}}
-
|label3= Translator
+
|label6=  
-
|data3= {{{translator|}}}
+
|data6=  
-
|label4= Illustrator
+
|label7=  
-
|data4= {{{illustrator|}}}
+
|data7=  
-
|label5= Cover artist
+
-
|data5= {{{cover_artist|}}}
+
-
|label6= Country
+
-
|data6= {{{country|}}}
+
-
|label7= Language
+
-
|data7= {{{language|}}}
+
|label8= Series
|label8= Series
-
|data8= {{{series|}}}
+
|data8=  
|label9= Subject(s)
|label9= Subject(s)
|data9= {{{subject|}}}
|data9= {{{subject|}}}
|label10= Genre(s)
|label10= Genre(s)
-
|data10= {{{genre|}}}
+
|data10=  
|label11= Publisher
|label11= Publisher
|data11= {{{publisher|}}}
|data11= {{{publisher|}}}
Line 63: Line 60:
|label15= Pages
|label15= Pages
|data15= {{{pages|}}}
|data15= {{{pages|}}}
-
|label17= [[International Standard Book Number|ISBN]]
+
 
-
|data17 = {{#if:{{{isbn|{{{ISBN|}}}}}} | {{#iferror: {{#expr:{{{isbn|{{{ISBN}}}}}}}}  
+
|label21= After
 +
|data21= {{#if:{{{preceded_by|}}}|''[[Published After::{{{preceded_by}}}]]''}}
 +
|label22= Before
 +
|data22= {{#if:{{{followed_by|}}}|''[[Published Before::{{{followed_by|}}}]]''}}
 +
 
 +
 
 +
|label23= PDF
 +
|data23= {{#if:{{{drivethru|}}}|[http://www.drivethrurpg.com/product/{{{drivethru|}}}/?affiliate_id=290913 DriveThru]{{#set:DT ProductID={{{drivethru|}}}}}|}}
 +
|label24= Hardback
 +
|data24= {{#if:{{{amazon|}}}|[http://www.amazon.com/gp/product/{{{amazon|}}}/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN={{{amazon|}}}&linkCode=as2&tag=nwodorg-20&linkId=SAA5CMAQI3CRPHIP Amazon]{{#set:Amazon ProductID={{{amazon|}}}}}|}}
 +
 
 +
 
 +
|label25= [[International Standard Book Number|ISBN]]
 +
|data25 = {{#if:{{{isbn|{{{ISBN|}}}}}} | {{#iferror: {{#expr:{{{isbn|{{{ISBN}}}}}}}}  
  | {{{isbn|{{{ISBN}}}}}} | [[Special:Booksources/{{{isbn|{{{ISBN}}}}}}|{{{isbn|{{{ISBN}}}}}}]] }} }}
  | {{{isbn|{{{ISBN}}}}}} | [[Special:Booksources/{{{isbn|{{{ISBN}}}}}}|{{{isbn|{{{ISBN}}}}}}]] }} }}
-
|label18= [[Online Computer Library Center|OCLC]] Number
+
 
-
|data18= {{#if:{{{oclc|}}}| [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}] }}
+
|below = {{{below|}}}
-
|label19= [[Dewey Decimal Classification|Dewey Decimal]]
+
}}<div style="float: right; margin-left: 15px; ">[[File:DTR2.png|x100px|link=http://www.drivethrurpg.com/product/{{#show: {{PAGENAME}} |?DT ProductID# }}/?affiliate_id=290913]]</div>[[Category:{{{genre|}}} Books]][[Category:Books]]</includeonly><noinclude>{{documentation}}</noinclude>
-
|data19= {{{dewey|}}}
+
-
|label20= [[Library of Congress Classification|LC Classification]]
+
-
|data20= {{{congress|}}}
+
-
|label21= Preceded by
+
-
|data21= {{#if:{{{preceded_by|}}}|''{{{preceded_by}}}''}}
+
-
|label22= Followed by
+
-
|data22= {{#if:{{{followed_by|}}}|''{{{followed_by|}}}''}}
+
-
}} }}<noinclude>{{documentation}}</noinclude>
+

Latest revision as of 19:47, 8 June 2016

[create] Template documentation
Personal tools
Namespaces
Variants
Actions
Navigation
games
Toolbox