Template:Book infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "px;"" to "px"") |
m (Text replacement - "}}};"" to "}}}"") |
||
Line 1: | Line 1: | ||
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; background:{{{BG|#EFF0FF}}}; border:1px solid #B5B7CF; color:{{{color1|#000}}} | {| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; background:{{{BG|#EFF0FF}}}; border:1px solid #B5B7CF; color:{{{color1|#000}}}" | ||
{{!}}- | {{!}}- | ||
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#000}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ! style="background:{{{nameBG|transparent}}}; color:{{{color2|#000}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! style="background:{{{imageBG|#F0F8FF}}}; text-align:center; padding:4px; border-bottom:1px solid {{{lineBG|#999999}}} | ! style="background:{{{imageBG|#F0F8FF}}}; text-align:center; padding:4px; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{author|}}}| | {{#if:{{{author|}}}| | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
'''{{{author-title|Author(s)}}}''': | '''{{{author-title|Author(s)}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{author|}}} | {{{author|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{publisher|}}}| | {{#if:{{{publisher|}}}| | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
'''{{{publisher-title|Publisher}}}''': | '''{{{publisher-title|Publisher}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{publisher|}}} | {{{publisher|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{publication|}}}| | {{#if:{{{publication|}}}| | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
'''{{{publication-title|Publication date}}}''': | '''{{{publication-title|Publication date}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{publication|}}} | {{{publication|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{media|}}}| | {{#if:{{{media|}}}| | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
'''{{{media-title|Media type}}}''': | '''{{{media-title|Media type}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{media|}}} | {{{media|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{length|}}}| | {{#if:{{{length|}}}| | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
'''{{{length-title|Pages}}}:''' | '''{{{length-title|Pages}}}:''' | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{length|}}} | {{{length|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{ISBN|}}}| | {{#if:{{{ISBN|}}}| | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
'''{{{ISBN-title|ISBN}}}:''' | '''{{{ISBN-title|ISBN}}}:''' | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{ISBN|}}} | {{{ISBN|}}} | ||
{{!}}-}} | {{!}}-}} |
Revision as of 23:18, September 14, 2022
Book infobox | |
---|---|
Add the following code and change the values to add the book template to the an article:
{{Book infobox |image= |author= |publisher= |publication= |media= |length= |ISBN= }}
- Note: for ISBN, please include
[[Special:BookSources/ISBN-NUMBER-HERE|ISBN-NUMBER-HERE]]
. So, for example, Cryptum's is "0765323966": it would thus become so,"[[Special:BookSources/0765323966|0765323966]]"
which would create as such, "0765323966".