Difference between revisions of "Template:Infobox book"
Dinoguy1000 (talk | contribs) (update {{italic title}}-related code, image width stuff, names, and maybe other things; don't output child navboxes if they'll be empty) |
Dinoguy1000 (talk | contribs) (up max image width to 257px) |
||
Line 14: | Line 14: | ||
}}{{Infobox | }}{{Infobox | ||
| above = {{ #if: {{{name|}}} | {{{name}}} | {{ #var: $pagename }} }} | | above = {{ #if: {{{name|}}} | {{{name}}} | {{ #var: $pagename }} }} | ||
− | | image = {{ #if: {{{image<includeonly>|</includeonly>}}} | [[File:{{PAGENAME:{{{image}}}}}|{{ #vardefine: $width | {{ #ifexpr: {{ #imgw: {{{image}}} }} < | + | | image = {{ #if: {{{image<includeonly>|</includeonly>}}} | [[File:{{PAGENAME:{{{image}}}}}|{{ #vardefine: $width | {{ #ifexpr: {{ #imgw: {{{image}}} }} < 257 | {{ #imgw: {{{image}}} }} | 257 }} }}{{ #iferror: {{ #ifexpr: {{{width}}} < 257 | {{ #ifexpr: {{{width}}} < {{ #var: $width }} | {{{width}}} | {{ #var: $width }} }} | {{ #var: $width }} }} | {{ #var: $width }} }}px|{{ #if: {{{caption<includeonly>|</includeonly>}}} | {{{caption}}} | {{ #if: {{{name|}}} | {{{name}}} | {{ #var: $pagename }} }} }}]] }} |
| abovestyle = {{ #if: {{ #var: $italicize_title }}{{ #pos: {{{name}}} | '' }} || font-style: italic; }} | | abovestyle = {{ #if: {{ #var: $italicize_title }}{{ #pos: {{{name}}} | '' }} || font-style: italic; }} |
Revision as of 21:16, 7 July 2018
Infobox book | |
---|---|
[[File:|0px|{{{caption}}}]] | |
Names | |
English | {{{en_name}}} |
French | {{{fr_name}}} |
German | {{{de_name}}} |
Italian | {{{it_name}}} |
Portuguese | {{{pt_name}}} |
Spanish | {{{es_name}}} |
Japanese | |
Kanji | {{{ja_name}}} |
Furigana | {{{ja_name}}} |
Rōmaji | {{{romaji_name}}} |
Translated | {{{ja_trans_name}}} |
Korean | |
Korean | {{{ko_name}}} |
Base text | {{{ko_name}}} |
Hangul | {{{ko_name}}} |
Hanja | {{{hanja_name}}} |
Revised Romanization | {{{ko_rr_name}}} |
Translated | {{{ko_trans_name}}} |
Book information | |
Language | {{{language}}} |
Author | {{{author}}} |
Illustrator | {{{illustrator}}} |
Publisher | {{{publisher}}} |
Release date | {{{release_date}}} |
ISBN |
|
ISBN-13 |
|
Length | {{{length}}} |
Price | {{{price}}} |
Part of series | [[{{{series}}}|{{{series}}}]] |
[[{{{prev}}}|← {{{prev}}}]] Infobox book [[{{{next}}}|{{{next}}} →]] |