Template

Difference between revisions of "ReferenceBook"

From CNAC

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

Revision as of 21:25, 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.