Template:TextPageList: Difference between revisions
Jump to navigation
Jump to search
Documentation
m (update) |
(updated to work with the new LinkText system) |
||
Line 1: | Line 1: | ||
<includeonly>{{#dpl:category={{{1|{{PAGENAME}}}}} | <includeonly>{{#dpl:category=Works that link to text pages | ||
|linksto={{{1|{{PAGENAME}}}}} text page | |||
|order=ascending | |order=ascending | ||
|format=,\n*[[%PAGE%| | |format=,\n*[[%PAGE%|{{CompFromWorkTitle{{!}}%PAGE%}}]] — %TITLE%, | ||
|replaceintitle=/\([^\)]+\)$/, | |replaceintitle=/\([^\)]+\)$/, | ||
|ordermethod=sortkey | |ordermethod=sortkey | ||
|allowcachedresults=false | |allowcachedresults=false | ||
Line 11: | Line 11: | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{DisplayBox|title=Documentation|text= | {{DisplayBox|title=Documentation|text= | ||
Displays a list of settings that share a common text. Only those | Displays a list of settings that share a common text. Only those works pages to which the template {{tl|LinkText|«textpage»}} has been applied will be listed. | ||
;Syntax: {{tl|TextPageList}} | ;Syntax: {{tl|TextPageList}} | ||
;Syntax with optional parameters: {{tl|TextPageList|«textpage»|cols{{=}}«columns»}} | ;Syntax with optional parameters: {{tl|TextPageList|«textpage»|cols{{=}}«columns»}} | ||
*«textpage» is used when the template is | *«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 {{para|cols|1}}. | *«columns» is an integer value. The default is {{para|cols|1}}. | ||
}} | }} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 15:46, 13 February 2015
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
.