Template:Performance: Difference between revisions

From VRChat Wiki
(some fixes)
No edit summary
Line 1: Line 1:
<onlyinclude>{{#switch: {{{1|medium}}}
<onlyinclude>{{#switch: {{{1|medium}}}
  |excellent = [[File:perf excellent.png|alt=|{{{2|32}}}px|link=]]
  |excellent = [[File:Perf excellent.png|alt=|{{{2|32}}}px|link=]]
  |good = [[File:perf good.png|alt=|{{{2|32}}}px|link=]]
  |good = [[File:Perf good.png|alt=|{{{2|32}}}px|link=]]
  |medium = [[File:perf medium.png|alt=|{{{2|32}}}px|link=]]
  |medium = [[File:Perf medium.png|alt=|{{{2|32}}}px|link=]]
  |poor = [[File:perf poor.png|alt=|{{{2|32}}}px|link=]]
  |poor = [[File:Perf poor.png|alt=|{{{2|32}}}px|link=]]
  |verypoor = [[File:perf vpoor.png|alt=|{{{2|32}}}px|link=]]
  |verypoor = [[File:Perf vpoor.png|alt=|{{{2|32}}}px|link=]]
  |[[File:perf medium.png|alt=|{{{2|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:18, 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