Template:BlogFront: Difference between revisions

From Masq
Adapt BlogFront DPL syntax for DynamicPageList3
BlogFront: drop replaceintitle/format that break DPL3
Line 15: Line 15:
| category=Blog Posts
| category=Blog Posts
| titlematch={{PAGENAME}} - %
| titlematch={{PAGENAME}} - %
| replaceintitle=/^.*?\s-\s/,
| ignorecase=true
| ignorecase=true
| ordermethod=firstedit
| ordermethod=firstedit
| order=descending
| order=descending
| include={Blog}.dpl,{Blog}:entry[750]
| include={Blog}.dpl,{Blog}:entry[750]
| format={|,,\n,|}
| format={|,,,|}
| noresultsheader=Alas, there are no posts in this blog.
| noresultsheader=Alas, there are no posts in this blog.
}}
}}
[[Category: Blog|{{PAGENAME}}]]
[[Category: Blog|{{PAGENAME}}]]
</includeonly>
</includeonly>

Revision as of 19:37, 3 December 2026

Usage

{{BlogFront
| title = The title of your blog -- Bob's Blog, or Notes from ABQ, or whatever you want to call it.
| author = The name you're posting under.
}}

Blog pages should be named the same as your character, in the Blog namespace. I.e., Bob's blog would be at Blog:Bob.