Doctor Who Cuttings Archive

Difference between revisions of "Template:Publication"

From The Doctor Who Cuttings Archive
Jump to navigationJump to search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{#set:Has country={{{1}}} }}{{#ask:[[Category:Articles]]
{{#vardefine:c|{{#ask:[[Category:Articles]]|[[Has Publication::{{PAGENAME}}]]|format=count}} }}
+
[[Has Publication::{{PAGENAME}}]]
 
+
|?Has DatePublished#ISO=date
{{#set:Has country={{{1}}} }}
+
|sort=Has DatePublished
{{#set:Has type=Page}}
+
|limit=1000
{{#ask:[[Category:Articles]]
+
|mainlabel=articles ({{#ask:[[Category:Articles]] [[Has Publication::{{PAGENAME}}]]|format=count}})
|[[Has Publication::{{PAGENAME}}]]
 
|?Has DatePublished=date
 
|sort=date ascending
 
|mainlabel={{#var:c}} {{plural: {{#var:c}} | article | articles }}
 
 
}}
 
}}
 
[[Category:Publications]]
 
[[Category:Publications]]
 
{{DS}}
 
{{DS}}
 
</includeonly>
 
</includeonly>
 +
<!-- {{#set:Has type=Text}} -->

Latest revision as of 05:43, 8 August 2019