Template:FeaturedArticle: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
<!-- Main Page currently transcludes pages from this category, so avoid it being added to this category -->{{#ifeq:{{PAGENAME}}|{{int:Mainpage}}||[[Category:Featured Articles]]}} | <!-- Main Page currently transcludes pages from this category, so avoid it being added to this category -->{{#ifeq:{{PAGENAME}}|{{int:Mainpage}}||[[Category:Featured Articles]]}} | ||
</includeonly> | </includeonly> | ||
<div class="includeonce well"> | |||
<div style="overflow: hidden;"><div style="float:left">{{#ask:[[Category:Featured Articles]] | |||
[[Has featured start date::<{{{Date|}}}]] | |||
|limit=1 | |||
|offset=1 | |||
|sort=Has featured start date | |||
|order=descending | |||
|intro=< | |||
|default=No earlier Featured Articles found | |||
|searchlabel= | |||
}}</div> | |||
<div style="float:right">{{#ask:[[Category:Featured Articles]] | |||
[[Has featured start date::>{{{Date|}}}]] | |||
|limit=1 | |||
|offset=1 | |||
|sort=Has featured start date | |||
|order=ascending | |||
|outro=> | |||
|default=No later Featured Articles found | |||
|searchlabel= | |||
}}</div> | |||
</div> | |||
</div> |
Revision as of 07:29, 3 April 2022