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

Performance ranking icon

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Performance Ranking1

What performance rank icon you want displayed

Suggested values
excellent good medium poor verypoor
Default
medium
Example
excellent
Stringsuggested
Icon size (in pixels)2

Changes the size of the icon in pixels.

Suggested values
16 32 64 128
Default
32
Numbersuggested