198
edits
m (Text replacement - "'''" to "") |
(Improved formatting of usage example. Replaced the Halo literature used to demonstrate ISBNs with Destiny literature.) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="width:260px; background:{{{BG|#EFF0FF}}}; border:1px solid #B5B7CF; color:{{{color1|#000}}}" cellspacing="0" | {| class="infobox" style="width:260px; background:{{{BG|#EFF0FF}}}; border:1px solid #B5B7CF; color:{{{color1|#000}}}" cellspacing="0" | ||
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#000}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#000}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ||
|- | |||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF | {{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | ||
}} | }} | ||
|- | |||
{{#if:{{{author|}}}| | {{#if:{{{author|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{author-title|Author(s)}}}: | {{{author-title|Author(s)}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{author | {{{author}}} | ||
}} | |||
|- | |||
{{#if:{{{publisher|}}}| | {{#if:{{{publisher|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{publisher-title|Publisher}}}: | {{{publisher-title|Publisher}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{publisher | {{{publisher}}} | ||
}} | |||
|- | |||
{{#if:{{{publication|}}}| | {{#if:{{{publication|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{publication-title|Publication date}}}: | {{{publication-title|Publication date}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{publication | {{{publication}}} | ||
}} | |||
|- | |||
{{#if:{{{media|}}}| | {{#if:{{{media|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{media-title|Media type}}}: | {{{media-title|Media type}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{media | {{{media}}} | ||
}} | |||
|- | |||
{{#if:{{{length|}}}| | {{#if:{{{length|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{length-title|Pages}}}: | {{{length-title|Pages}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{length | {{{length}}} | ||
}} | |||
|- | |||
{{#if:{{{ISBN|}}}| | {{#if:{{{ISBN|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{ISBN-title|ISBN}}}: | {{{ISBN-title|ISBN}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{ISBN | {{{ISBN}}} | ||
}} | |||
|- | |||
| class="infoboxfooter" colspan="2" | | | class="infoboxfooter" colspan="2" | | ||
|}<noinclude>{{Clear}} | |}<noinclude>{{Clear}} | ||
Add the following code and change the values to add the book template to the an article: | Add the following code and change the values to add the book template to the an article: | ||
<pre> | <pre> | ||
{{Book infobox | {{Book infobox | ||
|image= | | image = | ||
|author= | | author = | ||
|publisher= | | publisher = | ||
|publication= | | publication = | ||
|media= | | media = | ||
|length= | | length = | ||
|ISBN= | | ISBN = | ||
}} | }} | ||
</pre> | </pre> | ||
:Note: for ISBN, please include <code><nowiki>[[Special:BookSources/ISBN-NUMBER-HERE|ISBN-NUMBER-HERE]]</nowiki></code>. So, for example, '' | :Note: for ISBN, please include <code><nowiki>[[Special:BookSources/ISBN-NUMBER-HERE|ISBN-NUMBER-HERE]]</nowiki></code>. So, for example, the [[Destiny Strategy Guide|''Destiny Strategy Guide''<nowiki/>'s]] is "978-0-7440-1562-1": it would thus become so, <code><nowiki>"[[Special:BookSources/978-0-7440-1562-1|978-0-7440-1562-1]]"</nowiki></code> which would create as such, "[[Special:BookSources/978-0-7440-1562-1|978-0-7440-1562-1]]". | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
edits