Noobyguy775 (talk | contribs) (Create /doc subpage for Template:Admin Panel/Stat) |
(it was outdated) Tag: 2017 source edit |
||
Line 2: | Line 2: | ||
;Parameters |
;Parameters |
||
* |
* text: self explanatory, the name of the input |
||
* |
* type: type of control to float on the right. Valid parameters are as follows: |
||
{| class="wikitable" |
{| class="wikitable" |
||
! Type |
! Type |
||
! What it's for |
|||
! Example |
! Example |
||
|- |
|- |
||
|toggle |
|toggle |
||
|booleans |
|||
||[[File:Admin panel slider.svg|100px|link=]] |
||[[File:Admin panel slider.svg|100px|link=]] |
||
|- |
|- |
||
|statedit |
|statedit |
||
|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</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=]] |
||
|- |
|||
|color |
|||
|colors |
|||
|<span style=color:#fbead4>[100, 100, 100]</span> <div style="display:box;background:rgb(100,100,100);border-radius:4px;width:100px"> </div> |
|||
|- |
|||
|name |
|||
|strings |
|||
|<div style="display:inline-box;background:#98816f;border-radius:4px;min-width:250px;color:#ffe4c2;text-align:center">name</div> |
|||
|- |
|||
|image |
|||
|asset IDs |
|||
|<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> |
|||
|- |
|||
|audio |
|||
|number and asset ID |
|||
|<!--flex1: speed --><div style="display:flex;flex-direction: column;align-items:center;margin-right:10px"><span style="color:#fbead4;text-align:center;font-size:90%;margin-top:20px">Speed</span><!-- |
|||
speed range--><div style="display:inline-box;background:#98816f;border-radius:4px;min-width:100px;color:#ffe4c2;text-align:center;padding:0 10px">0-100</div></div><!-- |
|||
flex2: audio preview + ID--><div style="display:flex;flex-direction: column;align-items:center"><div style="background:rgba(51, 41, 33, 0.4);border-radius:4px;margin-bottom:6px">[[File:Admin Panel audio.png|250px]]</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> |
|||
|} |
|} |
||
*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 |
Revision as of 17:12, 28 March 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 |
---|---|---|
toggle | booleans | ![]() |
statedit | numbers (integers and floating point numbers) | 0-100 Error creating thumbnail: File missing
|
color | colors | [100, 100, 100] |
name | strings | name
|
image | asset IDs | |
audio | number and asset ID | Speed 0-100 Error creating thumbnail: File missing 1474651727 |
- 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