Template:Performance: Difference between revisions

From VRChat Wiki
(Created page with "<onlyinclude>{{#switch: {{{1|medium}}} |excellent = alt=|{{{size|32}}}px|link= |good = alt=|{{{size|32}}}px|link= |medium = alt=|{{{size|32}}}px|link= |poor = alt=|{{{size|32}}}px|link= |verypoor = alt=|{{{size|32}}}px|link= |alt=|{{{size|32}}}px|link= }}</onlyinclude> {{templatedocs}} Category:Templates Category:Tem...")
 
(some fixes)
Line 1: Line 1:
<onlyinclude>{{#switch: {{{1|medium}}}
<onlyinclude>{{#switch: {{{1|medium}}}
  |excellent = [[File:perf excellent.png|alt=|{{{size|32}}}px|link=]]
  |excellent = [[File:perf excellent.png|alt=|{{{2|32}}}px|link=]]
  |good = [[File:perf good.png|alt=|{{{size|32}}}px|link=]]
  |good = [[File:perf good.png|alt=|{{{2|32}}}px|link=]]
  |medium = [[File:perf medium.png|alt=|{{{size|32}}}px|link=]]
  |medium = [[File:perf medium.png|alt=|{{{2|32}}}px|link=]]
  |poor = [[File:perf poor.png|alt=|{{{size|32}}}px|link=]]
  |poor = [[File:perf poor.png|alt=|{{{2|32}}}px|link=]]
  |verypoor = [[File:perf vpoor.png|alt=|{{{size|32}}}px|link=]]
  |verypoor = [[File:perf vpoor.png|alt=|{{{2|32}}}px|link=]]
  |[[File:LCZayin.png|alt=|{{{size|32}}}px|link=]]
  |[[File:perf medium.png|alt=|{{{2|32}}}px|link=]]
  }}</onlyinclude>
  }}</onlyinclude>
{{templatedocs}}
{{templatedocs}}
[[Category:Templates]]
[[Category:Templates]]
[[Category:Templates/inline icons]]
[[Category:Templates/inline icons]]

Revision as of 19:14, 7 June 2024

Documentation

Allows for the usage of performance icons.

Example Usage

{{performance|excellent|64px}}

will make:

Template parameters

Caption text
Name Variable Description
Rank 1 good|medium|poor|verypoor (defaults to medium)
Size 2 (Optional) size of the image file, default is 64px