Difference between revisions of "Template:ThisMonth"
Jump to navigation
Jump to search
Tag: visualeditor-wikitext |
Tag: visualeditor-wikitext |
||
(2 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
|order=ascending | |order=ascending | ||
}} | }} | ||
===News=== | {{#ifeq: 0 | {{#ask: [[Category:News]][[hasDate::>{{{Year}}}-{{{Month}}}-1]][[hasDate::<{{{Year}}}-{{{Month}}}-{{#time: t|{{{Year}}}-{{{Month}}}-1}}]]|format=count}} | | ===News=== }} | ||
{{#ask: [[Category:News]][[hasDate::>{{{Year}}}-{{{Month}}}-1]][[hasDate::<{{{Year}}}-{{{Month}}}-{{#time: t|{{{Year}}}-{{{Month}}}-1}}]] | {{#ask: [[Category:News]][[hasDate::>{{{Year}}}-{{{Month}}}-1]][[hasDate::<{{{Year}}}-{{{Month}}}-{{#time: t|{{{Year}}}-{{{Month}}}-1}}]] | ||
|mainlabel=- | |mainlabel=- | ||
Line 33: | Line 33: | ||
|}}</nowiki> | |}}</nowiki> | ||
This template is intended for use on [[The Story So Far]] to just make it mildly easier to pull SemanticWiki queries for each month. | This template is intended for use on [[The Story So Far]] to just make it mildly easier to pull SemanticWiki queries for each month. It will automatically generate a list of [[:Category:Runs|runs]] that took place in that month and the header to place them under. If there are any [[:Category:News|news]] stories for the month, it will also generate a News header and a list of news stories as well. | ||
<nowiki>{{ThisMonth| | <nowiki>{{ThisMonth| |
Latest revision as of 05:04, 29 June 2020