Template:TextPageList: Difference between revisions
Jump to navigation
Jump to search
Documentation
(it makes more sense to have a link on the works title instead of the composer) |
(separation in two lists, one for works with no valid editions - per Claude's request) |
||
Line 1: | Line 1: | ||
<includeonly>{{#dpl:category=Works that link to text pages | <includeonly>{{#dpl:category=Works that link to text pages | ||
|notcategory=Works with all editions withdrawn | |||
|notcategory=Works with no edition | |||
|notcategory=Works with no valid edition | |||
|linksto={{{1|{{PAGENAME}}}}} text page | |linksto={{{1|{{PAGENAME}}}}} text page | ||
|order=ascending | |order=ascending | ||
Line 9: | Line 12: | ||
|columns={{{cols|{{{2|1}}}}}} | |columns={{{cols|{{{2|1}}}}}} | ||
|rowcolformat=width=100% | |rowcolformat=width=100% | ||
}}{{#dpl:category=Works that link to text pages | |||
|category=Works with all editions withdrawn{{!}}Works with no edition{{!}}Works with no valid edition | |||
|linksto={{{1|{{PAGENAME}}}}} text page | |||
|order=ascending | |||
|format=,\n*{{CompFromWorkTitle{{!}}%PAGE%}} — [[%PAGE%|<span style="color:gray;">%TITLE%<span>]], | |||
|replaceintitle=/\([^\)]+\)$/, | |||
|ordermethod=sortkey | |||
|allowcachedresults=false | |||
|suppresserrors=true | |||
|columns={{{cols|{{{2|1}}}}}} | |||
|rowcolformat=width=100% | |||
|resultsheader= \n====Works that currently have no editions available==== | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{DisplayBox|title=Documentation|text= | {{DisplayBox|title=Documentation|text= |
Revision as of 18:54, 10 May 2018
Displays a list of settings that share a common text. Only those works pages to which the template {{LinkText|«textpage»}} has been applied will be listed.
- Syntax
- {{TextPageList}}
- Syntax with optional parameters
- {{TextPageList|«textpage»|cols=«columns»}}
- «textpage» is used when the template is used inside a page other than the text page itself
- «columns» is an integer value. The default is
|cols=1
.