Jump to content

Examples/Parameter: multisecseparators (example 2)

From DynamicPageList4 Manual
Please do not edit this page unless you're wanting to edit the manual itself, it is an example included in the manual.

Example

[edit source]

This example is the same as the prior one, only it adds new line formatting and an asterisk resulting in a bullet inserted before each page link.

Code
{{#dpl:
|category           = Primary Module
|nottitlematch      = %volume%¦%page selection%
|uses               = Template:DPL Parameter
|include            = {DPL manual}:[[%PAGE%]],{dpl parameter}:name:purpose[50]
|mode               = userformat
|listseparators     = ¶{¦class="wikitable sortable" ¶!colspan=3¦Fields cannot be formatted within the include¶¦-¶!Page ¶!Name ¶!Purpose,¶¦-,¶¦-¶¦class="dpl-dark-background" colspan=3¦¶¦-,¶¦}
|secseparators      = ¶¦¶* ,,¶¦class="dpl-orange-background"¦,
|multisecseparators = ,¶¦-¶¦¶¦class="dpl-blue-background"¦
}}
Result


Fields cannot be formatted within the include
Page Name Purpose
debug Sets debugging level.
allowcachedresults Cache query results to improve performance, keep
cacheperiod Defines the expiration period for the DPL4 cache.
goal Set the goal for DPL4 to either show pages
eliminate Suppress references to pages, templates, images,
reset Suppress references to pages, templates, images,
fixcategory Assign the article containing a DPL4 statement to
execandexit Process the command given as an argument and then
ordermethod Sets the criteria used to order the list by;
order Controls the sort direction of the list;
ordercollation Defines the collating sequence for ordering.
tablesortmethod Improves DPL's sorting behavior for table columns
Cookies help us deliver our services. By using our services, you agree to our use of cookies.