Template:TextPageList: Difference between revisions
Jump to navigation
Jump to search
Documentation
(separation in two lists, one for works with no valid editions - per Claude's request) |
m (DPL3 form of code) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|order=ascending | |order=ascending | ||
|format=,\n*{{CompFromWorkTitle{{!}}%PAGE%}} — [[%PAGE%|%TITLE%]], | |format=,\n*{{CompFromWorkTitle{{!}}%PAGE%}} — [[%PAGE%|%TITLE%]], | ||
|replaceintitle=/\([^\)]+\)$/ | |replaceintitle=/\([^\)]+\)$/; | ||
|ordermethod=sortkey | |ordermethod=sortkey | ||
|allowcachedresults=false | |allowcachedresults=false | ||
| | |noresultsheader= | ||
|columns={{{cols|{{{2|1}}}}}} | |columns={{{cols|{{{2|1}}}}}} | ||
|rowcolformat=width=100% | |rowcolformat=width=100% | ||
Line 17: | Line 17: | ||
|order=ascending | |order=ascending | ||
|format=,\n*{{CompFromWorkTitle{{!}}%PAGE%}} — [[%PAGE%|<span style="color:gray;">%TITLE%<span>]], | |format=,\n*{{CompFromWorkTitle{{!}}%PAGE%}} — [[%PAGE%|<span style="color:gray;">%TITLE%<span>]], | ||
|replaceintitle=/\([^\)]+\)$/ | |replaceintitle=/\([^\)]+\)$/; | ||
|ordermethod=sortkey | |ordermethod=sortkey | ||
|allowcachedresults=false | |allowcachedresults=false | ||
| | |noresultsheader= | ||
|columns={{{cols|{{{2|1}}}}}} | |columns={{{cols|{{{2|1}}}}}} | ||
|rowcolformat=width=100% | |rowcolformat=width=100% | ||
Line 33: | Line 33: | ||
*«columns» is an integer value. The default is {{para|cols|1}}. | *«columns» is an integer value. The default is {{para|cols|1}}. | ||
}} | }} | ||
[[Category:DPL templates]] | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 03:42, 6 January 2020
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
.