Difference between revisions of "Template:Publications Sidebox"

From Small Press Directory
Line 44: Line 44:
 
|-
 
|-
 
{{#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 72: Line 72:
 
|}
 
|}
  
{{#if: {{Special:PrefixIndex/{{FULLPAGENAME}}/}}|
+
{{#if: {{Special:PrefixIndex/{{FULLPAGENAME}}/}}
<div id="toc" class="toc">
+
|<div id="toc" class="toc">Issues:{{Special:PrefixIndex/{{FULLPAGENAME}}/ |stripprefix=1}}</div>
Issues:
 
{{Special:PrefixIndex/{{FULLPAGENAME}}/ |stripprefix=1}}
 
</div>
 
 
}}
 
}}
  

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