Template:Infobox book: Difference between revisions
From Vigyanwiki
Template>@pple (→Usage: fix) |
Template>Malyctenar (infobox is for displaying the most important data, so there's no reason to make them tinier than the ordinary text. Simplifying image/caption bit, no need to spell out Original title wasn't in English) |
||
| Line 1: | Line 1: | ||
<table class="infobox" style="width: 20em | <table class="infobox" style="width: 20em; text-align: left"> | ||
<caption style="font-size: larger;">'''''{{{name}}}'''''</caption><!-- | <caption style="font-size: larger;">'''''{{{name}}}'''''</caption><!-- | ||
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;">{{{image | -->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;">{{{image}}} | ||
{{#if:{{{image_caption|}}} | |||
|< | |<br>{{{image_caption}}} }}</td></tr>}} | ||
<tr><th>Author</th><td>{{{author}}}</td></tr><!-- | <tr><th>Author</th><td>{{{author}}}</td></tr><!-- | ||
-->{{#if:{{{title_orig|}}}|<tr><th>Original title | -->{{#if:{{{title_orig|}}}|<tr><th>Original title</th><td>{{{title_orig}}}</td></tr>}}<!-- | ||
-->{{#if:{{{translator|}}}|<tr><th>Translator</th><td>{{{translator|}}}</td></tr>}}<!-- | -->{{#if:{{{translator|}}}|<tr><th>Translator</th><td>{{{translator|}}}</td></tr>}}<!-- | ||
-->{{#if:{{{illustrator|}}}|<tr><th>Illustrator</th><td>{{{illustrator|}}}</td></tr>}}<!-- | -->{{#if:{{{illustrator|}}}|<tr><th>Illustrator</th><td>{{{illustrator|}}}</td></tr>}}<!-- | ||
| Line 26: | Line 26: | ||
==Usage== | ==Usage== | ||
<pre style="width:20em"> | |||
{{Infobox Book | {{Infobox Book | ||
| name = | | name = | ||
| Line 52: | Line 52: | ||
}} | }} | ||
</pre> | </pre> | ||
{{esoteric}} | {{esoteric}} | ||
| Line 59: | Line 58: | ||
[[Category:publishing infobox templates|Book]] | [[Category:publishing infobox templates|Book]] | ||
[[Category:Book templates| | [[Category:Book templates|Infobox Book]] | ||
[[Category:WikiProject Books|!Infobox_Book]] | [[Category:WikiProject Books|!Infobox_Book]] | ||
[[Category:WikiProject Novels|!Infobox_Book]] | [[Category:WikiProject Novels|!Infobox_Book]] | ||
[[Category:WikiProject Fictional series|!Infobox_Book]] | [[Category:WikiProject Fictional series|!Infobox_Book]] | ||
[[Category:Templates using ParserFunctions| | [[Category:Templates using ParserFunctions|Infobox Book]] | ||
[[Category:Infobox templates|Book]] | [[Category:Infobox templates|Book]] | ||
Revision as of 21:11, 6 March 2007
| Author | {{{author}}} |
|---|---|
| Publisher | {{{publisher}}} |
| Released | {{{release_date}}} |
Usage
{{Infobox Book
| name =
| title_orig =
| translator =
| image =
| image_caption =
| author =
| illustrator =
| cover_artist =
| country =
| language =
| series =
| subject =
| genre =
| publisher =
| release_date =
| english_release_date =
| media_type =
| pages =
| isbn =
| preceded_by =
| followed_by =
}}
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Please do not make major changes to the infobox without proposing and discussing it on the talk page first.