Template: Blog post
No edit summary |
No edit summary |
||
| 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}}}}}}}<div class="blog-article"> | {{DISPLAYTITLE:{{{title|{{PAGENAME}}}}}}}<div class="blog-article"><div class="blog-byline"> | ||
<div class="blog-byline"> | |||
{{#if:{{{date|}}}|<span class="blog-date">{{#time:j F Y|{{{date}}}}}</span>}} | {{#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>}} | {{#if:{{{authors|{{{author|}}}}}}|{{#if:{{{date|}}}| }}<span class="blog-authors">by {{{authors|{{{author|}}}}}}</span>}} | ||
</div> | </div>{{#if:{{{image|}}}| | ||
{{#if:{{{image|}}}| | |||
<div class="blog-hero"> | <div class="blog-hero"> | ||
[[File:{{{image}}}|frameless|class=blog-hero-img|link=|alt={{{image_alt|}}}]] | [[File:{{{image}}}|frameless|class=blog-hero-img|link=|alt={{{image_alt|}}}]] | ||
</div> | </div>}}{{#if:{{{image_alt|}}}|<div class="blog-hero-cap">{{{image_alt}}}</div>}}{{#if:{{{description|}}}|<p class="blog-standfirst">{{{description}}}</p>}}{{#if:{{{keywords|}}}|<div class="blog-tags"><b>Keywords:</b> {{{keywords}}}</div>}}</div> | ||
}} | |||
{{#if:{{{image_alt|}}}|<div class="blog-hero-cap">{{{image_alt}}}</div>}} | |||
{{#if:{{{description|}}}|<p class="blog-standfirst">{{{description}}}</p>}} | |||
{{#if:{{{keywords|}}}|<div class="blog-tags"><b>Keywords:</b> {{{keywords}}}</div>}} | |||
</div> | |||
[[Category:Blog posts]] | [[Category:Blog posts]] | ||
</includeonly> | </includeonly> | ||
Revision as of 22:55, 1 October 2025
This template defines the table "blog_posts". View table. Template:Documentation