Template:RangedWeaponInfo: Difference between revisions

From Dune: Awakening Community Wiki
Jump to navigation Jump to search
(Updated template.)
(Updated and hooked template parameters.)
Line 4: Line 4:
{
{
"params": {
"params": {
"Damage Type": {
"name": {
"label": "Name",
"description": "The weapon's name.",
"example": "Maula Pistol",
"type": "string",
"required": true
},
"image": {
"label": "Image",
"description": "The weapon's image (upload file).",
"type": "wiki-file-name",
"suggested": true
},
"damage type": {
"label": "Damage Type",
"label": "Damage Type",
"description": "The weapon's damage type.",
"description": "The weapon's damage type.",
Line 10: Line 23:
"type": "string"
"type": "string"
},
},
"Fire Mode": {
"fire mode": {
"label": "Fire Mode",
"label": "Fire Mode",
"description": "The weapon's fire mode.",
"description": "The weapon's fire mode.",
Line 16: Line 29:
"type": "string"
"type": "string"
},
},
"ADS Mode": {
"ads mode": {
"label": "ADS Mode",
"label": "ADS Mode",
"description": "The weapon's ADS mode.",
"description": "The weapon's ADS mode.",
Line 22: Line 35:
"type": "string"
"type": "string"
},
},
"Damage Per Shot": {
"damage per shot": {
"label": "Damage Per Shot",
"label": "Damage Per Shot",
"description": "The weapon's damage per shot.",
"description": "The weapon's damage per shot.",
Line 28: Line 41:
"type": "string"
"type": "string"
},
},
"Rate of Fire": {
"rate of fire": {
"label": "Rate of Fire",
"label": "Rate of Fire",
"description": "The weapon's rate of fire.",
"description": "The weapon's rate of fire.",
Line 34: Line 47:
"type": "string"
"type": "string"
},
},
"Clip Size": {
"clip size": {
"label": "Clip Size",
"label": "Clip Size",
"description": "The weapon's clip size.",
"description": "The weapon's clip size.",
Line 40: Line 53:
"type": "string"
"type": "string"
},
},
"Reload Speed": {
"reload speed": {
"label": "Reload Speed",
"label": "Reload Speed",
"description": "The weapon's reload speed.",
"description": "The weapon's reload speed.",
Line 46: Line 59:
"type": "string"
"type": "string"
},
},
"Effective Range": {
"effective range": {
"label": "Effective Range",
"label": "Effective Range",
"description": "The weapon's effective range.",
"description": "The weapon's effective range.",
Line 52: Line 65:
"type": "string"
"type": "string"
},
},
"Accuracy": {
"accuracy": {
"label": "Accuracy",
"label": "Accuracy",
"description": "The weapon's accuracy.",
"description": "The weapon's accuracy.",
Line 58: Line 71:
"type": "string"
"type": "string"
},
},
"Stability": {
"stability": {
"label": "Stability",
"label": "Stability",
"description": "The weapon's stability.",
"description": "The weapon's stability.",
Line 68: Line 81:
"format": "block",
"format": "block",
"paramOrder": [
"paramOrder": [
"Damage Type",
"name",
"Fire Mode",
"image",
"ADS Mode",
"damage type",
"Damage Per Shot",
"fire mode",
"Rate of Fire",
"ads mode",
"Clip Size",
"damage per shot",
"Reload Speed",
"rate of fire",
"Effective Range",
"clip size",
"Accuracy",
"reload speed",
"Stability"
"effective range",
"accuracy",
"stability"
]
]
}</templatedata>
}</templatedata>
Line 87: Line 102:
|header10 = Statistics
|header10 = Statistics
|label11  = Damage Type
|label11  = Damage Type
|data11  = {{{Damage Type|}}}
|data11  = {{{damage type|}}}
|label12  = Fire Mode
|label12  = Fire Mode
|data12  = {{{Fire Mode|}}}
|data12  = {{{fire mode|}}}
|label13  = ADS Mode
|label13  = ADS Mode
|data13  = {{{ADS Mode}}}
|data13  = {{{ads mode}}}
|label14  = Damage Per Shot
|label14  = Damage Per Shot
|data14  = {{{Damage Per Shot}}}
|data14  = {{{damage per shot}}}
|label15  = Rate of Fire
|label15  = Rate of Fire
|data15  = {{{Rate of Fire}}}
|data15  = {{{rate of fire}}}
|label16  = Clip Size
|label16  = Clip Size
|data16  = {{{Clip Size}}}
|data16  = {{{clip size}}}
|label17  = Reload Speed
|label17  = Reload Speed
|data17  = {{{Reload Speed}}}
|data17  = {{{reload speed}}}
|label18  = Effective Range
|label18  = Effective Range
|data18  = {{{Effective Range}}}
|data18  = {{{effective range}}}
|label19  = Accuracy
|label19  = Accuracy
|data19  = {{{Accuracy}}}
|data19  = {{{accuracy}}}
|label20  = Stability
|label20  = Stability
|data20  = {{{Stability}}}
|data20  = {{{stability}}}
}}
}}

Revision as of 04:41, 22 August 2024

An infobox for displaying in-game statistic information for ranged weapons.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The weapon's name.

Example
Maula Pistol
Stringrequired
Imageimage

The weapon's image (upload file).

Filesuggested
Damage Typedamage type

The weapon's damage type.

Example
Light Dart
Stringoptional
Fire Modefire mode

The weapon's fire mode.

Example
Semi-Automatic
Stringoptional
ADS Modeads mode

The weapon's ADS mode.

Example
Combat
Stringoptional
Damage Per Shotdamage per shot

The weapon's damage per shot.

Example
3.2
Stringoptional
Rate of Firerate of fire

The weapon's rate of fire.

Example
399 RPM
Stringoptional
Clip Sizeclip size

The weapon's clip size.

Example
18
Stringoptional
Reload Speedreload speed

The weapon's reload speed.

Example
1.8 s
Stringoptional
Effective Rangeeffective range

The weapon's effective range.

Example
70 m
Stringoptional
Accuracyaccuracy

The weapon's accuracy.

Example
0.40
Stringoptional
Stabilitystability

The weapon's stability.

Example
1.0
Stringoptional


{{{name}}}
[[File:|frameless|325px]]
Statistics
ADS Mode{{{ads mode}}}
Damage Per Shot{{{damage per shot}}}
Rate of Fire{{{rate of fire}}}
Clip Size{{{clip size}}}
Reload Speed{{{reload speed}}}
Effective Range{{{effective range}}}
Accuracy{{{accuracy}}}
Stability{{{stability}}}