Difference between revisions of "Listing Redirects and Location"
From FollowTheScore
Line 24: | Line 24: | ||
* [[ATR2]] redirects to [[A Test Redirect 2]] | * [[ATR2]] redirects to [[A Test Redirect 2]] | ||
* [[ATR3]] redirects to [[A Test Redirect 3]] | * [[ATR3]] redirects to [[A Test Redirect 3]] | ||
+ | |||
+ | ---- | ||
+ | With two nested DPL statements (see the source of this article) you can achieve this: | ||
+ | |||
+ | {{#dpl: | ||
+ | |category = Test acronym redirects | ||
+ | |redirects = only | ||
+ | |format = ,²{Listing Redirects ands Location Sub¦%PAGE%}² | ||
+ | }} |
Revision as of 08:37, 23 October 2007
<dpl> category = Test acronym redirects redirects = only </dpl>
--
Desired output would be:
- ATR1 redirects to A Test Redirect 1
- ATR2 redirects to A Test Redirect 2
- ATR3 redirects to A Test Redirect 3
With two nested DPL statements (see the source of this article) you can achieve this:
Template:Listing Redirects ands Location SubTemplate:Listing Redirects ands Location SubTemplate:Listing Redirects ands Location Sub