Bureaucrats, Moderators (CommentStreams), Interface administrators, Push subscription managers, Suppressors, Administrators
12,445
edits
No edit summary Tag: Reverted |
Tag: Undo |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Uses [[Form:Blog]] to create and edit blog posts | Uses [[Form:Blog]] to create and edit blog posts. | ||
== Template parameters == | == Template parameters == | ||
{{#template_params: | {{#template_params: | ||
| | |title (label=Post Title) | ||
|date (label=Date, type=date, display format=mdy) | |date (label=Date, type=date, display format=mdy) | ||
|author (label=Author) | |author (label=Author) | ||
| Line 13: | Line 13: | ||
== Cargo declaration == | == Cargo declaration == | ||
{{#cargo_declare:_table=BlogPosts | {{#cargo_declare:_table=BlogPosts | ||
|blog=Page | |blog=Page <!-- Parent blog hub page name --> | ||
|pageName=String | |pageName=String <!-- Actual subpage name --> | ||
|postTitle=String | |postTitle=String <!-- Custom post title --> | ||
|date=Date | |date=Date | ||
|author=String | |author=String | ||
| Line 25: | Line 25: | ||
<includeonly> | <includeonly> | ||
{{#cargo_store:_table=BlogPosts | {{#cargo_store:_table=BlogPosts | ||
|blog={{BASEPAGENAME}} <!-- | |blog={{BASEPAGENAME}} <!-- Automatically captures the parent blog name --> | ||
|pageName={{PAGENAME}} | |pageName={{PAGENAME}} | ||
|postTitle={{{ | |postTitle={{{title|{{PAGENAME}}}}} | ||
|date={{{date}}} | |date={{{date}}} | ||
|author={{{author}}} | |author={{{author}}} | ||
| Line 36: | Line 36: | ||
{| class="wikitable" style="float:right; width:350px; background:#FFF8DC; border:2px solid #1E3A8A; margin-left:15px;" | {| class="wikitable" style="float:right; width:350px; background:#FFF8DC; border:2px solid #1E3A8A; margin-left:15px;" | ||
|- | |- | ||
| colspan="2" style="text-align:center; background:#1E3A8A; color:white; font-size:120%; font-weight:bold; padding:8px;" | {{{ | | colspan="2" style="text-align:center; background:#1E3A8A; color:white; font-size:120%; font-weight:bold; padding:8px;" | {{{title|{{PAGENAME}}}}} | ||
|- | |- | ||
! style="background:#E6F0FF; width:100px; text-align:right; padding:5px;" | Blog | ! style="background:#E6F0FF; width:100px; text-align:right; padding:5px;" | Blog | ||
| style="padding:5px;" | [[{{BASEPAGENAME}}|{{BASEPAGENAME}}]] | | style="padding:5px;" | [[{{{blog|{{BASEPAGENAME}}}}}|{{{blog|{{BASEPAGENAME}}}}}]] | ||
|- | |- | ||
! style="background:#E6F0FF; text-align:right; padding:5px;" | Posted | ! style="background:#E6F0FF; text-align:right; padding:5px;" | Posted | ||
| Line 50: | Line 50: | ||
| style="padding:5px;" | {{#if: {{{tags|}}} | {{{tags}}} | ''None'' }} | | style="padding:5px;" | {{#if: {{{tags|}}} | {{{tags}}} | ''None'' }} | ||
|- | |- | ||
| colspan="2" style="font-style:italic; padding: | | colspan="2" style="font-style:italic; padding:8px;" | | ||
{{#if: {{{summary|}}} | {{{summary}}} | ''No summary provided.'' }} | {{#if: {{{summary|}}} | {{{summary}}} | ''No summary provided.'' }} | ||
|} | |} | ||
<!-- Full blog post content starts here – flows to the left of the infobox --> | |||
<!-- Full blog post content starts here --> | |||
[[Category:Blog posts]] | [[Category:Blog posts]] | ||