User:CanvasK/SpiritType: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Reducing bytes with "close-enough" colors)
m (Trouble-shooting for t:SpiritType)
Line 1: Line 1:
<includeonly>[[File:SpiritType{{{1|Neutral}}}.png|{{{s|20}}}px|center|{{{1|Neutral}}}]]{{#if:{{{text|}}}|<center>{{color|{{#switch:{{{1|Neutral}}}|Neutral=#768|Attack=#E22|Shield=#2AF|Grab=#2B2|Support=#666}}|{{{1|Neutral}}}}}</center>}}</includeonly><noinclude>
[[File:SpiritType{{{1|Neutral}}}.png|{{{s|20}}}px|{{{a|center}}}|link=]]<noinclude>
==Usage==
<code><nowiki>{{User:CanvasK/SpiritType|Type|s=size in pixels|a=alignment}}</nowiki></code>
 
Type is case-sensitive. Both '''s''' defaults to 20 (only a number is needed), '''a''' defaults to center.
==Examples==
==Examples==
<code><nowiki>{{User:CanvasK/SpiritType|Grab}}</nowiki></code>
<code><nowiki>{{User:CanvasK/SpiritType|Grab}}</nowiki></code>
{{User:CanvasK/SpiritType|Grab|s=20}}
{{User:CanvasK/SpiritType|Grab}}
<code><nowiki>{{User:CanvasK/SpiritType|Attack|s=30|text=y}}</nowiki></code>
<code><nowiki>{{User:CanvasK/SpiritType|Attack|s=30|a=left}}</nowiki></code>
{{User:CanvasK/SpiritType|Attack|s=30|text=y}}
{{User:CanvasK/SpiritType|Attack|s=30|a=left}}
 
==Usage==
<code><nowiki>{{User:CanvasK/SpiritType|Type|s=<size in pixels, defaults to 16>|text=<controls if the type's name should be displayed>}}</nowiki></code>


Type is case-sensitive. Both '''s''' and '''text''' are optional.</noinclude>
{|class="wikitable sortable" style="width:100%;"
|351
|[[File:Daroach.png|center|108x108px]]
|{{anchor|Daroach}}Daroach
|{{User:CanvasK/SpiritType|Attack|s=20}}
|★★★
|•Summon with cores from Count Cannoli, Mouser, and any two {{User:CanvasK/SpiritType|Neutral|a=}} cores
|}</noinclude>

Revision as of 19:26, October 25, 2020

SpiritTypeNeutral.png

Usage

{{User:CanvasK/SpiritType|Type|s=size in pixels|a=alignment}}

Type is case-sensitive. Both s defaults to 20 (only a number is needed), a defaults to center.

Examples

{{User:CanvasK/SpiritType|Grab}}

SpiritTypeGrab.png

{{User:CanvasK/SpiritType|Attack|s=30|a=left}}

SpiritTypeAttack.png
351 Daroach
SpiritTypeAttack.png
★★★ •Summon with cores from Count Cannoli, Mouser, and any two 20px link= cores