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

From DynamicPageList3 Manual
Content deleted Content added
miraheze:dpl3>Soukupmi
links only to pages that start with "Tw" as there would have to be a leading "%" otherwise; if we use "%Tw%" instead of "Tw%" page ThirtyOne would show in the list as well (as it links to ThirtyTwo)
imported>FrozenPlum
m spacing
Line 14: Line 14:
}}
}}
</pre>
</pre>



==Result==
==Result==

Revision as of 01:27, 23 April 2022

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 will select pages in Category:Number examples that link to other pages starting with "Tw" in the name (e.g., pages that link to page Two, but not to ThirtyTwo) that are in the Main namespace (by default). To make the comparison case-insensitive, the parameter ignorecase can be used.

{{#dpl:
|category = Number examples
|linksto  = Tw%
}}

Result

Parser function method
{{#dpl: |category = Number examples |linksto = Tw% }}