Ad placeholder

Template:Weapon page: Difference between revisions

Jump to navigation Jump to search
Added controller icon, passives, passives main hand, passives off hand fields, and added icon and new passive fields to the cargo table
(Use Template:Description for quote.)
(Added controller icon, passives, passives main hand, passives off hand fields, and added icon and new passive fields to the cargo table)
Line 2: Line 2:
| yes =
| yes =
| #default = {{PageSeo
| #default = {{PageSeo
   | image = {{{image}}}
   | image = {{#if:{{{controller icon|}}}|{{{controller icon}}}|{{{image}}}}}
   | description = {{{seo description|{{WeaponPage/SeoDescription
   | description = {{{seo description|{{WeaponPage/SeoDescription
     | category = {{{category}}}
     | category = {{{category}}}
Line 17: Line 17:
| {{#replace: {{{rarity}}} | <nowiki> </nowiki> | }}
| {{#replace: {{{rarity}}} | <nowiki> </nowiki> | }}
| common
| common
}}"> {{#if:{{{image|}}} | [[File:{{{image}}}|frameless|right|alt={{PAGENAME}} image]] | {{Main only|[[Category:Equipment pages without images]]}} }}{{#if:{{{icon|}}} ||{{Main only|[[Category:Item pages without icons]]}} }}
}}"> {{#if:{{{image|}}} | [[File:{{{image}}}|frameless|right|alt={{PAGENAME}} image]] | {{Main only|[[Category:Equipment pages without images]]}} }}{{#if:{{{icon|}}} ||{{Main only|[[Category:Item pages without icons]]}} }}{{#if:{{{controller icon|}}} ||{{Main only|[[Category:Item pages without controller icons]]}} }}


{{#if: {{{description|}}}
{{#if: {{{description|}}}
Line 117: Line 117:
{{#if:{{{uid|}}}{{{uuid|}}}|<li>{{SmallIcon|Ico stats.png}}{{#if:{{{uid|}}}|{{Uid|{{{uid}}}}} }} {{#if:{{{uuid|}}}|{{Uuid|{{{uuid}}}}} }}</li>}}
{{#if:{{{uid|}}}{{{uuid|}}}|<li>{{SmallIcon|Ico stats.png}}{{#if:{{{uid|}}}|{{Uid|{{{uid}}}}} }} {{#if:{{{uuid|}}}|{{Uuid|{{{uuid}}}}} }}</li>}}
</ul>
</ul>
{{#if: {{{special|}}} | {{blank}}
{{#if: {{{passives|}}}{{{passives main hand|}}}{{{passives off hand|}}}{{{special|}}} | {{blank}}
{{h3|Special}}
{{h3|Special}}


The holder of this item gains:
The holder of this item gains:
{{{passives|}}}
{{#if: {{{passives|}}} | {{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = tableList }} |}}{{#if: {{{passives main hand|}}} | Main Hand Only
{{{special}}}
{{#invoke: ParseList | main | {{{passives main hand}}} | useTemplate = Passive | type = tableList }} | }}{{#if: {{{passives off hand|}}} | Off Hand Only
{{#invoke: ParseList | main | {{{passives off hand}}} | useTemplate = Passive | type = tableList }} |}}
{{{special|}}}
}}
}}
{{#if: {{{weapon actions|}}}{{{actions|}}} | {{blank}}
{{#if: {{{weapon actions|}}} | {{blank}}


{{h3|Weapon actions}}
{{h3|Weapon actions}}
{{WeaponProficiencyUnlocks}}
{{WeaponProficiencyUnlocks}}
{{#invoke: ParseList | main | {{{weapon actions}}} | useTemplate = WeaponAction | type = tableList }}


{{#if: {{{weapon actions|}}}
| {{#invoke: ParseList | main | {{{weapon actions}}} | useTemplate = WeaponAction | type = tableList }}
| {{{actions}}}
}}
}} {{#if: {{{special weapon actions|}}} | {{blank}}
}} {{#if: {{{special weapon actions|}}} | {{blank}}


Line 183: Line 183:
}}{{ItemIcon Insert
}}{{ItemIcon Insert
|icon={{{icon|}}}
|icon={{{icon|}}}
|image={{{image|}}}
|image={{{controller icon|}}}
|uid={{{uid|}}}
|uid={{{uid|}}}
|rarity={{{rarity|common}}}
|rarity={{{rarity|common}}}
Line 245: Line 245:
| legacy = String(allowed values = inaccessible, unobtainable)
| legacy = String(allowed values = inaccessible, unobtainable)
| image = File
| image = File
| controller_icon = File
| icon = File
| description = Wikitext
| description = Wikitext
| quote = Wikitext
| quote = Wikitext
Line 273: Line 275:
| weight_lb = String
| weight_lb = String
| price = String
| price = String
| passives = List (,) of String
| passives_main_hand = List (,) of String
| passives_off_hand = List (,) of String
| weapon_actions = List (,) of String
| weapon_actions = List (,) of String
| special_weapon_actions = List (,) of String
| special_weapon_actions = List (,) of String

Navigation menu