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 5: Line 7:
 
|[[Has Publication::{{PAGENAME}}]]
 
|[[Has Publication::{{PAGENAME}}]]
 
|?Has DatePublished=date
 
|?Has DatePublished=date
|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 19:58, 19 October 2013