Template:ArticleIcons/doc: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(New Page: This template is for use in a vast majority of articles. It is used to display a series of icons in the top right corner of the article that quickly point out certain things about its cont...)
 
No edit summary
Line 4: Line 4:
*[[Image:SSBB Icon.png|24px]] shows that the article relates to Super Smash Bros. Brawl.
*[[Image:SSBB Icon.png|24px]] shows that the article relates to Super Smash Bros. Brawl.
*[[Image:Unofficial Lingo.png|24px]] means that the article's title is unofficial.
*[[Image:Unofficial Lingo.png|24px]] means that the article's title is unofficial.
*[[Image:Smashwiki feature icon.png|24px]] is how featured articles are marked.
*[[Image:Featured.png|24px]] is how featured articles are marked.
Articles may make use of zero, one, many, or all of these icons as necessary.
Articles may make use of zero, one, many, or all of these icons as necessary.
==Usage==
==Usage==

Revision as of 14:24, June 15, 2011

This template is for use in a vast majority of articles. It is used to display a series of icons in the top right corner of the article that quickly point out certain things about its content:

  • SSB64 Icon.png denotes that the article relates to Super Smash Bros. (64).
  • SSBM Icon.png indicates that the article relates to Super Smash Bros. Melee.
  • SSBB Icon.png shows that the article relates to Super Smash Bros. Brawl.
  • The icon used on pages with unofficial titles. means that the article's title is unofficial.
  • Featured.png is how featured articles are marked.

Articles may make use of zero, one, many, or all of these icons as necessary.

Usage

The basic template, {{ArticleIcons}}, will not display anything. Parameters are used to tell the template which icons to display:

  • ssb64 or ssb
  • ssbm or melee
  • ssbb or brawl
  • unofficial
  • fa or featured

Setting one of these parameters to "y" (such as ssb64=y) will show its icon, with pipes (|) between each parameter. Examples:

  • {{ArticleIcons|ssb64=y}}
  • {{ArticleIcons|ssbm=y|ssbb=y}}
  • {{ArticleIcons|brawl=y|featured=y}}

The order of icons will always be the same, no matter what order they are written in.

Other features

Improvements

If you have ideas for other icons, post on Template talk:ArticleIcons.