Template:Tweakparamdef: Difference between revisions

From Imagisphere
Jump to navigation Jump to search
(Replaced "noinvert" with "imgclass")
No edit summary
 
Line 1: Line 1:
<includeonly>;{{#if: {{{icon|}}} | [[File:{{{icon|}}}|22px|class={{#if:{{{imgclass|}}} | {{{imgclass}}} | invert }}]] | }}{{{title|{{{1|Parameter Name}}}}}}: {{{desc|{{{2|Description}}}}}}</includeonly><noinclude>
<includeonly>;{{#if: {{{icon|}}} | [[File:{{{icon|}}}|22px|class={{#if:{{{imgclass|}}} | {{{imgclass}}} | invert }}]] | }}{{{title|{{{1|Parameter Name}}}}}}: {{{desc|{{{2|Description}}}}}}</includeonly><noinclude>
{{Tweakparamdef|icon=Tweak_Speech_Voice_Temp.png}}
{{Tweakparamdef|icon=Tweak_Speech_Voice_Temp.png}}
Use this to provide descriptions for tweak parameters, e.g. what the different Input Action settings do.
In cases where the functions of a tweak's diferent parameters isn't immediately clear (e.g. what the different Input Action settings do), use this to provide descriptions for tweak parameters.
==Usage==
==Usage==
<code><nowiki>{{tweakparamdef|icon=|imgclass=|title|desc}}</nowiki></code>
<code><nowiki>{{tweakparamdef|icon=|imgclass=|title|desc}}</nowiki></code>

Latest revision as of 01:31, 12 July 2024

Tweak Speech Voice Temp.pngParameter Name
Description

In cases where the functions of a tweak's diferent parameters isn't immediately clear (e.g. what the different Input Action settings do), use this to provide descriptions for tweak parameters.

Usage

{{tweakparamdef|icon=|imgclass=|title|desc}}

  • Use imgclass to apply one or more CSS classes to the image, separated by spaces.
    • If omitted or left empty, invert will be applied by default so that solid black icons appear white in dark mode.
    • If you don't want to apply any CSS class to your image, just type imgclass=n
  • Replace title and desc with the parameter's in-game title and a description of what it does respectively.