Template:Forum post

From Bogleheads
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

This template simplifies the linking of Bogleheads forum posts into an article, which you will typically do using the reference tags. Using this template can be preferable to making up the link yourself for the following reasons:

  • Consistent format in links to the Bogleheads.org forum
  • Should the URL pattern of the forum ever change, then the template might be able to change accordingly

Usage

{{Forum post|t= |p= |title= |date= |author= |quote= }}.

Topic

  • t: The topic ID. Each topic has a unique identifier; which is the numeric value in the URL after the t=. Generally, you should link to the topic unless you want to specify a specific reply further down into the topic, in which case you can provide the post (p) parameter value.

Post

  • p: The post ID. Each post within a topic has a unique identifier which is obtained by clicking on the post's title; the link in the top-left corner of every post. It is the numeric value in the URL after the p=.

Use only the topic_id or post_id, not both. Link to the Topic when you want to emphasize the overall topics. Link to the Post when you want to focus on a particular reply within the overall topic.

Title

  • title: The link text to display. Typically this will be the discussion topic title. You may also include the author.

Date

  • date: (optional) the date of the topic or post. Please add the date, as many financial topics are date sensitive and the reader may wish to know if the post is many years old. Suggested format is (D)D Month YYYY (e.g. 7 July 2012) but any format will be output as entered.

Author

  • author: (optional). If desired, the author of the topic or post may be added.

Quote

  • quote: (optional). If desired, including a salient quote from the thread or post. Do not include quotation marks as these will be automatically included.


Example

To create a link to forum topic https://www.bogleheads.org/forum/viewtopic.php?f=10&t=88005, the topic_id is 88005. Therefore to use this template, you would code as follows:

{{Forum post|t=88005|title=The Three Fund Portfolio}}

Results in:

Bogleheads® forum topic: The Three Fund Portfolio

To create a link to forum post https://www.bogleheads.org/forum/viewtopic.php?p=1263932#p1263932, the post_id is 1263932. Therefore to use this template, you would code as follows:

{{Forum post|p=1263932|title=The Three Fund Portfolio, Taylor Larimore}}

Results in:

Bogleheads® forum post: The Three Fund Portfolio, Taylor Larimore

Ideally, include the date of the original topic if you use the t parameter, or of the specific post if you use the p parameter. For example:

{{Forum post|p=1263932|title=The Three Fund Portfolio, Taylor Larimore|date=1 Jan 2012}}

Results in:

Bogleheads® forum post: The Three Fund Portfolio, Taylor Larimore. 1 Jan 2012

In most cases, you'll link to a Bogleheads forum post using the reference <ref></ref> tags. For example:

The 3-Fund portfolio is an excellent investment strategy.<ref>{{Forum post|p=1263932|title=The Three Fund Portfolio, Taylor Larimore|date=1 Jan 2012}}</ref>

The wiki text above results in the following, with a footnote after the sentence with the footnote reference in the bottom of the page in the References section:

The 3-Fund portfolio is an excellent investment strategy.[1]

To use the author and quote parameters:

The 3-Fund portfolio is an excellent investment strategy.<ref>{{Forum post|p=1263932|title=The Three Fund Portfolio|author=Taylor Larimore|date=1 Jan 2012 | quote=After a lifetime of investing since 1950 trying to "beat the market," I am convinced that a simple 3-fund (or ETF) portfolio of Total Stock Market, Total International, and Total Bond Market, properly allocated, is an ideal portfolio for most investors.}}</ref>

The wiki text above results in the following, with a footnote after the sentence with the footnote reference in the bottom of the page in the References section:

The 3-Fund portfolio is an excellent investment strategy.[2]


References

  1. Bogleheads® forum post: The Three Fund Portfolio, Taylor Larimore. 1 Jan 2012
  2. Bogleheads® forum post: The Three Fund Portfolio, Taylor Larimore. 1 Jan 2012, "After a lifetime of investing since 1950 trying to "beat the market," I am convinced that a simple 3-fund (or ETF) portfolio of Total Stock Market, Total International, and Total Bond Market, properly allocated, is an ideal portfolio for most investors."