Template

Difference between revisions of "ReferenceBook"

From CNAC

m
m
Line 49: Line 49:
 
<div class="large-8 large-pull-4 columns">
 
<div class="large-8 large-pull-4 columns">
 
{{#if:{{{Summary|}}}|[[Book Summary::{{{Summary|}}}]]}}
 
{{#if:{{{Summary|}}}|[[Book Summary::{{{Summary|}}}]]}}
 
+
{{#if:{{{Excerpt|}}}|<h3>Excerpt(s)</h3>[[Book Excerpt::{{{Excerpt|}}}]] }}
{{#if:{{{Excerpt|}}}|<h3>Excerpt(s)</h3>
+
{{#if:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Has Image::+]]|?Has Image=|mainlabel=-|limit=1|link=none|searchlabel=}}|{{ShowOtherImages}}|}}
[[Book Excerpt::{{{Excerpt|}}}]] }}
 
 
</div>
 
</div>
 
</div>
 
</div>
{{{Other Images|}}}{{#if:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Has Image::+]]|?Has Image=|mainlabel=-|limit=1|link=none|searchlabel=}}|{{ShowOtherImages}}|}}
+
{{{Other Images|}}}
 
{{#set:Book Title={{PAGENAME}}}}{{#if:{{{Keywords|}}}|{{keywords|1={{{Keywords}}}}}|}}
 
{{#set:Book Title={{PAGENAME}}}}{{#if:{{{Keywords|}}}|{{keywords|1={{{Keywords}}}}}|}}
 
__NOTOC__
 
__NOTOC__
 
[[Category:Books]]
 
[[Category:Books]]
 
</includeonly>
 
</includeonly>

Revision as of 21:28, 1 March 2020

This is the "ReferenceBook" template. It should be called in the following format:

{{ReferenceBook
|Subtitle=
|Author(s) Name=
|Book Cover Image=
|Publisher=
|Publish Date=
|ISBN-10=
|ISBN-13=
|Edition=
|Binding=
|Links=
|Other Images=
|Summary=
|Excerpt=
|Keywords=
}}

Edit the page to see the template text.