Difference between revisions of "Template:Blog"
From Masq
m (Created page with '<noinclude>==Usage== <pre> {{Blog | post_date = IC date of post, MM/DD/YYYY | entry = Blog entry goes here. }} </pre> Blog entries should be within the 'Blog' namespace and name…') |
|||
| (9 intermediate revisions by one user not shown) | |||
| Line 3: | Line 3: | ||
{{Blog | {{Blog | ||
| post_date = IC date of post, MM/DD/YYYY | | post_date = IC date of post, MM/DD/YYYY | ||
| + | | poster = The name you post under. | ||
| entry = Blog entry goes here. | | entry = Blog entry goes here. | ||
}} | }} | ||
| Line 8: | 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? | ||
| − | </noinclude><includeonly><span class="blog_date">{{{post_date}}}</span> | + | [[Category: Templates]] |
| − | {{{entry}}} | + | </noinclude><includeonly> |
| + | {{#dpl: | ||
| + | |category=Blog | ||
| + | |titlematch={{#explode: {{PAGENAME}}||0}} | ||
| + | |include={BlogFront}:title | ||
| + | |format=<div class="blog_title">,[[Blog:{{#explode: {{PAGENAME}}||0}}|,]], | ||
| + | }}: {{#replace:{{PAGENAME}}|{{#explode: {{PAGENAME}}||0}} - |}}</div> | ||
| + | <div class="blog_post_details"><span class="blog_author">{{{poster}}}</span> - <span class="blog_date">{{{post_date}}}</span></div> | ||
| + | <div class="blog_post">{{{entry}}}</div> | ||
<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]]</includeonly> | + | [[Category: Blog Posts]]</includeonly> |
Latest revision as of 16:35, 23 February 2013
Usage
{{Blog
| post_date = IC date of post, MM/DD/YYYY
| poster = The name you post under.
| 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?