Difference between revisions of "Template:Featured topic box/doc"

From blackwiki
Jump to navigation Jump to search
imported>Rst20xx
m (→‎Usage: change to classicon)
imported>WOSlinker
(it now seems like it's going to be better to use icon rather than classicon)
Line 35: Line 35:
 
*'''column1''', '''column2''', '''column3''': use these to list the articles in the topic using bulleted lists, with any formatting, links, and the FA/GA stars.
 
*'''column1''', '''column2''', '''column3''': use these to list the articles in the topic using bulleted lists, with any formatting, links, and the FA/GA stars.
 
*: Example:
 
*: Example:
*:* <nowiki>{{classicon|FL}} [[List of storms in the 2003 Atlantic hurricane season|List of storms]]</nowiki>
+
*:* <nowiki>{{icon|FL}} [[List of storms in the 2003 Atlantic hurricane season|List of storms]]</nowiki>
*:* <nowiki>{{classicon|GA}} [[Tropical Storm Ana (2003)|Tropical Storm Ana]]</nowiki>
+
*:* <nowiki>{{icon|GA}} [[Tropical Storm Ana (2003)|Tropical Storm Ana]]</nowiki>
*:* <nowiki>{{classicon|FA}} [[Hurricane Juan]]</nowiki>
+
*:* <nowiki>{{icon|FA}} [[Hurricane Juan]]</nowiki>
*:* <nowiki>{{classicon|PR}} [[Hurricane Bob]]</nowiki>
+
*:* <nowiki>{{icon|PR}} [[Hurricane Bob]]</nowiki>
 
*:* &mdash; etc.
 
*:* &mdash; etc.
 
''The colour scheme for this template uses the H90 header / accent colours at [[Wikipedia talk:Colours]]''
 
''The colour scheme for this template uses the H90 header / accent colours at [[Wikipedia talk:Colours]]''

Revision as of 17:12, 7 April 2009

Usage

General syntax options for this template are as follows:

{{Featured topic box
|title=
|lead=
|bookname=
|count=
|image=
|imagesize=
|column1=
: 
: 
|column2=
: 
: 
|column3=
}}
  • title: name of the featured topic (used for the talk page link)
    Example: 2003 Atlantic hurricane season         for 2003 Atlantic hurricane season
  • lead: name of topic to be displayed in header bar, including any formating and links. Must not include any bold text.
    Example: {{classicon|FA}} [[2003 Atlantic hurricane season]]
  • bookname (optional): name of book associated with topic, where different from title
    Example: Canadian Universities (provides link to Wikipedia:Books/Canadian Universities)
  • count: number of articles in topic
    Example: 17
  • image (optional): name of image to be used, which must not be fair use. If omitted or blank, no image is used.
    Example: 2003 Atlantic hurricane season map.png         (see Image:2003 Atlantic hurricane season map.png)
  • imagesize (optional) size of any image in pixels. If omitted or blank, this will take the value 60 (if there is an image)
    Example: 55
    To make the height 60, like in most of the current boxes, divide length by height and multiply by 60.
  • column1, column2, column3: use these to list the articles in the topic using bulleted lists, with any formatting, links, and the FA/GA stars.
    Example:
    • {{icon|FL}} [[List of storms in the 2003 Atlantic hurricane season|List of storms]]
    • {{icon|GA}} [[Tropical Storm Ana (2003)|Tropical Storm Ana]]
    • {{icon|FA}} [[Hurricane Juan]]
    • {{icon|PR}} [[Hurricane Bob]]
    • — etc.

The colour scheme for this template uses the H90 header / accent colours at Wikipedia talk:Colours