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={Published}:1|includematch=/{{!}}%PAGE%/|secseparators=&nbsp;<!--
-->|notcategory=Works with all editions withdrawn|include={Published}:1|includematch=/{{!}}%PAGE%/|secseparators=&nbsp;<!--
-->|linksto={{PAGENAME}}|columns={{{3|3}}}|rowcolformat=width=100%|noresultsheader=&nbsp;}}</includeonly><noinclude>
-->|linksto={{{3|{{PAGENAME}}}}}|columns={{{2|3}}}|rowcolformat=width=100%|noresultsheader=&nbsp;}}</includeonly><noinclude>
{{Doc|1=
{{Doc|1=


Line 9: Line 9:
# If there is any text (not blank or length=0) in this parameter, the composer's name will be suppressed in the output.
# If there is any text (not blank or length=0) in this parameter, the composer's name will be suppressed in the output.
# User can specify number of columns for output; default is 3.
# User can specify number of columns for output; default is 3.
# Specify a different publication page or section of one.


Examples of syntax:
Examples of syntax:

Revision as of 19:00, 1 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. If there is any text (not blank or length=0) in this parameter, the composer's name will be suppressed in the output.
  2. User can specify number of columns for output; default is 3.
  3. Specify a different publication page or section of one.

Examples of syntax:

  • {{PubList}} – produces a list of works with composer names in two columns.
  • {{PubList|s|4}} – produces a list of works without composer names in four columns.