What is Foolsaurus?

It's a glossary of investing terms edited and maintained by our analysts, writers and YOU, our Foolish community. Get Started Now!

Help:

Templates

This page exists so you can easily copy/paste an article's headers into your new page. Just copy the code below into your page and get to editing! Swing by the Touchstone discussion boards with questions.

Contents

Basic Term Page

For a basic term page, copy/paste the text in the yellow box and replace ALL CAPS PLACEHOLDERS with the appropriate text:

QUICK DEFINITION HERE

==Expanded Definition==
EXPANDED DEFINITION HERE

==Related Fool Articles==
*[LINK TITLE]

==Related Terms==
*[[RELATED TERM HERE]]

==Related Fool Discussion Boards==

Post your questions on Motley Fool's  "board name" board. 
 [[http://boards.fool.com/link to board]]

==Recent Mentions on Fool.com==
 <rss>http://www.fool.com/Feeds/Search.ashx?q=TERM+GOES+HERE
&filter=p&site=USMF&sort=date%3aD%3aR%3ad1&count=5|short|max=6|notitle</rss> [[Category: SELECT FROM A-Z LIST AT LEFT]]


Note: you need to delete the line break between the two lines of the "Recent Mentions" (your search term should be right next to "&filter..." -- not on a second line). For more advanced "Recent Mentions" usage, check out the Advanced Tips page.

Company Page

For a basic company page, copy/paste the text in the yellow box and replace ALL CAPS PLACEHOLDERS with the appropriate text:

'''COMPANY NAME''' (EXCHANGE: [http://caps.fool.com/Ticker/TICKER.aspx TICKER])

==Company Description==
DESCRIPTION HERE

==Related Companies==
*[[RELATED COMPANY]]

==Recent Mentions on Fool.com==
<rss>http://www.fool.com/feeds/tickerfeed.aspx?s=TICKER&count=5|short|max=6|notitle</rss>

[[Category: SELECT FROM CATEGORIES A-Z ON THE LEFT ]]

  • The ticker symbol is in all capitals.
  • The major U.S. exchanges are:
    • New York Stock Exchange (NYSE)
      • Ignore the "Arca" suffix, if present.
    • National Association of Securities Dealers Automated Quotation (Nasdaq) -- note the capitalization
      • Ignore the suffixes that the Nasdaq includes, such as "GM".
    • American Stock Exchange (AMEX) -- some ETFs are traded here

Here are examples:

  • (NYSE: IBM) or (NYSE: X)
  • (Nasdaq: MSFT)
  • (AMEX: SPY)

Some companies have more than one class of shares. The class is a capital letter separated from the primary ticker by a hyphen, such as BRK-A or CMG-B.

If you do not know which exchange the company's shares are traded on, visit Yahoo!, enter the ticker, and look to the right in the popup box ("ETF - PCX" is not an exchange -- click on through to get to the Summary page) or to the right of the company's name on the Summary page.

Below are some common table types for your copy/pasting enjoyment. Questions about creating tables will be answered on the Wiki Contributor's Forum.

A Simple Two-Column Table

Header A Header B
Col A, Row 1 Col B, Row 1
Col A, Row 2 Col B, Row 2

Copy and paste the code below and replace cell content with your own values:

{| 
||'''Header A'''
||'''Header B'''
|-
| Col A, Row 1|| Col B, Row 1
|-
| Col A, Row 2|| Col B, Row 2
|}
 


You may add additional rows by pasting the following code snippet after your last row -- one for each additional desired row. This should come after your last row but before the |} symbol.

|-
| Col A, Row 3|| Col B, Row 3
 

Three Column Tables

Header A Header B Header C
Col A, Row 1 Col B, Row 1 Col C, Row 1
Col A, Row 2 Col B, Row 2 Col C, Row 2


Copy and paste the code below and replace cell content with your own values:

{|
||'''Header A'''
||'''Header B'''
||'''Header C'''
|-
| Col A, Row 1|| Col B, Row 1|| Col C, Row 1
|-
| Col A, Row 2|| Col B, Row 2|| Col C, Row 2
|}
 


You may add additional rows by pasting the following code snippet after your last row -- one for each additional desired row. This should come after your last row but before the |} symbol.

|-
| Col A, Row 3|| Col B, Row 3|| Col C, Row 3
 

Four Column Tables

Header A Header B Header C Header D
Col A, Row 1 Col B, Row 1 Col C, Row 1 Col D, Row 1
Col A, Row 2 Col B, Row 2 Col C, Row 2 Col D, Row 2


Copy and paste the code below and replace cell content with your own values:

{|
||'''Header A'''
||'''Header B'''
||'''Header C'''
||'''Header D'''
|-
| Col A, Row 1|| Col B, Row 1|| Col C, Row 1|| Col D, Row 1
|-
| Col A, Row 2|| Col B, Row 2|| Col C, Row 2|| Col D, Row 2
|}
 


You may add additional rows by pasting the following code snippet after your last row -- one for each additional desired row. This should come after your last row but before the |} symbol.

|-
| Col A, Row 3|| Col B, Row 3|| Col C, Row 3|| Col D, Row 3

Five+ Column Tables

Additional columns are not that difficult once you have the basic template down. For each additional column:

1. Add a new line to the table header:

{|
||'''Header A'''
||'''Header B'''
||'''Header C'''
||'''Header D'''
||'''Header N'''


2. Add that column to the end of each row:

|-
| Col A, Row 1|| Col B, Row 1|| Col C, Row 1|| Col D, Row 1|| Col N, Row 1
|-
| Col A, Row 2|| Col B, Row 2|| Col C, Row 2|| Col D, Row 2|| Col N, Row 2

Additional Formatting

HTML table language can be used to expand the functionality of tables:


Alignment

To align all the text in a table the same way, use style="text-align:xxxx" where xxxx is "left" or "center" or "right". This allows numbers showing dollars, for instance, to be right-aligned.

To "overrule" that global alignment, use the "align" command after the pipe for a single cell.

Remember to include a pipe | before the text that goes into the cell.

Alignment example

Header A Header B
This is a really long sentence to show centering of the header This is not
Left aligned Right


{|style="text-align:right"
| align="center" |'''Header A'''
| align="center"|'''Header B'''
|-
| This is a really long sentence to show centering of the header|| This is not
|-
| align="left" | Left aligned || Right
|}
 


Combining cells

If you need to combine several cells on the same row into one, use the colspan=X command, where X is some number. The same thing can be done to combine 2 or more cells in the same column, using the rowspan=X command.

Note that you pick up with the "remaining" cells right after the multi-column cell or in the next row after the multi-row cell.

Remember to include a pipe | before the text that goes into the cell.

Header A Header B Header C
Col A, Row 1 Col B, Row 1 Col C, Row 1
Cols A & B, Row 2 Col C, Row 2
Col A, Rows 3 & 4 Col B, Row 3 Col C, Row 3
Col B, Row 4 Col C, Row 4


{|
| align="center"|'''Header A'''
| align="center"|'''Header B'''
| align="center"|'''Header C'''
|-
| Column A, Row 1|| Column B, Row 1|| Column C, Row 1
|-
| colspan=2 align="center" | Cols A & B, Row 2 || Col C, Row 2
|-
| rowspan=2 align="center" | Col A, Rows 3 & 4 || Col B, Row 3|| Col C, Row 3
|-
| Col B, Row 4|| Col C, Row 4
|}
 
Advertisement