Actions

Template

WeaponInfoCard: Difference between revisions

From Forsaken Planet

No edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:


<bootstrap_card header="{{{Name}}}" class="enemy-stats-card">
<bootstrap_card header="{{{Name}}}" class="enemy-stats-card">
{{{Image}}}
[[File:{{{Image}}}]]
{| class="table table-bordered"
{| class="table table-bordered"
! class="enemy-stats-line" colspan="2" |Details
! class="enemy-stats-line" colspan="2" |Details
|-
|-
!Icons
!Icons
|{{{Icons}}}
|{{#if:{{{Icon1Image|}}}|[[File:{{{Icon1Image}}}]]|''unspecified''}}{{#if:{{{Icon2Image|}}}|[[File:{{{Icon2Image}}}]]|}}{{#if:{{{Icon3Image|}}}|[[File:{{{Icon3Image}}}]]|}}{{#if:{{{Icon4Image|}}}|[[File:{{{Icon4Image}}}]]|}}{{#if:{{{Icon5Image|}}}|[[File:{{{Icon5Image}}}]]|}}{{#if:{{{Icon6Image|}}}|[[File:{{{Icon6Image}}}]]|}}{{#if:{{{Icon7Image|}}}|[[File:{{{Icon7Image}}}]]|}}{{#if:{{{Icon8Image|}}}|[[File:{{{Icon8Image}}}]]|}}{{#if:{{{Icon9Image|}}}|[[File:{{{Icon9Image}}}]]|}}
|-
|-
!Slot
!Slot
|{{{Slot}}}
|{{#ifeq:{{{IsHipSlotted|yes}}}|yes|[[Weapons#Hip_Slotted_Weapons |Hip]]|[[Weapons#Back_Slotted_Weapons |Back]]}}
|-
|-
!Attack Range
!Use
|{{{AttackRangeStyle}}}
| {{#switch:{{{Throwable}}} |yes=throwable |no=not throwable |with-perk=throwable with perk |not throwable}}{{#ifeq:{{{IsMelee|no}}}|yes|, melee|}}{{#ifeq:{{{IsCloseRange|no}}}|yes|, close-range|}}{{#ifeq:{{{IsMidRange|no}}}|yes|, mid-range|}}{{#ifeq:{{{IsLongRange|no}}}|yes|, long range|}}{{#ifeq:{{{IsDefensive|no}}}|yes|, defensive|}}{{#ifeq:{{{IsHealing|no}}}|yes|, healing|}}
 
{{#if:{{{RareAttackRange|{{{LegendaryAttackRange|}}}}}}|
{{#if:{{{RareAttackRange|{{{LegendaryAttackRange|}}}}}}|
{{!}}-
{{!}}-
Line 24: Line 25:
{{!}}{{{LegendaryAttackRange}}}
{{!}}{{{LegendaryAttackRange}}}
}}
}}
|-
 
! class="enemy-stats-line" colspan="2" |Perks
{{#if:{{{SecondaryRareAttackRange|{{{SecondaryLegendaryAttackRange|}}}}}}|
(see also: [[Perks|generic weapon perks]])
{{!}}-
! class="enemy-stats-line" colspan="2" {{!}}Damage Ranges
{{{SecondaryAttackRangeNote|''with reload''}}}
{{!}}-
!Rare
{{!}}{{{SecondaryRareAttackRange}}}
{{!}}-
!Legendary
{{!}}{{{SecondaryLegendaryAttackRange}}}
}}
 
{{#if:{{{Perk1Name|}}}|
{{#if:{{{Perk1Name|}}}|
{{!}}-
! class="enemy-stats-line" colspan="2" {{!}}Perks
(see also: [[Perks{{!}}generic weapon perks]])
{{!}}-
{{!}}-
!{{{Perk1Name|}}}
!{{{Perk1Name|}}}
Line 41: Line 55:
!{{{Perk3Name|}}}
!{{{Perk3Name|}}}
{{!}}{{{Perk3Info|unknown}}}
{{!}}{{{Perk3Info|unknown}}}
|}}
{{#if:{{{Perk4Name|}}}|
{{!}}-
!{{{Perk4Name|}}}
{{!}}{{{Perk4Info|unknown}}}
|}}
|}}
|}
|}
Line 55: Line 74:
"type": "wiki-file-name",
"type": "wiki-file-name",
"suggested": true
"suggested": true
},
"Icons": {},
"Slot": {
"type": "string",
"required": true
},
},
"RareAttackRange": {},
"RareAttackRange": {},
Line 65: Line 79:
"AttackRangeStyle": {
"AttackRangeStyle": {
"type": "string"
"type": "string"
}
},
"Icon1Image": {
"type": "wiki-file-name",
"required": true
},
"Icon2Image": {
"type": "wiki-file-name"
},
"Icon3Image": {
"type": "wiki-file-name"
},
"Icon4Image": {
"type": "wiki-file-name"
},
"Icon5Image": {
"type": "wiki-file-name"
},
"Icon6Image": {
"type": "wiki-file-name"
},
"Icon7Image": {
"type": "wiki-file-name"
},
"Icon8Image": {
"type": "wiki-file-name"
},
"Icon9Image": {
"type": "wiki-file-name"
},
"Perk1Name": {},
"Perk1Info": {},
"Perk2Name": {},
"Perk2Info": {},
"Perk3Name": {},
"Perk3Info": {},
"IsHipSlotted": {
"type": "boolean",
"required": true
},
"IsMelee": {
"type": "boolean"
},
"IsMidRange": {
"type": "boolean"
},
"IsLongRange": {
"type": "boolean"
},
"IsDefensive": {
"type": "boolean",
"default": "no"
},
"IsHealing": {
"type": "boolean",
"default": "no"
},
"Throwable": {
"type": "string",
"required": true
},
"Perk4Name": {},
"Perk4Info": {},
"SecondaryRareAttackRange": {},
"SecondaryLegendaryAttackRange": {},
"SecondaryAttackRangeNote": {},
"IsCloseRange": {}
},
},
"paramOrder": [
"paramOrder": [
"Name",
"Name",
"Image",
"Image",
"Icons",
"Slot",
"AttackRangeStyle",
"AttackRangeStyle",
"RareAttackRange",
"RareAttackRange",
"LegendaryAttackRange"
"LegendaryAttackRange",
"Icon1Image",
"Icon2Image",
"Icon3Image",
"Icon4Image",
"Icon5Image",
"Icon6Image",
"Icon7Image",
"Icon8Image",
"Icon9Image",
"Perk1Name",
"Perk1Info",
"Perk2Name",
"Perk2Info",
"Perk3Name",
"Perk3Info",
"Perk4Name",
"Perk4Info",
"IsHipSlotted",
"IsMelee",
"IsCloseRange",
"IsMidRange",
"IsLongRange",
"IsDefensive",
"IsHealing",
"Throwable",
"SecondaryRareAttackRange",
"SecondaryLegendaryAttackRange",
"SecondaryAttackRangeNote"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 05:01, 14 January 2025

{{{Name}}}

[[File:{{{Image}}}]]

Details
Icons unspecified
Slot Hip
Use not throwable





No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
NameName

no description

Stringrequired
ImageImage

no description

Filesuggested
AttackRangeStyleAttackRangeStyle

no description

Stringoptional
RareAttackRangeRareAttackRange

no description

Unknownoptional
LegendaryAttackRangeLegendaryAttackRange

no description

Unknownoptional
Icon1ImageIcon1Image

no description

Filerequired
Icon2ImageIcon2Image

no description

Fileoptional
Icon3ImageIcon3Image

no description

Fileoptional
Icon4ImageIcon4Image

no description

Fileoptional
Icon5ImageIcon5Image

no description

Fileoptional
Icon6ImageIcon6Image

no description

Fileoptional
Icon7ImageIcon7Image

no description

Fileoptional
Icon8ImageIcon8Image

no description

Fileoptional
Icon9ImageIcon9Image

no description

Fileoptional
Perk1NamePerk1Name

no description

Unknownoptional
Perk1InfoPerk1Info

no description

Unknownoptional
Perk2NamePerk2Name

no description

Unknownoptional
Perk2InfoPerk2Info

no description

Unknownoptional
Perk3NamePerk3Name

no description

Unknownoptional
Perk3InfoPerk3Info

no description

Unknownoptional
Perk4NamePerk4Name

no description

Unknownoptional
Perk4InfoPerk4Info

no description

Unknownoptional
IsHipSlottedIsHipSlotted

no description

Booleanrequired
IsMeleeIsMelee

no description

Booleanoptional
IsCloseRangeIsCloseRange

no description

Unknownoptional
IsMidRangeIsMidRange

no description

Booleanoptional
IsLongRangeIsLongRange

no description

Booleanoptional
IsDefensiveIsDefensive

no description

Default
no
Booleanoptional
IsHealingIsHealing

no description

Default
no
Booleanoptional
ThrowableThrowable

no description

Stringrequired
SecondaryRareAttackRangeSecondaryRareAttackRange

no description

Unknownoptional
SecondaryLegendaryAttackRangeSecondaryLegendaryAttackRange

no description

Unknownoptional
SecondaryAttackRangeNoteSecondaryAttackRangeNote

no description

Unknownoptional