Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:BlogHeader/doc: Difference between revisions

Template page
(Created page with "This template is used to create a header for a blog post in the Blog namespace. It should be at the very top of a post. ==Usage== Copy the following and paste it onto a blog page: <pre> {{BlogHeader |title = |author = |authorname = |author2 = |author2name = |date = |link = |image = |imagealt = }} </pre> ===Parameters=== *'''title''': The blog post title. *'''author''': The author of the blog post. This should be their wiki username...")
 
No edit summary
 
Line 13: Line 13:
|image      =
|image      =
|imagealt    =
|imagealt    =
|imagetitle  =
}}
}}
</pre>
</pre>
Line 25: Line 26:
*'''image''': The featured image of the post. Technically optional, but should ideally always be included.
*'''image''': The featured image of the post. Technically optional, but should ideally always be included.
*'''imagealt''': Alt text for the image.
*'''imagealt''': Alt text for the image.
*'''imagetitle''': Title for the image.
</pre><includeonly>[[Category:Templates]][[Category:Blog templates]]</includeonly>
</pre><includeonly>[[Category:Templates]][[Category:Blog templates]]</includeonly>

Latest revision as of 10:47, 2 April 2025

This template is used to create a header for a blog post in the Blog namespace. It should be at the very top of a post.

Usage

Copy the following and paste it onto a blog page:

{{BlogHeader
|title       =
|author      =
|authorname  =
|author2     = 
|author2name =
|date        =
|link        =
|image       =
|imagealt    =
|imagetitle  =
}}

Parameters

  • title: The blog post title.
  • author: The author of the blog post. This should be their wiki username.
  • authorname: Optional. Can be used to change the author's displayed name if it needs to be different from the wiki username.
  • author2: Optional. The second author of the blog post. This should be their wiki username.
  • authorname: Optional. Can be used to change the second author's displayed name if it needs to be different from the wiki username.
  • date: Published date. Should be in month-day-year format, e.g. "March 27, 2025"
  • link: This should be the name of the page itself, which should look a bit like: "2025/03/28/My Post". The blog namespace should not be included.
  • image: The featured image of the post. Technically optional, but should ideally always be included.
  • imagealt: Alt text for the image.
  • imagetitle: Title for the image.