Template

Difference between revisions of "ReferenceBook"

From CNAC

m
m
Line 22: Line 22:
 
<div class="row">
 
<div class="row">
 
<div class="large-4 large-push-8 columns">
 
<div class="large-4 large-push-8 columns">
{| style="width: auto; font-size: 90%; background-color: #f9f9f9; color: black; margin:0 auto 1.5rem; text-align:center;"
+
{| style="width: auto; font-size: 90%; background-color: #f9f9f9; color: black; margin:0 auto 1.5rem; text-align:center;min-width:250px;"
 
| style="text-align: center; background-color:#ccccff; font-size: 1.2rem;"|{{#arraymaptemplate:{{{Author(s) Name|}}}|Arraymap Author|,|<br>}}
 
| style="text-align: center; background-color:#ccccff; font-size: 1.2rem;"|{{#arraymaptemplate:{{{Author(s) Name|}}}|Arraymap Author|,|<br>}}
 
|-
 
|-
 
{{#if:{{{Book Cover Image|}}}| {{!}} style="text-align:center;"{{!}}{{#set:Book Cover Image=File:{{{Book Cover Image|}}} }}[[Image:{{{Book Cover Image|}}}|link=]]
 
{{#if:{{{Book Cover Image|}}}| {{!}} style="text-align:center;"{{!}}{{#set:Book Cover Image=File:{{{Book Cover Image|}}} }}[[Image:{{{Book Cover Image|}}}|link=]]
 
{{!}}-}}
 
{{!}}-}}
| '''Publisher:''' [[Book Publisher::{{{Publisher|}}}]]
+
{{#if:{{{Publisher|}}}| {{!}} '''Publisher:''' [[Book Publisher::{{{Publisher|}}}]]
|-
+
{{!}}-}}
| '''Publish Date:''' [[Book Publish Date::{{{Publish Date|}}}]]
+
{{#if:{{{Publish Date|}}}| {{!}} '''Publish Date:''' [[Book Publish Date::{{{Publish Date|}}}]]
|-
+
{{!}}-}}
| '''ISBN-10:''' [[Book ISBN-10::{{{ISBN-10|}}}]]
+
{{#if:{{{ISBN-10|}}}| {{!}} '''ISBN-10:''' [[Book ISBN-10::{{{ISBN-10|}}}]]
|-
+
{{!}}-}}
| '''ISBN-13:''' [[Book ISBN-13::{{{ISBN-13|}}}]]
+
{{#if:{{{ISBN-13|}}}| {{!}} '''ISBN-13:''' [[Book ISBN-13::{{{ISBN-13|}}}]]
|-
+
{{!}}-}}
| '''Edition:''' [[Book Edition::{{{Edition|}}}]]
+
{{#if:{{{Edition|}}}| {{!}} '''Edition:''' [[Book Edition::{{{Edition|}}}]]
|-
+
{{!}}-}}
| '''Binding:''' [[Book Binding::{{{Binding|}}}]]
+
{{#if#{{{Binding|}}}| {{!}} '''Binding:''' [[Book Binding::{{{Binding|}}}]]
|-
+
{{!}}-}}
 
|}
 
|}
 
</div>
 
</div>
 
<div class="large-8 large-pull-4 columns">
 
<div class="large-8 large-pull-4 columns">
== Summary ==
+
{{#if:{{{Summary|}}}|[[Book Summary::{{{Summary|}}}]]}}
[[Book Summary::{{{Summary|}}}]]
 
  
== Excerpt ==
+
{{#if:{{{Excerpt|}}}|=== Excerpt ===
[[Book Excerpt::{{{Excerpt|}}}]]
+
[[Book Excerpt::{{{Excerpt|}}}]] }}
  
== Images ==
+
{{#if:{{{Other Images|}}}|== Images ==
[[Book Additional Images::{{{Other Images|}}}]]
+
[[Book Additional Images::{{{Other Images|}}}]] }}
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 08:58, 28 February 2020

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

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

Edit the page to see the template text.