Bureaucrats, Moderators (CommentStreams), Interface administrators, Push subscription managers, Suppressors, Administrators
12,445
edits
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
== Template parameters == | == Template parameters == | ||
{{#template_params: | {{#template_params: | ||
|title (label=Display 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 14: | ||
{{#cargo_declare:_table=BlogPosts | {{#cargo_declare:_table=BlogPosts | ||
|blog=Page | |blog=Page | ||
|title=String | |pageName=String <!-- Actual page name for reliable linking --> | ||
|title=String <!-- Custom display title --> | |||
|date=Date | |date=Date | ||
|author=String | |author=String | ||
| Line 19: | Line 21: | ||
|summary=Wikitext | |summary=Wikitext | ||
}} | }} | ||
</noinclude><includeonly> | </noinclude> | ||
<includeonly> | |||
{{#cargo_store:_table=BlogPosts | {{#cargo_store:_table=BlogPosts | ||
|blog={{BASEPAGENAME}} | |blog={{BASEPAGENAME}} | ||
|title={{PAGENAME}} | |pageName={{PAGENAME}} <!-- Stores the real page name --> | ||
|title={{{title|{{PAGENAME}}}}} <!-- Uses custom title or falls back to page name --> | |||
|date={{{date}}} | |date={{{date}}} | ||
|author={{{author}}} | |author={{{author}}} | ||
| Line 28: | Line 33: | ||
|summary={{{summary}}} | |summary={{{summary}}} | ||
}} | }} | ||
{| class="wikitable" style="float:right; width:300px; margin-left:15px;" | {| class="wikitable" style="float:right; width:300px; margin-left:15px;" | ||
|- | |- | ||
| colspan="2" style="text-align:center; background-color:#f0f8ff; font-size:120%; font-weight:bold;" | {{PAGENAME}} | | colspan="2" style="text-align:center; background-color:#f0f8ff; font-size:120%; font-weight:bold;" | {{{title|{{PAGENAME}}}} | ||
|- | |- | ||
| style="background:#e6f3ff; text-align:right; font-weight:bold;" | Posted: | | style="background:#e6f3ff; text-align:right; font-weight:bold;" | Posted: | ||
| Line 52: | Line 58: | ||
<!-- Full blog post content starts here – flows to the left of the infobox --> | <!-- Full blog post content starts here – flows to the left of the infobox --> | ||
[[Category:Blog posts]] | [[Category:Blog posts]] | ||