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

m
Lens0021 make excellent point that this had tables, which complicated understanding/explanation, so removed it (isn't necessary to keep repeating syntax variants, but my focus at the time was parcelling out the examples, getting them working, and refining later). I'll remove it now anyhow, since I didn't get through the other pages in their entirety to finish parcelling out, and getting examples working first anyway.
imported>FrozenPlum
mNo edit summary
imported>FrozenPlum
m (Lens0021 make excellent point that this had tables, which complicated understanding/explanation, so removed it (isn't necessary to keep repeating syntax variants, but my focus at the time was parcelling out the examples, getting them working, and refining later). I'll remove it now anyhow, since I didn't get through the other pages in their entirety to finish parcelling out, and getting examples working first anyway.)
Line 6:
==Example==
 
This list will outputselect pages that are in [[:Category:Number examples]] that link to other pages with <code>"Tw</code>" 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 <code>{{DPL|ignorecase}}</code> can be used.
 
<table class="wikitable" style="vertical-align:top;">
<tr>
<td>'''Parser extension (tag)'''
<pre>
<dpl>
category = Number examples
linksto = Tw%
</dpl>
</pre>
</td><td>'''Parser function'''
<pre>
{{#dpl:
Line 24 ⟶ 14:
}}
</pre>
 
</td></tr>
 
<tr><td colspan="2">
'''==Result:'''<br>==
 
Parser function method<br>
{{#dpl:
|category = Number examples
|linksto = Tw%
}}
</td></tr>
</table>
<noinclude>
[[Category:Select by link-related criteria‎]]
Anonymous user