Template

Difference between revisions of "ReferenceBook"

From CNAC

m
m
 
(3 intermediate revisions by the same user not shown)
Line 48: Line 48:
 
</div>
 
</div>
 
<div class="large-8 large-pull-4 columns">
 
<div class="large-8 large-pull-4 columns">
{{#if:{{{Summary|}}}|{{#set:Book Summary={{{Summary|}}}}}{{Summary|}}} }}
+
{{#if:{{{Summary|}}}|{{#set:Book Summary={{{Summary|}}} }}{{{Summary|}}} }}
{{#if:{{{Excerpt|}}}|<h3>Excerpt(s)</h3>[[Book Excerpt::{{{Excerpt|}}}]] }}
+
{{#if:{{{Excerpt|}}}|<hr>{{#set:Book Excerpt={{{Excerpt|}}}}}{{{Excerpt|}}} }}
 
{{#if:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Has Image::+]]|?Has Image=|mainlabel=-|limit=1|link=none|searchlabel=}}|{{ShowOtherImages}}|}}
 
{{#if:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Has Image::+]]|?Has Image=|mainlabel=-|limit=1|link=none|searchlabel=}}|{{ShowOtherImages}}|}}
 
</div>
 
</div>
 
</div>
 
</div>
 
{{{Other Images|}}}
 
{{{Other Images|}}}
{{#set:Book Title={{PAGENAME}}}}{{#if:{{{Keywords|}}}|{{keywords|1={{{Keywords}}}}}|}}
+
{{#set:Book Title={{PAGENAME}}}}{{#set:Book Author Last Name Sort={{{Author Lastname Sort|}}}}}{{#if:{{{Keywords|}}}|{{keywords|1={{{Keywords}}}}}|}}
 
__NOTOC__
 
__NOTOC__
 
[[Category:Books]]
 
[[Category:Books]]
 
</includeonly>
 
</includeonly>

Latest revision as of 20:32, 20 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.