Difference between revisions of "Template:Blog"

From Masq
m
m
Line 14: Line 14:
 
|titlematch={{#explode: {{PAGENAME}}||0}}
 
|titlematch={{#explode: {{PAGENAME}}||0}}
 
|include={BlogFront}:title
 
|include={BlogFront}:title
|format=<div class="blog_title">,,,
+
|format=<div class="blog_title">,[[{{#explode: {{PAGENAME}}||0}}|,]],
 
}}: {{#replace:{{PAGENAME}}|{{#explode: {{PAGENAME}}||0}} - |}}</div>
 
}}: {{#replace:{{PAGENAME}}|{{#explode: {{PAGENAME}}||0}} - |}}</div>
 
<span class="blog_date">{{{post_date}}}</span>
 
<span class="blog_date">{{{post_date}}}</span>

Revision as of 21:21, 21 February 2013

Usage

{{Blog
| post_date = IC date of post, MM/DD/YYYY
| entry = Blog entry goes here.
}}

Blog entries should be within the 'Blog' namespace and named in Character - Subject style, i.e., Blog:Bob - Who Moved My Cheesburger?