Template:PubList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#dpl:category=Sheet music|mode=userformat|namespace=|order=ascending|ordermethod=sortkey|format=,\n*[[%PAGE%|%TITLE%]]<!--
<includeonly>{{#dpl:category=Sheet music|mode=userformat|namespace=|order=ascending|ordermethod=sortkey|format=,\n*[[%PAGE%|%TITLE%]]<!--
-->|notcategory=Works with all editions withdrawn|include=#Editions,{Published}:1|includematch=,/\{{!}}\s*{{{2|}}}/s,|secseparators=&nbsp;<!--
-->|notcategory=Works with all editions withdrawn|include=#Editions,{Published}:1|includematch=,/\{{!}}\s*{{{2|}}}/s,|secseparators=&nbsp;<!--
-->|linksto={{PAGENAME}}|columns={{{1|3}}}|rowcolformat=width=100%<!--
-->|linksto={{PAGENAME}}|columns={{{1|3}}}|rowcolformat=width=100%|noresultsheader=&nbsp;}}</includeonly><noinclude>
-->|noresultsheader=&nbsp;}}</includeonly><noinclude>
{{Doc|1=
{{Doc|1=



Revision as of 04:18, 2 January 2019


Documentation

This template is for use on a Music publications page; it shows all the works that have links to the publication within the {{Published}} template.

The template has two parameters, both optional.

  1. User can specify number of columns for output; default is 3.
  2. Specify a different edition or volume of the publication, by listing the year the new publication was issued.

Examples of syntax:

  • {{PubList}} – produces a list of works that link to the publication page, in three columns.
  • {{PubList|4|1803}} – produces a list of works that link to the publication page and were published in the 1803 edition, in four columns.