Template:Reference book infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{{name|{{PAGENAME}}}}}" to "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}")
m (Text replacement - ""vertical-align: *top; " to """)
Line 8: Line 8:
{{!}}-
{{!}}-
{{#if:{{{author|}}}|
{{#if:{{{author|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{author-title|Author(s)}}}''':
'''{{{author-title|Author(s)}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{author|}}}
{{{author|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{cover artist|}}}|
{{#if:{{{cover artist|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{cover artist-title|Cover artist(s)}}}:'''
'''{{{cover artist-title|Cover artist(s)}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{cover artist|}}}
{{{cover artist|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{editor|}}}|
{{#if:{{{editor|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{editor-title|Editor(s)}}}:'''
'''{{{editor-title|Editor(s)}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{editor|}}}
{{{editor|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{illustrator|}}}|
{{#if:{{{illustrator|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{illustrator-title|Illustrator(s)}}}''':
'''{{{illustrator-title|Illustrator(s)}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{illustrator|}}}
{{{illustrator|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{publisher|}}}|
{{#if:{{{publisher|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{publisher-title|Publisher}}}''':
'''{{{publisher-title|Publisher}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{publisher|}}}
{{{publisher|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{publication|}}}|
{{#if:{{{publication|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{publication-title|Publication date}}}''':
'''{{{publication-title|Publication date}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{publication|}}}
{{{publication|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{media|}}}|
{{#if:{{{media|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{media-title|Media type}}}''':
'''{{{media-title|Media type}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{media|}}}
{{{media|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{length|}}}|
{{#if:{{{length|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{length-title|Pages}}}:'''
'''{{{length-title|Pages}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{length|}}}
{{{length|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{dimensions|}}}|
{{#if:{{{dimensions|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{dimensions-title|Dimensions}}}:'''
'''{{{dimensions-title|Dimensions}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{dimensions|}}}
{{{dimensions|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{weight|}}}|
{{#if:{{{weight|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{weight-title|Weight}}}:'''
'''{{{weight-title|Weight}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{weight|}}}
{{{weight|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{ISBN|}}}|
{{#if:{{{ISBN|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{ISBN-title|ISBN}}}:'''
'''{{{ISBN-title|ISBN}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{ISBN|}}}
{{{ISBN|}}}
{{!}}-}}
{{!}}-}}

Revision as of 22:06, September 14, 2022

Reference book infobox
 

Add the following code and change the values to add the book template to the an article:

{{Reference book
|image=
|author=
|cover artist=
|editor=
|illustrator=
|publisher=
|publication=
|media=
|length=
|dimensions=
|weight=
|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".