Difference between revisions of "DPL Example 004"
From FollowTheScore
(New page: {{Example|Create a sortable table of articles based on template parameters, use phantom temlate with subquery}} We produce a table where the reference link to the article is not in the fi...) |
(No difference)
|
Revision as of 00:00, 8 March 2009
back to list of examples
Create a sortable table of articles based on template parameters, use phantom temlate with subquery
We produce a table where the reference link to the article is not in the first column. We show a column which contains inbound links to the resp. article.
{{#dpl: |category=Fictitious country |include={Country}.phantom-004 |table=class=sortable,-,Name,Country,Capital,Articles linking to that country }}
The above DPL command produces the following output:
Name | Country | Capital | Articles linking to that country |
---|---|---|---|
Name? | DPL Example 007 main page 1 | Capital? | |
Republic of Nigunda | Nigunda | Bamitogoo | |
Republic of Nigunda Test | Nigunda Test | Bamitogoo Test | |
Somango Island | Somango | Aaaabququque |