Template:TKin: Difference between revisions

Template page
(Added back in the comma= argument.)
(I think everything works properly now? Also reduced the size of the input images.)
Line 1: Line 1:
{{#switch: {{{input}}}
{{#switch: {{{input}}}
  | 1 = [[File:TK-input-S.png|16px]]
  | 1 = [[File:TK-input-S.png|14px]]
  | 2 = [[File:TK-input-T.png|16px]]
  | 2 = [[File:TK-input-T.png|14px]]
  | 3 = [[File:TK-input-T.png|16px]]
  | 3 = [[File:TK-input-T.png|14px]]
  | 4 = [[File:TK-input-T.png|16px]]
  | 4 = [[File:TK-input-T.png|14px]]
  | 1+2 = [[File:TK-input-S.png|16px]][[File:TK-input-plus.png|12px]][[File:TK-input-T.png|16xp]]
  | 1+2 = [[File:TK-input-S.png|14px]][[File:TK-input-plus.png|12px]][[File:TK-input-T.png|14xp]]
  | 1+3 = [[File:TK-input-S.png|16xp]][[File:TK-input-plus.png|12px]][[File:TK-input-X.png|16xp]]
  | 1+3 = [[File:TK-input-S.png|14xp]][[File:TK-input-plus.png|12px]][[File:TK-input-X.png|14xp]]
  | 1+4 = [[File:TK-input-C.png|16xp]][[File:TK-input-plus.png|12px]][[File:TK-input-S.png|16xp]]
  | 1+4 = [[File:TK-input-C.png|14xp]][[File:TK-input-plus.png|12px]][[File:TK-input-S.png|14xp]]
  | 2+3 = [[File:TK-input-X.png|16xp]][[File:TK-input-plus.png|12px]][[File:TK-input-T.png|16xp]]
  | 2+3 = [[File:TK-input-X.png|14xp]][[File:TK-input-plus.png|12px]][[File:TK-input-T.png|14xp]]
  | 2+4 = [[File:TK-input-C.png|16xp]][[File:TK-input-plus.png|12px]][[File:TK-input-T.png|16xp]]
  | 2+4 = [[File:TK-input-C.png|14xp]][[File:TK-input-plus.png|12px]][[File:TK-input-T.png|14xp]]
  | 3+4 = [[File:TK-input-X.png|16xp]][[File:TK-input-plus.png|12px]][[File:TK-input-C.png|16xp]]
  | 3+4 = [[File:TK-input-X.png|14xp]][[File:TK-input-plus.png|12px]][[File:TK-input-C.png|14xp]]
  | l2+1 = [[File:TK-input-L2.png|16xp]][[File:TK-input-plus.png|12px]][[File:TK-input-S.png|16xp]]
  | l2+1 = [[File:TK-input-L2.png|14xp]][[File:TK-input-plus.png|12px]][[File:TK-input-S.png|14xp]]
  | l2+2 = [[File:TK-input-L2.png|16xp]][[File:TK-input-plus.png|12px]][[File:TK-input-T.png|16xp]]
  | l2+2 = [[File:TK-input-L2.png|14xp]][[File:TK-input-plus.png|12px]][[File:TK-input-T.png|14xp]]
  | l2+3 = [[File:TK-input-L2.png|16xp]][[File:TK-input-plus.png|12px]][[File:TK-input-X.png|16xp]]
  | l2+3 = [[File:TK-input-L2.png|14xp]][[File:TK-input-plus.png|12px]][[File:TK-input-X.png|14xp]]
  | l2+4 = [[File:TK-input-L2.png|16xp]][[File:TK-input-plus.png|12px]][[File:TK-input-C.png|16xp]]
  | l2+4 = [[File:TK-input-L2.png|14xp]][[File:TK-input-plus.png|12px]][[File:TK-input-C.png|14xp]]
  | f = [[File:TK-input-r.png|16xp]]
  | f = [[File:TK-input-r.png|14xp]]
  | b = [[File:TK-input-l.png|16xp]]
  | b = [[File:TK-input-l.png|14xp]]
  | u = [[File:TK-input-u.png|16xp]]
  | u = [[File:TK-input-u.png|14xp]]
  | d = [[File:TK-input-d.png|16xp]]
  | d = [[File:TK-input-d.png|14xp]]
  | qc = [[File:TK-input-qc.png|16xp]]
  | qc = [[File:TK-input-qc.png|14xp]]
  | hc = [[File:TK-input-hc.png|16xp]]
  | hc = [[File:TK-input-hc.png|14xp]]
  | fc = [[File:TK-input-fc.png|16xp]]
  | fc = [[File:TK-input-fc.png|14xp]]
  | #default = [[File:TK-input-S.png|16xp]] }}{{#switch: {{{c}}}
  | #default = [[File:TK-input-S.png|14xp]] }}{{#switch: {{{c}}}
  | 1 = [[File:TK-input-comma.png|10px]]
  | 1 = [[File:TK-input-comma.png|10px]]
  | #default = }}<noinclude>
  | #default = }}<noinclude>

Revision as of 00:27, 18 April 2023

14xp

Template DocumentationEdit This Documentation
"TKin" (Short for Thrill Kill INput) is a template used to easily insert Thrill Kill combo strings into pages without it turning into 80,000 uses of [[File:Input_Whatever_Who_Cares.png|16px]] to achieve the look of how strings appear when performed in the game's training mode. It has three arguments, two of which are optional: i=, c=, and p=.

i

i= is short for input. It's what button image the template should throw up. Here's the available list:

  • 1 - 14xp
  • 2 - 14xp
  • 3 - 14xp
  • 4 - 14xp
  • l2+1 - 14xp
  • l2+2 - 14xp
  • l2+3 - 14xp
  • l2+4 - 14xp
  • 1+2 - 14xp
  • 1+3 - 14xp
  • 1+4 - 14xp
  • 2+3 - 14xp
  • 2+4 - 14xp
  • 3+4 - 14xp
  • 1+2+4 - 14xp (Blame Belladonna for this one.)
  • 1+2+3+4 - 14xp (Blame Mammoth for this one.)
  • f - 14xp
  • b - 14xp
  • u - 14xp
  • d - 14xp
  • qc - 14xp
  • hc - 14xp
  • fc - 14xp

c

c= is short for comma. It is an optional argument that, if equal to 1, adds the comma image after the input. If c= is equal to any other value (or if it doesn't exist), nothing is printed.

So...

{{TKin|i=1|c=1}}{{TKin|i=1|c=1}}{{TKin|i=3|c=1}}{{TKin|i=qc|c=1}}{{TKin|i=3}}

...outputs:

14xpTK-input-comma.png14xpTK-input-comma.png14xpTK-input-comma.png14xpTK-input-comma.png14xp

p

p= is short for parry. It is an optional argument that, if present, highlights an input either blue if p=h (and can be countered high), or red if p=l (is able to be countered low).

So...

{{TKin|i=1|c=1|p=h}}{{TKin|i=1|c=1}}{{TKin|i=2|c=1}}{{TKin|i=f|c=1}}{{TKin|i=2|c=1}}{{TKin|i=1+2|c=1|p=l}}{{TKin|i=f|c=1}}{{TKin|i=1|c=1|p=h}}{{TKin|i=3|c=1}}{{TKin|i=3|c=1|p=l}}{{TKin|i=3|c=1|p=h}}{{TKin|i=b|c=1}}{{TKin|i=f|c=1}}{{TKin|i=4|c=1|p=l}}{{TKin|i=4|c=1|p=h}}{{TKin|i=3+4}}

...outputs:

14xpTK-input-comma.png14xpTK-input-comma.png14xpTK-input-comma.png14xpTK-input-comma.png14xpTK-input-comma.png14xpTK-input-comma.png14xpTK-input-comma.png14xpTK-input-comma.png14xpTK-input-comma.png14xpTK-input-comma.png14xpTK-input-comma.png14xpTK-input-comma.png14xpTK-input-comma.png14xpTK-input-comma.png14xpTK-input-comma.png14xp

This documentation is automatically transcluded from Template:TKin/Documentation and is not included when this page is transcluded.