Module:Tier List/doc: Difference between revisions

From SuperCombo Wiki
(Created page with "<code>Module:Tier_List</code> is used to generate tier lists directly within the wiki using HTML, and the existing character labels. ==Usage== A tier list requires that argum...")
 
 
Line 23: Line 23:
|A;Marth,Peach,Captain Falcon
|A;Marth,Peach,Captain Falcon
|B;Ice Climbers
|B;Ice Climbers
|C;Dr. Mario,Ganondorf,Samus
|C;Doc,Ganondorf,Samus
|D;Pikachu,Mario,Luigi,Donkey Kong
|D;Pikachu,Mario,Luigi,Donkey Kong
|E;Link,Young Link
|E;Link,Young Link
Line 36: Line 36:
|A;Marth,Peach,Captain Falcon
|A;Marth,Peach,Captain Falcon
|B;Ice Climbers
|B;Ice Climbers
|C;Dr. Mario,Ganondorf,Samus
|C;Doc,Ganondorf,Samus
|D;Pikachu,Mario,Luigi,Donkey Kong
|D;Pikachu,Mario,Luigi,Donkey Kong
|E;Link,Young Link
|E;Link,Young Link

Latest revision as of 20:46, 22 July 2022

Module:Tier_List is used to generate tier lists directly within the wiki using HTML, and the existing character labels.

Usage

A tier list requires that arguments be present in order.

  1. The abbreviation for the game (IE: SSBM, etc)
  2. The top tier
  3. All of the following tiers, ordered from top to bottom

Within a given tier, you must define the label for that tier (the letter that appears inside of the colored square) followed by a semicolon character (';').

Short Names in Labels

The tier list will attempt to find the appropriate icon and link for a given character. If you choose not to use the full name of a character, you must set up a necessary redirect from the short name to the full name. This applies to both the icon file and the character page itself.

For example: We want to show "Doc" on our tier list instead of "Dr. Mario". We must create 2 redirects.

  • Redirect from [[File:SSBM_Doc_Icon.png]] to [[File:GGACR_Dr._Mario_Icon.png]]
  • Redirect from [[SSBM/Doc]] to [[SSBM/Dr. Mario]]

Example

{{#invoke:Tier List|drawTierList
|SSBM
|S;Fox,Falco,Jigglypuff,Sheik
|A;Marth,Peach,Captain Falcon
|B;Ice Climbers
|C;Doc,Ganondorf,Samus
|D;Pikachu,Mario,Luigi,Donkey Kong
|E;Link,Young Link
|F;Zelda,Roy,Mewtwo,Yoshi,Mr. Game and Watch
|G;Ness,Bowser,Kirby,Pichu
}}