Jump to content
This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.

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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.