Template:Book infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "! class="infoboxheading" colspan="2" style="background:([^\n;"]+)" (\||{{!}}) {{#if:{{{name\|}}}\|{{{name}}}\|{{PAGENAME}}}}↵\|-" to "{{Infobox|title|name={{{name|}}}}}")
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{Infobox|title|name={{{name|}}}}}
{{Infobox|title|name={{{name|}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{#if:{{{author|}}}|
 
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{author-title|Author(s)}}}|content={{{author|}}}}}
{{{author-title|Author(s)}}}:
{{Infobox|entry|title={{{publisher-title|Publisher}}}|content={{{publisher|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{publication-title|Publication date}}}|content={{{publication|}}}}}
{{{author}}}
{{Infobox|entry|title={{{media-title|Media type}}}|content={{{media|}}}}}
}}
{{Infobox|entry|title={{{length-title|Pages}}}|content={{{length|}}}}}
|-
{{Infobox|entry|title={{{ISBN-title|ISBN}}}|content={{{ISBN|}}}}}
{{#if:{{{publisher|}}}|
 
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|end}}<noinclude>{{clear}}
{{{publisher-title|Publisher}}}:
==Usage instructions==
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{publisher}}}
}}
|-
{{#if:{{{publication|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{publication-title|Publication date}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{publication}}}
}}
|-
{{#if:{{{media|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{media-title|Media type}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{media}}}
}}
|-
{{#if:{{{length|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{length-title|Pages}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{length}}}
}}
|-
{{#if:{{{ISBN|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{ISBN-title|ISBN}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{ISBN}}}
}}
|-
| class="infoboxfooter" colspan="2" | &nbsp;
|}<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       =  
|name=
| author     =  
|image=
| publisher   =  
|author=
| publication =  
|publisher=
| media       =  
|publication=
| length     =  
|media=
| ISBN       =  
|length=
|ISBN=
}}
}}
</pre>
</pre>

Latest revision as of 10:59, June 14, 2024

Book infobox
 

Usage instructions

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

{{Book infobox
|name=
|image=
|author=
|publisher=
|publication=
|media=
|length=
|ISBN=
}}
Note: for ISBN, please include [[Special:BookSources/ISBN-NUMBER-HERE|ISBN-NUMBER-HERE]]. So, for example, the Destiny Strategy Guide's is "978-0-7440-1562-1": it would thus become so, "[[Special:BookSources/978-0-7440-1562-1|978-0-7440-1562-1]]" which would create as such, "978-0-7440-1562-1".