Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
DOORS Site Logo

Welcome to the Official DOORS Wiki!
Please read the Wiki Rules the Manual of Style and familiarise yourself with our Wiki Policies before contributing to get a better understanding of what content is allowed on our wiki and how to display it properly, if you need help don't hesitate to reach out to a DOORS Wiki Staff Member.

Template:Admin Panel/Stat/doc: Difference between revisions

Template page
(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 text to display
* text: self explanatory, the name of the input
* Type: type of control to float on the right. Valid parameters are as follows:
* 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>&nbsp;[[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>&nbsp;[[File:Admin Panel Statedit.png|200x30px|link=]]
|-
|color
|colors
|<span style=color:#fbead4>[100,&nbsp;100,&nbsp;100]</span>&nbsp;<div style="display:box;background:rgb(100,100,100);border-radius:4px;width:100px">&nbsp;</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 Admin panel slider.svg
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
Placeholder.png
1474651727
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