Examples/Parameter: linksto (example 1): Difference between revisions
< Examples
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
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%
}}