Difference between revisions of "Template:Blog"
From Masq
m |
m |
||
| Line 9: | Line 9: | ||
Blog entries should be within the 'Blog' namespace and named in Character - Subject style, i.e., Blog:Bob - Who Moved My Cheesburger? | Blog entries should be within the 'Blog' namespace and named in Character - Subject style, i.e., Blog:Bob - Who Moved My Cheesburger? | ||
[[Category: Templates]] | [[Category: Templates]] | ||
| − | </noinclude><includeonly><span class="blog_date">{{{post_date}}}</span> | + | </noinclude><includeonly> |
| + | {{#dpl: | ||
| + | |category=Blog | ||
| + | |titlematch={{#explode: {{PAGENAME}}||0}} | ||
| + | |include={BlogFront}:title | ||
| + | |format=<div class="blog_title">,,,</div> | ||
| + | }} | ||
| + | <span class="blog_date">{{{post_date}}}</span> | ||
{{{entry}}} | {{{entry}}} | ||
<div class="comment_header">Comments</div> | <div class="comment_header">Comments</div> | ||
{{#ifexist:{{TALKSPACE}}:{{PAGENAME}}|{{:{{TALKSPACE}}:{{PAGENAME}}}}|}}<comments/> | {{#ifexist:{{TALKSPACE}}:{{PAGENAME}}|{{:{{TALKSPACE}}:{{PAGENAME}}}}|}}<comments/> | ||
[[Category: Blog Posts]]</includeonly> | [[Category: Blog Posts]]</includeonly> | ||
Revision as of 21:16, 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?