Template:TableturfSpaces: Difference between revisions

From Inkipedia, the Splatoon wiki
mNo edit summary
(new diamond shape with css)
Line 1: Line 1:
<includeonly>
<includeonly>
{| style="{{#switch:{{{1|}}}
<div style="{{#switch:{{{1|}}}
|Sploosh-o-matic
|Sploosh-o-matic
|Splattershot Jr.
|Splattershot Jr.
Line 97: Line 97:
|Slammin' Lid
|Slammin' Lid
|Big Shot
|Big Shot
|Zapfish=border-left:solid 2px #451FE6; border-right:solid 2px #451FE6; border-top:solid 5px #451FE6; border-bottom:solid 5px #451FE6; background-color:#5E38FF
|Zapfish=background: #533ada; border:solid 3px #7a5ee0; border-top: solid 3px #c3b2e0; border-bottom: solid 3px #422b9b
|Trizooka
|Trizooka
Line 151: Line 151:
|Tower Control
|Tower Control
|Rainmaker
|Rainmaker
|Power Clam=border-left:solid 2px #E1BB18; border-right:solid 2px #E1BB18; border-top:solid 5px #E1BB18; border-bottom:solid 5px #E1BB18; background-color:#FAD431
|Power Clam=background: #fcc40b; border:solid 3px #e0bc16; border-top: solid 3px #fef47a; border-bottom: solid 3px #826c11
|Hero Shot
|Hero Shot
Line 164: Line 164:
|Judd
|Judd
|Li'l Judd
|Li'l Judd
|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=background: #5fb6fb; border:solid 3px #d2c6fe; border-top: solid 3px #bddffa; border-bottom: solid 3px #7281f6
|#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; float:left"
|#default=background: #533ada; border:solid 3px #7a5ee0; border-top: solid 3px #c3b2e0; border-bottom: solid 3px #422b9b}}; height:20px; width:20px; text-align:center; transform:rotate(-45deg); display:inline-block">
!{{#switch:{{{1|}}}
<div style="color: #fff; height:20px; width:20px; transform: rotate(45deg); vertical-align:middle; text-align:center"><p style="margin:unset; ">'''{{#switch:{{{1|}}}
|Burst Bomb=1
|Burst Bomb=1
Line 348: Line 349:
|#default=?
|#default=?
}}
}}'''
|}</includeonly>
</p></div></div></includeonly>
<noinclude>
<noinclude>
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.
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.

Revision as of 19:28, 17 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|}}

?