Difference between revisions of "Listing Redirects and Location"

From FollowTheScore
Jump to: navigation, search
Line 26: Line 26:
  
 
----
 
----
With two nested DPL statements (see the source of this article) you can achieve this:
+
With two nested DPL statements (see the source of this article) you can achieve this. Note that the linksfrom statement in the [[Listing Redirects and Location Sub|sub-template]] accepts open references:
  
 
{{#dpl:
 
{{#dpl:
 
  |category = Test acronym redirects
 
  |category = Test acronym redirects
 
  |redirects = only
 
  |redirects = only
  |format = ,\n*[[%PAGE%|%TITLE%]] redirects to ²{Listing Redirects ands Location Sub¦%PAGE%}²
+
  |format = ,\n*[[%PAGE%|%TITLE%]] redirects to ²{Listing Redirects and Location Sub¦%PAGE%}²
 
}}
 
}}

Revision as of 08:45, 23 October 2007

Template:Type:Test

<dpl>
  category = Test acronym redirects
  redirects = only
</dpl>


--

Desired output would be:


With two nested DPL statements (see the source of this article) you can achieve this. Note that the linksfrom statement in the sub-template accepts open references: