Difference between revisions of "ReferenceBook"
From CNAC
TomHutchison (talk | contribs) m |
TomHutchison (talk | contribs) m |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 42: | Line 42: | ||
{{#if:{{{Binding|}}}| {{!}} '''Binding:''' {{#arraymap:{{{Binding|}}}|,|x|[[Book Binding::x]]}} | {{#if:{{{Binding|}}}| {{!}} '''Binding:''' {{#arraymap:{{{Binding|}}}|,|x|[[Book Binding::x]]}} | ||
{{!}}-}} | {{!}}-}} | ||
| − | | {{#arraymap:{{#show:{{FULLPAGENAME}}|?Page keywords}}|,|@@@@| | + | | '''Keywords:''' {{#arraymap:{{#show:{{FULLPAGENAME}}|?Page keywords}}|,|@@@@|{{#queryformlink:form=Keyword Search|link text=@@@@|link type=|query string=KeywordQuery[keywords]=@@@@&_run}} }} |
|- | |- | ||
| {{{Links|}}}{{ShowLinks}} | | {{{Links|}}}{{ShowLinks}} | ||
| Line 48: | Line 48: | ||
</div> | </div> | ||
<div class="large-8 large-pull-4 columns"> | <div class="large-8 large-pull-4 columns"> | ||
| − | {{#if:{{{Summary|}}}| | + | {{#if:{{{Summary|}}}|{{#set:Book Summary={{{Summary|}}} }}{{{Summary|}}} }} |
| − | + | {{#if:{{{Excerpt|}}}|<hr>{{#set:Book Excerpt={{{Excerpt|}}}}}{{{Excerpt|}}} }} | |
| − | {{#if:{{{Excerpt|}}}| | + | {{#if:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Has Image::+]]|?Has Image=|mainlabel=-|limit=1|link=none|searchlabel=}}|{{ShowOtherImages}}|}} |
| − | |||
| − | |||
| − | {{#if:{{{ | ||
| − | |||
</div> | </div> | ||
</div> | </div> | ||
| − | {{#set:Book Title={{PAGENAME}}}}{{#if:{{{Keywords|}}}|{{keywords|1={{{Keywords}}}}}|}} | + | {{{Other Images|}}} |
| + | {{#set:Book Title={{PAGENAME}}}}{{#set:Book Author Last Name Sort={{{Author Lastname Sort|}}}}}{{#if:{{{Keywords|}}}|{{keywords|1={{{Keywords}}}}}|}} | ||
| + | __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.
