(it was outdated) Tag: 2017 source edit |
Noobyguy775 (talk | contribs) (add valid inputs as a column in table) |
||
Line 8: | Line 8: | ||
! What it's for |
! What it's for |
||
! Example |
! Example |
||
! Paramters |
|||
|- |
|- |
||
|toggle |
|toggle |
||
|booleans |
|booleans |
||
|[[File:Admin panel slider.svg|100px|link=]] |
|||
|No other parameters |
|||
|- |
|- |
||
|statedit |
|statedit |
||
|numbers (integers and floating point numbers) |
|numbers (integers and floating point numbers) |
||
|style="display: flex; align-items: center;" |<div style="display:inline-box;background:#98816f;border-radius:4px;width:60px;height:30px;color:#fbead4;text-align:center">0-100</div> [[File:Admin Panel Statedit.png|200x30px|link=]] |
|style="display: flex; align-items: center;" |<div style="display:inline-box;background:#98816f;border-radius:4px;width:60px;height:30px;color:#fbead4;text-align:center">0-100</div> [[File:Admin Panel Statedit.png|200x30px|link=]] |
||
| |
|||
*<code><nowiki>{{{range}}}</nowiki></code>: range of the slider, range |
|||
|- |
|- |
||
|color |
|color |
||
|colors |
|colors |
||
|<span style=color:#fbead4>[100, 100, 100]</span> <div style="display:box;background:rgb(100,100,100);border-radius:4px;width:100px"> </div> |
|<span style=color:#fbead4>[100, 100, 100]</span> <div style="display:box;background:rgb(100,100,100);border-radius:4px;width:100px"> </div> |
||
| |
|||
*<code><nowiki>{{{R}}}</nowiki></code>: Red value, integer |
|||
*<code><nowiki>{{{G}}}</nowiki></code>: Green value, integer |
|||
*<code><nowiki>{{{B}}}</nowiki></code>: Blue value, integer |
|||
together, these form the preview color (<code><nowiki>rgb({{{R}}},{{{G}}},{{{B}}})</nowiki></code>) as well as the value to the left |
|||
|- |
|- |
||
|name |
|name |
||
|strings |
|strings |
||
|<div style="display:inline-box;background:#98816f;border-radius:4px;min-width:250px;color:#ffe4c2;text-align:center">name</div> |
|<div style="display:inline-box;background:#98816f;border-radius:4px;min-width:250px;color:#ffe4c2;text-align:center">name</div> |
||
| |
|||
*<code><nowiki>{{{name}}}</nowiki></code>: any text input, string |
|||
|- |
|- |
||
|image |
|image |
||
|image displays |
|||
|asset IDs |
|||
|<div style="display:flex;flex-direction: column;align-items:center">[[File:placeholder.png|100px]]<!-- |
|<div style="display:flex;flex-direction: column;align-items:center">[[File:placeholder.png|100px]]<!-- |
||
--><div style="background:#98816f;border-radius:4px;width:250px;color:#ffe4c2;text-align:center">1474651727</div></div> |
--><div style="background:#98816f;border-radius:4px;width:250px;color:#ffe4c2;text-align:center">1474651727</div></div> |
||
| |
|||
*<code><nowiki>{{{file}}}</nowiki></code>: any file hosted on the wiki (excluding File: prefix), string |
|||
*<code><nowiki>{{{ID}}}</nowiki></code>: Roblox asset ID of the image, integer |
|||
|- |
|- |
||
|audio |
|audio |
||
Line 37: | Line 51: | ||
ID--><div style="display:inline-box;background:#98816f;border-radius:4px;width:250px;color:#ffe4c2;text-align:center;font-size:110%">1474651727</div><!-- |
ID--><div style="display:inline-box;background:#98816f;border-radius:4px;width:250px;color:#ffe4c2;text-align:center;font-size:110%">1474651727</div><!-- |
||
--></div> |
--></div> |
||
| |
|||
*<code><nowiki>{{{range}}}</nowiki></code>: speed of the file, range |
|||
*<code><nowiki>{{{ID}}}</nowiki></code>: Roblox asset ID of the audio, integer |
|||
|} |
|} |
||
*range: the minimum and maximum for statedit and audio |
|||
*R: the red for color |
|||
*G: the green for color |
|||
*B: the blue for color |
|||
*file: the picture for image (just the name and file extension) |
|||
*ID: the Roblox asset ID for image and audio |
Latest revision as of 04:09, 6 April 2025
Used to create stat editor elements on Admin Panel
- Parameters
- text: self explanatory, the name of the input
- type: type of control to float on the right. Valid parameters are as follows:
Type | What it's for | Example | Paramters |
---|---|---|---|
toggle | booleans | ![]() |
No other parameters |
statedit | numbers (integers and floating point numbers) | 0-100 Error creating thumbnail: File missing
|
|
color | colors | [100, 100, 100] |
together, these form the preview color ( |
name | strings | name
|
|
image | image displays |
| |
audio | number and asset ID | Speed 0-100 Error creating thumbnail: File missing 1474651727 |
|