Template:SMW countries
Jump to navigation
Jump to search
Try to do Template:Countries using a query instead of a long manually-maintained list of countries.
Result should look like this:
Deployments |
---|
What countries have XOs? |
OLPC Afghanistan - img |
OLPC Brazil - img |
OLPC Cambodia - img |
OLPC Colombia - img |
OLPC Ethiopia - img |
OLPC Ghana - img |
OLPC Haiti - img |
OLPC India - img |
OLPC Iraq - img |
OLPC Kazakhstan - img |
OLPC Lebanon - img |
OLPC Mali - img |
OLPC Mexico - img |
OLPC Mongolia - img |
OLPC Mozambique - img |
OLPC Nepal - img |
OLPC Nigeria - img |
OLPC Niue - img |
OLPC Pakistan - img |
OLPC PNG - img |
OLPC Paraguay - img |
OLPC Peru - img |
OLPC Russia - img |
OLPC Rwanda - img |
OLPC Senegal - img |
OLPC Solomon Islands - img |
OLPC South Africa - img |
OLPC Thailand - img |
OLPC USA - img |
OLPC Uruguay-img |
To do so, query for Category:Deployments and Property:Number of manufactured laptops (to filter out pages in that category that don't have deployment information).
To make the query look even more like that, and to add the img link, you'd have to create Template:SMW_display_deployments-brief for each line of results, set link=none, and create the two links.
But we can get pretty close with a query in a div, as you can see below:
{{#ask: Number of manufactured laptops::+
|intro=Deployments
What countries
have XOs?
|format=list |sep=
}}