Examples/Parameter: multisecseparators (example 2)

From DynamicPageList3 Manual
Revision as of 07:15, 11 April 2022 by imported>FrozenPlum
Please do not edit this page unless you're wanting to edit the manual itself, it is an example included in the manual.

Example

This example contains all the same elements as the prior example, only it will add the formatting of a new line an asterisk, resulting in a bullet inserted before the page link.

{{#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	    = ¶¦¶* [[%PAGE%]],,¶¦class="dpl-orange-background"¦,
|multisecseparators = ,¶¦-¶¦¶¦class="dpl-blue-background"¦
}}

Result

{{#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 = ¶¦¶* %PAGE%,,¶¦class="dpl-orange-background"¦, |multisecseparators = ,¶¦-¶¦¶¦class="dpl-blue-background"¦ }}