Template: Blog post

No edit summary
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 23: Line 23:
  | mode={{{mode|}}}
  | mode={{{mode|}}}
}}<templatestyles src="Template:Blog_post/styles.css" />
}}<templatestyles src="Template:Blog_post/styles.css" />
{{DISPLAYTITLE:{{{title|{{PAGENAME}}}}}}}
{{DISPLAYTITLE:{{{title|{{PAGENAME}}}}}}}<div class="blog-article"><div class="blog-byline">{{#if:{{{date|}}}|<span class="blog-date">{{#time:j F Y|{{{date}}}}}</span>}}{{#if:{{{authors|{{{author|}}}}}}|{{#if:{{{date|}}}| }}<span class="blog-authors"> by {{{authors|{{{author|}}}}}}</span>}}
<div class="blog-article">
</div>{{#if:{{{image|}}}|<div class="blog-hero">
<!-- <div class="blog-h1" style="display:none;"></div> (optional placeholder; title comes from DISPLAYTITLE) -->
[[File:{{{image}}}|frameless|class=blog-hero-img|link=|alt={{{image_alt|}}}]]
<div class="blog-byline">{{#if:{{{date|}}}|<span class="blog-date">{{#time:j F Y|{{{date}}}}}</span>}} {{#if:{{{authors|{{{author|}}}}}}|{{#if:{{{date|}}}| }} <span class="blog-authors"> by {{{authors|{{{author|}}}}}}</span>}}</div>
</div>}}{{#if:{{{image_alt|}}}|<div class="blog-hero-cap" style="padding-bottom:10px;">{{{image_alt}}}</div>}}{{#if:{{{description|}}}|<!--<p class="blog-standfirst">--><h3 style="text-align:center;padding-bottom:0px;margin-bottom:30px;">{{{description}}}</h3><!--</p>-->}}
{{#if:{{{image|}}}|
  <div class="blog-hero">
    [[File:{{{image}}}|frameless|class=blog-hero-img|link=|alt={{{image_alt|}}}]]
    {{#if:{{{image_alt|}}}|<div class="blog-hero-cap">{{{image_alt}}}</div>}}
  </div>
}}
{{#if:{{{description|}}}|<p class="blog-standfirst">{{{description}}}</p>}}
{{#if:{{{keywords|}}}|<div class="blog-tags"><b>Keywords:</b> {{{keywords}}}</div>}}
</div>
</div>
[[Category:Blog posts]]
[[Category:Blog posts]]
</includeonly>
</includeonly>

Latest revision as of 23:15, 1 October 2025

This template defines the table "blog_posts". View table. Template:Documentation

Discuss this page