Difference between revisions of "Template:Publications Sidebox"

From Small Press Directory
Line 43: Line 43:
  
 
|-
 
|-
{{#if: {{{Creators|}}}|! Creator(s)
+
{{#if: {{{Creators|}}}| ! Creator(s)
 
| {{#cargo_query:tables=PublicationsTable|fields=creators|where=_pageName="{{PAGENAME}}"|group by=creators|default=|format=ul}}
 
| {{#cargo_query:tables=PublicationsTable|fields=creators|where=_pageName="{{PAGENAME}}"|group by=creators|default=|format=ul}}
 
}}
 
}}
Line 49: Line 49:
  
 
|-
 
|-
{{#if: {{{Group Affiliations|}}}|! Group Affiliations
+
{{#if: {{{Group Affiliations|}}}| ! Group Affiliations
 
| {{#arraymap:{{{Group Affiliations|}}}|,|x|{{#formredlink:form=Group Page|target=x}} }}
 
| {{#arraymap:{{{Group Affiliations|}}}|,|x|{{#formredlink:form=Group Page|target=x}} }}
 
}}
 
}}
Line 62: Line 62:
  
 
|-
 
|-
{{#if: {{{Creators|}}}| ! Number of pages
+
{{#if:{{{Number of pages|}}}| ! Number of pages
 
| {{{Number of pages|}}}
 
| {{{Number of pages|}}}
 
}}
 
}}

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