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

Template:Weather: Difference between revisions

Template page
Use Cargo-safe ModuleKey field
Remove Roblox asset ID and Lua key from weather data
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
_table=Weathers
_table=Weathers
|Name={{{name|{{PAGENAME}}}}}
|Name={{{name|{{PAGENAME}}}}}
|ModuleKey={{{module key|}}}
|Type={{{type|Standard}}}
|Type={{{type|Standard}}}
|IconAsset={{{icon asset|}}}
|Effect={{{effect|None}}}
|Effect={{{effect|None}}}
|LuckFactor={{{luck factor|1}}}
|LuckFactor={{{luck factor|1}}}
Line 18: Line 16:
<div class="hw-infobox-badge">{{{type|Standard}}} weather</div>
<div class="hw-infobox-badge">{{{type|Standard}}} weather</div>
<div class="hw-infobox-heading">Weather Data</div>
<div class="hw-infobox-heading">Weather Data</div>
<div class="hw-infobox-row"><div class="hw-infobox-label">Lua Key</div><div class="hw-infobox-value"><code>{{{module key|—}}}</code></div></div>
<div class="hw-infobox-row"><div class="hw-infobox-label">Roblox Asset ID</div><div class="hw-infobox-value"><code>{{{icon asset|—}}}</code></div></div>
<div class="hw-infobox-row"><div class="hw-infobox-label">Luck</div><div class="hw-infobox-value">×{{{luck factor|1}}}</div></div>
<div class="hw-infobox-row"><div class="hw-infobox-label">Luck</div><div class="hw-infobox-value">×{{{luck factor|1}}}</div></div>
<div class="hw-infobox-heading">Effect</div>
<div class="hw-infobox-heading">Effect</div>
Line 28: Line 24:
_table=Weathers
_table=Weathers
|Name=String
|Name=String
|ModuleKey=String
|Type=String
|Type=String
|IconAsset=String
|Effect=String
|Effect=String
|LuckFactor=Float
|LuckFactor=Float
Line 41: Line 35:
{{Weather
{{Weather
| name = Storm
| name = Storm
| module key = Storm
| type = Standard
| type = Standard
| icon asset = 129991496783874
| effect = 2x Luck
| effect = 2x Luck
| luck factor = 2
| luck factor = 2

Latest revision as of 13:16, 27 July 2026

This template defines the table "Weathers". View table. This template stores and displays one centralized weather record.

Usage

{{Weather
| name = Storm
| type = Standard
| effect = 2x Luck
| luck factor = 2
| description = A powerful standard weather event.
}}
Contents