Template:Weapon: Difference between revisions

From Love and Deepspace Wiki
Content added Content deleted
(Created page with "<noinclude>{{doc}}Category:Templates<!-- ### Cargo Declare -->{{#cargo_declare:_table=Weapon |name=String |weaponType=String |rarity=String |tag1=String |tag2=String |tag3=String |description=Wikitext (size=500) |source=Wikitext |exclusiveCompanion=String |basicAttackName=String |basicAttackDescription=Wikitext (size=500) |passiveSkillName=String |passiveSkillDescription=Wikitext (size=500) |activeSkillName=String |activeSkillCooldown=Integer |activeSkillCost=Integ...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 29: Line 29:
<div class="item-card-header">
<div class="item-card-header">
<div class="item-card-header-img">
<div class="item-card-header-img">
{{Icon|name={{{name|}}}}}
{{Icon|name={{{name|{{PAGENAME}}}}}|rarity={{{rarity|}}}}}
</div>
</div>
<div class="item-card-header-text">
<div class="item-card-header-text">
Line 42: Line 42:
</div>
</div>
<div class="item-card-description">
<div class="item-card-description">
{{#if:{{{exclusiveCompanion|}}} | ''This weapon is exclusive to [[{{{exclusiveCompanion|}}}]].''<br/><br/> }}{{{description|}}}
{{#if:{{{exclusiveCompanion|}}} | ''This weapon can only be used with [[{{{exclusiveCompanion|}}}]].''<br/><br/> }}{{{description|}}}
</div>
</div>
<div class="item-card-source">
<div class="item-card-source">
Line 49: Line 49:
{{{source|}}}
{{{source|}}}
</div>
</div>
</div>{{#ifeq:{{{displayOnly|0}}} | 1 | |<!--
</div>
-->{{#vardefine:frontImage|{{#invoke:String|replace|{{{name|}}}|:|}} front.png}}<!--

-->{{#vardefine:backImage|{{#invoke:String|replace|{{{name|}}}|:|}} back.png}}<!--
-->{{#vardefine:leftImage|{{#invoke:String|replace|{{{name|}}}|:|}} left.png}}<!--
-->{{#vardefine:rightImage|{{#invoke:String|replace|{{{name|}}}|:|}} right.png}}<!--
--><nowiki/>
==Skills==
==Skills==
<div class="grid-3-card-container">
<div class="grid-3-card-container">
{{Skill card
{{Skill card
|name={{{supportSkillName|}}}
|name={{{basicAttackName|}}}
|skillType=Support Skill
|skillType=Basic Attack
|description={{{supportSkillDescription|}}}
|description={{{basicAttackDescription|}}}
|cooldown={{{supportSkillCooldown|}}}
}}
}}


{{Skill card
{{Skill card
|name={{{resonanceSkillName|}}}
|name={{{passiveSkillName|}}}
|skillType=Resonance Skill
|skillType=Passive Skill
|description={{{resonanceSkillDescription|}}}
|description={{{passiveSkillDescription|}}}
|cooldown={{{resonanceSkillCooldown|}}}
|cost={{{resonanceSkillCost|}}}
}}
}}


{{Skill card
{{Skill card
|name={{{ardentOathName|}}}
|name={{{activeSkillName|}}}
|skillType=Ardent Oath
|skillType=Active Skill
|description={{{ardentOathDescription|}}}
|description={{{activeSkillDescription|}}}
|cooldown={{{activeSkillCooldown|}}}
|cost={{{activeSkillCost|}}}
}}
}}


{{Skill card
|name={{{passiveSkillName|}}}
|skillType=Passive Skill
|description={{{passiveSkillDescription|}}}
}}
</div>
</div>

==Outfit Preview==
==Outfit Preview==
<div class="grid-4-card-container">
<div class="grid-4-card-container">
Line 110: Line 107:
|activeSkillDescription={{{activeSkillDescription|}}}
|activeSkillDescription={{{activeSkillDescription|}}}
}}[[Category:Weapons]][[Category:{{{weaponType|}}} Weapons]]
}}[[Category:Weapons]][[Category:{{{weaponType|}}} Weapons]]
}}
</includeonly>
</includeonly>

Latest revision as of 02:12, 14 February 2024

Documentation

Description[edit source]

Template used for creating weapon pages.

Usage[edit source]

{{Weapon
|name=
|rarity=
|weaponType=
|tag1=
|tag2=
|tag3=
|description=
|source=
|exclusiveCompanion=
|basicAttackName=
|basicAttackDescription=
|passiveSkillName=
|passiveSkillDescription=
|activeSkillName=
|activeSkillCooldown=
|activeSkillCost=
|activeSkillDescription=
}}

This template defines the table "Weapon". View table.