Difference between revisions of "Template:BlogFront"

From Masq
m
m (Usage)
 
(62 intermediate revisions by one user 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 10: Line 11:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
<div class="blog_title">{{{title}}}</div>
 
<div class="blog_title">{{{title}}}</div>
{{#dpl
+
{{#dpl:
 
| namespace=Blog
 
| namespace=Blog
 
| category=Blog Posts
 
| category=Blog Posts
Line 18: Line 19:
 
| ordermethod=firstedit
 
| ordermethod=firstedit
 
| order=descending
 
| order=descending
| include={blog}.post_date:entry[200]
+
| format={¦,,...\n,\n¦}
| format=,¦- ¦,, ¦}
+
| include={Blog}.dpl,{blog}:entry[750]
 +
| noresultsheader=Alas, there are no posts in this blog.
 
}}
 
}}
[[Category: Blog]]
+
[[Category: Blog|{{PAGENAME}}]]
 
</includeonly>
 
</includeonly>

Latest revision as of 05:19, 11 March 2013

[edit] 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.