Difference between revisions of "Template:TextAutoList"

From ChoralWiki
Jump to navigation Jump to search
m (DPL3 form of code)
(eliminating blank line when there is no output)
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
|rowcolformat=width=100%
 
|rowcolformat=width=100%
 
|allowcachedresults=true
 
|allowcachedresults=true
|noresultsheader= 
+
|noresultsheader=
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{DisplayBox|title=Documentation|text=
 
{{DisplayBox|title=Documentation|text=

Latest revision as of 02:54, 20 March 2022


Documentation

Displays a partial list of settings that share a common text. Differently from template {{TextPageList}} that lists all settings, this template excludes from the list those settings that have already been added by hand to the page. A line of the kind {{LinkText|text page}} is required on each works page for it to be included in the listings.

Text pages with partial lists actively generated by TextAutoList will be included in the category Text pages with automated partial lists. If all works have already been included by hand to the text page, nothing is displayed by TextAutoList.

Syntax
{{TextAutoList}}
Syntax with optional parameters
{{TextAutoList|«textpage»|cols=«columns»}}
  • «textpage» is used when the template is added to a page other than the text page itself
  • «columns» is an integer value. The default is |cols=1.