Template:RangedWeaponInfo: Difference between revisions

From Dune: Awakening Community Wiki
Jump to navigation Jump to search
(Created template.)
 
m (Removed excess characters.)
 
(6 intermediate revisions by the same user not shown)
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.",
"example": "Light Dart",
"example": "Light Dart",
"type": "string"
"type": "string",
"suggested": true
},
},
"Fire Mode": {
"fire mode": {
"label": "Fire Mode",
"label": "Fire Mode",
"description": "The weapon's fire mode.",
"description": "The weapon's fire mode.",
"example": "Semi-Automatic",
"example": "Semi-Automatic",
"type": "string"
"type": "string",
"suggested": true
},
},
"ADS Mode": {
"ads mode": {
"label": "ADS Mode",
"label": "ADS Mode",
"description": "The weapon's ADS mode.",
"description": "The weapon's ADS mode.",
"example": "Combat",
"example": "Combat",
"type": "string"
"type": "string",
"suggested": true
},
},
"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.",
"example": "3.2",
"example": "3.2",
"type": "string"
"type": "string",
"suggested": true
},
},
"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.",
"example": "399 RPM",
"example": "399 RPM",
"type": "string"
"type": "string",
"suggested": true
},
},
"Clip Size": {
"clip size": {
"label": "Clip Size",
"label": "Clip Size",
"description": "The weapon's clip size.",
"description": "The weapon's clip size.",
"example": "18",
"example": "18",
"type": "string"
"type": "string",
"suggested": true
},
},
"Reload Speed": {
"reload speed": {
"label": "Reload Speed",
"label": "Reload Speed",
"description": "The weapon's reload speed.",
"description": "The weapon's reload speed.",
"example": "1.8 s",
"example": "1.8 s",
"type": "string"
"type": "string",
"suggested": true
},
},
"Effective Range": {
"effective range": {
"label": "Effective Range",
"label": "Effective Range",
"description": "The weapon's effective range.",
"description": "The weapon's effective range.",
"example": "70 m",
"example": "70 m",
"type": "string"
"type": "string",
"suggested": true
},
},
"Accuracy": {
"accuracy": {
"label": "Accuracy",
"label": "Accuracy",
"description": "The weapon's accuracy.",
"description": "The weapon's accuracy.",
"example": "0.40",
"example": "0.40",
"type": "string"
"type": "string",
"suggested": true
},
},
"Stability": {
"stability": {
"label": "Stability",
"label": "Stability",
"description": "The weapon's stability.",
"description": "The weapon's stability.",
"example": "1.0",
"example": "1.0",
"type": "string"
"type": "string",
"suggested": true
}
}
},
},
Line 68: Line 91:
"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 84: Line 109:
{{Infobox
{{Infobox
|title    = {{{name}}}
|title    = {{{name}}}
|image    = [[File:{{{logo|}}}|frameless|325px]]
|image    = [[File:{{{image}}}|frameless|325px]]
|header10 = Guild Summary
|header10 = Statistics
|label11  = Established
|label11  = Damage Type
|data11  = {{{established|}}}
|data11  = {{{damage type}}}
|label12  = Members
|label12  = Fire Mode
|data12  = {{{members|}}}
|data12  = {{{fire mode}}}
|label13  = Focus
|label13  = ADS Mode
|data13  = {{{focus}}}
|data13  = {{{ads mode}}}
 
|label14 = Damage Per Shot
|header20 = Membership
|data14   = {{{damage per shot}}}
|label21  = Recruitment
|label15 = Rate of Fire
|data21  = {{{recruitment}}}
|data15   = {{{rate of fire}}}
|label22 = Platform
|label16 = Clip Size
|data22  = {{{platform|}}}
|data16   = {{{clip size}}}
|label23  = Language
|label17 = Reload Speed
|data23   = {{{language|}}}
|data17   = {{{reload speed}}}
|label24 = Timezones
|label18 = Effective Range
|data24   = {{{timezones|}}}
|data18   = {{{effective range}}}
|label25 = Activities
|label19 = Accuracy
|data25   = {{{activities|}}}
|data19   = {{{accuracy}}}
 
|label20 = Stability
|header30 = {{#ifeq:
|data20   = {{{stability}}}
              {{#ifeq: {{{pve|1}}} | {{{pve|0}}} | 1 | }}
              {{#ifeq: {{{pvp|1}}} | {{{pvp|0}}} | 1 | }}
              {{#ifeq: {{{rp|1}}} | {{{rp|0}}} | 1 | }}
              {{#ifeq: {{{majorHouse|1}}} | {{{majorHouse|0}}} | 1 | }}
              | | | Play Style}}
|label31 = PVE
|data31   = {{{pve|}}}
|label32 = PVP
|data32   = {{{pvp|}}}
|label33 = RP
|data33   = {{{rp|}}}
|label34 = Major House
|data34   = {{{majorHouse|}}}
 
|header40 = {{#ifeq:
              {{#ifeq: {{{discord|1}}} | {{{discord|0}}} | 1 | }}
              {{#ifeq: {{{website|1}}} | {{{website|0}}} | 1 | }}
              {{#ifeq: {{{twitter|1}}} | {{{twitter|0}}} | 1 | }}
              {{#ifeq: {{{facebook|1}}} | {{{facebook|0}}} | 1 | }}
              {{#ifeq: {{{instagram|1}}} | {{{instagram|0}}} | 1 |}}
              {{#ifeq: {{{youtube|1}}} | {{{youtube|0}}} | 1 |}}
              {{#ifeq: {{{reddit|1}}} | {{{reddit|0}}} | 1 | }}
              {{#ifeq: {{{mastodon|1}}} | {{{mastodon|0}}} | 1 |}}
              {{#ifeq: {{{bluesky|1}}} | {{{bluesky|0}}} | 1 |}}
              | | | Links}}
|label41 = Discord
|data41 = {{{discord|}}}
|label42 = Website
|data42 = {{{website|}}}
|label43 = X (Twitter)
|data43 = {{{twitter|}}}
|label44 = Facebook
|data44 = {{{facebook|}}}
|label45 = Instagram
|data45 = {{{instagram|}}}
|label46 = Youtube
|data46 = {{{youtube|}}}
|label47 = Reddit
|data47 = {{{reddit|}}}
|label48 = Mastodon
|data48 = {{{mastodon|}}}
|label49 = Bluesky
|data49 = {{{bluesky|}}}
}}
}}

Latest revision as of 06:00, 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
Stringsuggested
Fire Modefire mode

The weapon's fire mode.

Example
Semi-Automatic
Stringsuggested
ADS Modeads mode

The weapon's ADS mode.

Example
Combat
Stringsuggested
Damage Per Shotdamage per shot

The weapon's damage per shot.

Example
3.2
Stringsuggested
Rate of Firerate of fire

The weapon's rate of fire.

Example
399 RPM
Stringsuggested
Clip Sizeclip size

The weapon's clip size.

Example
18
Stringsuggested
Reload Speedreload speed

The weapon's reload speed.

Example
1.8 s
Stringsuggested
Effective Rangeeffective range

The weapon's effective range.

Example
70 m
Stringsuggested
Accuracyaccuracy

The weapon's accuracy.

Example
0.40
Stringsuggested
Stabilitystability

The weapon's stability.

Example
1.0
Stringsuggested


{{{name}}}
[[File:{{{image}}}|frameless|325px]]
Statistics
Damage Type{{{damage type}}}
Fire Mode{{{fire mode}}}
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}}}