Template:BlogFront: Difference between revisions

From Masq
mNo edit summary
Blog DPL tables: add blog-posts/blog-index classes
 
(18 intermediate revisions by 2 users not shown)
Line 3: Line 3:
<pre>{{BlogFront
<pre>{{BlogFront
| title = The title of your blog -- Bob's Blog, or Notes from ABQ, or whatever you want to call it.
| 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.
}}
}}
</pre>
</pre>
Line 14: Line 15:
| category=Blog Posts
| category=Blog Posts
| titlematch={{PAGENAME}} - %
| titlematch={{PAGENAME}} - %
| replaceintitle=/^.*?\s-\s/,
| replaceintitle=/^.*? - /,
| ignorecase=true
| ordermethod=firstedit
| ordermethod=firstedit
| order=descending
| order=descending
| format={¦,,\n,\n¦}
| include={Blog}:post_date:entry[750]
| include={Blog}.dpl
| table=class="blog-posts",,
| tablerow=<span class="blog_front_date">%%</span><br/>[[%PAGE%|%TITLE%]],%%
| noresultsheader=Alas, there are no posts in this blog.
| noresultsheader=Alas, there are no posts in this blog.
}}
}}
[[Category: Blog]]
[[Category: Blog|{{PAGENAME}}]]
</includeonly>
</includeonly>

Latest revision as of 19:41, 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.