Jump to content

Template:RecentBlogs: Difference between revisions

From Pure Evil Villains
Dude of Wealth and Taste (talk | contribs)
No edit summary
Dude of Wealth and Taste (talk | contribs)
No edit summary
Line 1: Line 1:
<div class="recent-blogs">
{{Main-box
== 📰 Recent Blog Posts ==
|header= Blogs-header.png
<ul>
|content=
{{#foreach:{{#recentchanges: | namespace=0 | count=50 }}|
<div align="center">[[File:Blog_refresh_02.png|30px|left|link={{fullurl:{{FULLPAGENAME}}|action=purge}}]]</div>
   {{#ifexpr: {{#sub:{{RC_TITLE}}|0|5}} = "Blog:" | <li>[[{{RC_TITLE}}]]</li> | }}
<bloglist count=2 summary=true summarylength=120 timestamp=true>
{{#dpl:
  category=Blog_posts
  count=5
  ordermethod=lastedit
  order=descending
  format=userformat
   listseparators=,*, [[%TITLE%]] – %TIMESTAMP%
}}
}}
</ul>
}}
</div>
<noinclude>[[Category:Templates]]</noinclude>
 
<style>
.recent-blogs {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1em;
  margin: 1em 0;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.recent-blogs h2 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}
.recent-blogs ul {
  margin: 0;
  padding-left: 1.5em;
}
</style>

Revision as of 21:58, 13 October 2025

<bloglist count=2 summary=true summarylength=120 timestamp=true>

Extension:DynamicPageList3 (DPL3), version 3.5.3: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants

Cookies help us deliver our services. By using our services, you agree to our use of cookies.