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

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
(parceling out examples to their own pages, with working sandbox link that preloads them to user sandbox page)
 
imported>FrozenPlum
m (eliminate extra br)
Line 33: Line 33:
</td></tr>
</td></tr>
</table>
</table>

<noinclude>
<noinclude>
[[Category:Uses category parameter]]
[[Category:Uses category parameter]]

Revision as of 02:42, 9 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 list will output pages that are in Category:Number examples that link to other pages with Tw in the name (e.g., pages that link to page Two) that are in the Main namespace (by default). To make the comparison case-insensitive, the parameter ignorecase can be used.

Parser extension (tag)
<dpl>
 category = Number examples
 linksto  = Tw%
</dpl>
Parser function
{{#dpl:
|category = Number examples
|linksto  = Tw%
}}

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