Template:PubList: Difference between revisions
Jump to navigation
Jump to search
Documentation
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*{{{3|}}}/s|secseparators= <!-- | -->|notcategory=Works with all editions withdrawn|include=#Editions,{Published}:1|includematch=,/\{{!}}\s*{{{3|}}}/s|secseparators= <!-- | ||
-->|linksto={{PAGENAME}}|columns={{{ | -->|linksto={{PAGENAME}}|columns={{{1|3}}}|rowcolformat=width=100%|noresultsheader= }}</includeonly><noinclude> | ||
{{Doc|1= | {{Doc|1= | ||
Line 8: | Line 7: | ||
The template has two parameters, both optional. | The template has two parameters, both optional. | ||
# User can specify number of columns for output; default is 3. | # User can specify number of columns for output; default is 3. | ||
# Specify a | # Specify a second edition or volume, by entering the year of its publication. | ||
Examples of syntax: | Examples of syntax: | ||
*<tt><nowiki>{{PubList}}</nowiki></tt> – produces a list of works | *<tt><nowiki>{{PubList}}</nowiki></tt> – produces a list of all works that are linked to the publication page, in three columns. | ||
*<tt><nowiki>{{PubList| | *<tt><nowiki>{{PubList|2|1794}}</nowiki></tt> – produces a list of works in the 1794 edition, in two columns. | ||
}} | }} |
Revision as of 00:14, 2 January 2019
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.
- User can specify number of columns for output; default is 3.
- Specify a second edition or volume, by entering the year of its publication.
Examples of syntax:
- {{PubList}} – produces a list of all works that are linked to the publication page, in three columns.
- {{PubList|2|1794}} – produces a list of works in the 1794 edition, in two columns.