User:CanvasK/SpiritType: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(A simple template for my proposal if it goes through)
 
m (Text replacement - "{{[Cc]lear}}" to "{{clr}}")
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>[[File:SpiritType{{{t|Neutral}}}.png|{{{s|20}}}px|center|{{{t|Neutral}}}]] {{#ifeq:{{{text|}}}|y|<center>{{color|{{#switch:{{{t|Neutral}}}|Neutral = #796581|Attack = #dc1029|Shield = #18aef5|Grab = #17ba17|Support = #666666}}| {{{t|Neutral}}}}}</center>}}</includeonly><noinclude>
[[File:SpiritType{{{1|Neutral}}}.png{{#if:{{{a|}}}|{{!}}{{{a}}}}}|{{{s|20}}}px|{{{1|Neutral}}}|link=]]<noinclude>
<pre>
==Usage==
t    : Type, case-sensitive
<code><nowiki>{{User:CanvasK/SpiritType|Type|s=size in pixels|a=alignment}}</nowiki></code>
s     : Size in pixels
 
text  : Controls if the type name should be listed under the icon. Use 'y' to enable
Type is case-sensitive. Both '''s''' defaults to 20 (only a number is needed), '''a''' defaults to center.
</pre>
==Examples==
<code><nowiki>{{User:CanvasK/SpiritType|t=Grab|s=20}}</nowiki></code>
<code><nowiki>{{User:CanvasK/SpiritType|Grab}}</nowiki></code>
{{User:CanvasK/SpiritType|t=Grab|s=20}}
{{User:CanvasK/SpiritType|Grab}}
<code><nowiki>{{User:CanvasK/SpiritType|t=Attack|s=30|text=y}}</nowiki></code>
<code><nowiki>{{User:CanvasK/SpiritType|Attack|s=30|a=left}}</nowiki></code>
{{User:CanvasK/SpiritType|t=Attack|s=30|text=y}}</noinclude>
{{User:CanvasK/SpiritType|Attack|s=30|a=left}}
 
{{clr}}
Test [[File:SpiritTypeAttack.png|30px|Attack{{#if:left|{{!}}left}}|link=]]
 
{{clr}}
Test {{User:CanvasK/SpiritType|Attack|s=30|a=}}
 
{{clr}}
Test {{User:CanvasK/SpiritType|Attack|s=30}}
 
{|class="wikitable sortable" style="width:100%;"
|351
|[[File:SSBU spirit Daroach.png|center|108x108px]]
|{{anchor|Daroach}}Daroach
|[[File:SpiritTypeAttack.png|20px|Attack{{#if:|{{!}}{{{a}}}}}|link=]]
|★★★
|•Summon with cores from Count Cannoli, Mouser, and any two {{User:CanvasK/SpiritType|Neutral|a=}} cores
|}</noinclude>

Latest revision as of 12:53, September 16, 2022

Neutral

Usage[edit]

{{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[edit]

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

Attack

Test

Attack

Test Attack

Test Attack

351
SSBU spirit Daroach.png
Daroach Attack ★★★ •Summon with cores from Count Cannoli, Mouser, and any two Neutral cores