Template:TableturfSpaces: Difference between revisions

From Inkipedia, the Splatoon wiki
mNo edit summary
Tag: Reverted
m (I thought that that'd cut down on extra whitespace, but it didn't.)
Tag: Undo
Line 167: Line 167:
|DJ Octavio=border-left:solid 2px #26A9E6; border-right:solid 2px #26A9E6; border-top:solid 5px #26A9E6; border-bottom:solid 5px #26A9E6; background-color:#3FC2FF
|DJ Octavio=border-left:solid 2px #26A9E6; border-right:solid 2px #26A9E6; border-top:solid 5px #26A9E6; border-bottom:solid 5px #26A9E6; background-color:#3FC2FF
|#default=border-left:solid 2px #451FE6; border-right:solid 2px #451FE6; border-top:solid 5px #451FE6; border-bottom:solid 5px #451FE6; background-color:#5E38FF}}; color:#FFFFFF; box-shadow:none, margin-top:0px" align="center"|'''{{#switch:{{{1|}}}
|#default=border-left:solid 2px #451FE6; border-right:solid 2px #451FE6; border-top:solid 5px #451FE6; border-bottom:solid 5px #451FE6; background-color:#5E38FF}}; color:#FFFFFF; box-shadow:none" align="center"|'''{{#switch:{{{1|}}}
|Burst Bomb=1
|Burst Bomb=1

Revision as of 07:47, 13 October 2022


This template is used in conjunction with Template:TableturfDeck to display the space count, in a number, and rarity, in color, of a Tableturf Battle card. As such, it is not meant for use outside of that scope.

It only accepts one parameter, for the card's name. From this, both the space count and rarity are determined from two separate lists of all 0 cards.

Usage

{{TableturfSpaces|<card name>}}

Common
{{TableturfSpaces|Tri-Stringer}}
11
Rare
{{TableturfSpaces|Trizooka}}
12
Fresh
{{TableturfSpaces|Smallfry}}
3
Unknown
{{TableturfSpaces|}}
?