Examples/Parameter: multisecseparators (example 1): Difference between revisions

Content added Content deleted
imported>FrozenPlum
mNo edit summary
imported>FrozenPlum
m (Swap to parser function syntax)
Line 9: Line 9:


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


==Result==
==Result==


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


<noinclude>
<noinclude>