Doctor Who Cuttings Archive

Difference between revisions of "Template:Publication"

From The Doctor Who Cuttings Archive
Jump to navigationJump to search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#vardefine:c|{{#ask:[[Category:Articles]]|[[Has Publication::{{PAGENAME}}]]|format=count}} }}
 
 
 
{{#set:Has country={{{1}}} }}
 
{{#set:Has country={{{1}}} }}
 
{{#set:Has type=Page}}
 
{{#set:Has type=Page}}
Line 7: Line 5:
 
|[[Has Publication::{{PAGENAME}}]]
 
|[[Has Publication::{{PAGENAME}}]]
 
|?Has DatePublished=date
 
|?Has DatePublished=date
|sort=date ascending
+
|mainlabel=articles ({{#ask:[[Category:Articles]]|[[Has Publication::{{PAGENAME}}]]|format=count}})
|mainlabel={{#var:c}} {{plural: {{#var:c}} | article | articles }}
 
 
}}
 
}}
 
[[Category:Publications]]
 
[[Category:Publications]]
 
{{DS}}
 
{{DS}}
 
</includeonly>
 
</includeonly>

Revision as of 00:10, 23 October 2013