Difference between revisions of "Template:Publications Sidebox"

From Small Press Directory
Line 42: Line 42:
 
| colspan="2"|{{#if:{{{Cover Image|}}}|[[File:{{{Cover Image|}}}|250px|center|middle]]}}
 
| colspan="2"|{{#if:{{{Cover Image|}}}|[[File:{{{Cover Image|}}}|250px|center|middle]]}}
  
|-
+
 
{{#if: {{{Creators|}}}| ! Creator(s)}}
+
{{#if: {{{Creators|}}}||- ! Creator(s)}}
 
|{{#if: {{{Creators|}}}|{{#cargo_query:tables=PublicationsTable|fields=creators|where=_pageName="{{PAGENAME}}"|group by=creators|default=|format=ul}}
 
|{{#if: {{{Creators|}}}|{{#cargo_query:tables=PublicationsTable|fields=creators|where=_pageName="{{PAGENAME}}"|group by=creators|default=|format=ul}}
 
}}
 
}}

Revision as of 16:24, 18 June 2019

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

{{Publications Sidebox
|coverimage=
|creators=
|groupaf=
|genres=
|year=
|number_of_pages=
|type=
}}

Edit the page to see the template text.

This template defines the table "PublicationsTable". View table.