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
Create centralized Weather Cargo template
 
Use Cargo-safe ModuleKey field
Line 2: Line 2:
_table=Weathers
_table=Weathers
|Name={{{name|{{PAGENAME}}}}}
|Name={{{name|{{PAGENAME}}}}}
|Key={{{key|}}}
|ModuleKey={{{module key|}}}
|Type={{{type|Standard}}}
|Type={{{type|Standard}}}
|IconAsset={{{icon asset|}}}
|IconAsset={{{icon asset|}}}
Line 18: Line 18:
<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>{{{key|—}}}</code></div></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">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>
Line 28: Line 28:
_table=Weathers
_table=Weathers
|Name=String
|Name=String
|Key=String
|ModuleKey=String
|Type=String
|Type=String
|IconAsset=String
|IconAsset=String
Line 41: Line 41:
{{Weather
{{Weather
| name = Storm
| name = Storm
| key = Storm
| module key = Storm
| type = Standard
| type = Standard
| icon asset = 129991496783874
| icon asset = 129991496783874

Revision as of 12:43, 27 July 2026

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

Usage

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