Template:Credits: Difference between revisions

From VRChat Wiki
m makes it so size can be changed
~Pausbe (talk | contribs)
move template categories to doc page
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<onlyinclude>[[File:Icons Credits.png|alt=|{{{|16}}}px|link=]]</onlyinclude>
<onlyinclude><span style="white-space: pre;">[[File:Icons Credits.png|alt=VRChat credits icon|{{{size|16}}}px|link=]]{{{1|}}}</span></onlyinclude>
{{templatedocs}}
<noinclude>{{Documentation}}</noinclude>
[[Category:Templates]]
[[Category:Templates/inline icons]]

Latest revision as of 04:13, 21 April 2026

VRChat credits icon

Examples

Just icon

{{credits}}

VRChat credits icon

Bigger icon

{{credits|size=64}}

VRChat credits icon

With value

{{credits|420}}

VRChat credits icon420

TemplateData documentation

Allows for the credits icon to be utilized in-line, as well as using it as a currency and displaying a value next to without any line breaking.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Value1

Value displayed next to the icon, so it can be used as a currency. Line break between the icon and text is prevented.

Example
420
Stringoptional
Size (in pixels)size

Defaults to 16px

Suggested values
16 32 64 128
Default
16
Numberoptional