Wynncraft Wiki
mNo edit summary
Aws40404 (talk | contribs)
No edit summary
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<includeonly>{{ #if: {{NAMESPACE}} || [[Category:Items]][[Category:Weapons]] }}<!--
{{Infobox
 
|above={{{name|{{PAGENAME}}}}}
+
-->{{#switch: {{{item}}}
  +
| Spear = {{#vardefine: class | Warrior/Knight}}
  +
| Wand = {{#vardefine: class | Mage/Dark Wizzard}}
  +
| Bow = {{#vardefine: class | Archer/Hunter}}
  +
| Dagger = {{#vardefine: class | Assassin/Ninja}}
  +
| Relik = {{#vardefine: class | Shaman/Skyseer}}
  +
| {{#vardefine: class | Unkown weapon type '{{{item}}}'}}
  +
}}<!--
 
-->{{Infobox
  +
|above={{Rarity|{{{type|}}}|{{{name|{{PAGENAME}}}}}}}
 
|image={{{image}}}
 
|image={{{image}}}
  +
| header1 = {{#if:{{{lore|}}}|Item Lore}}
|label1=Item
 
|data1={{{item}}}{{#if: {{NAMESPACE}} || [[Category:{{{item}}}s]] }}
+
| data1 = {{#if:{{{lore|}}}|''{{{lore}}}''}}
  +
| header2 = Item Information
|label2=Min. Level
 
 
|label2=Item
|data2={{{level}}}
 
  +
|data2={{{item}}}{{#if: {{NAMESPACE}} || [[Category:{{{item}}}s]] }}
|label3=Type
 
 
|label3=Min. Level
|data3={{#switch: {{{type|}}}
 
 
|data3={{{level}}}
| Depressing = <span style="color:#AAAAA">Depressing</span>
 
 
|label4=Rarity
| Normal = <span style="color:#55555">Normal</span>
 
 
|data4={{Rarity|{{{type|}}}}}
| Unique = <span style="color:#DF7401">Unique</span>
 
  +
|label5=Class
| Rare = <span style="color:#FF55FF">Rare</span>
 
 
|data5={{#var: class}}
| Legendary = <span style="color:#4ce5e5">Legendary</span>
 
 
|label6=Powder Slots
| Mythic = <span style="color:#AA00AA">Mythic</span>
 
  +
|data6={{#if: {{{slots|}}} | {{#ifexpr: {{{slots}}} > 0 | {{{slots}}} <small>({{Powders | {{{slots}}} | short = {{#ifexpr: {{{slots}}} > 7 | 1}} }})</small> }} }}
| Set = <span style="color:#44cc44">Set Item</span>
 
 
|label7=Obtain
| {{{type}}}
 
 
|data7={{ #ifeq: {{{obtain|}}} | Quest Reward | [[Category:Quest Rewards]] }}{{#switch: {{{obtain|}}}
}}
 
|label4=Class
 
|data4={{{class}}}
 
|label5=Powder Slots
 
|data5={{{slots}}}
 
|label6=Obtain
 
|data6={{ #ifeq: {{{obtain|}}} | Quest Reward | [[Category:Quest Rewards]] }}{{#switch: {{{obtain|}}}
 
 
| Quest Reward = <span style="color:#FF5555">Quest Reward</span>
 
| Quest Reward = <span style="color:#FF5555">Quest Reward</span>
 
| Merchant = <span style="color:#FF55FF">Merchant</span>
 
| Merchant = <span style="color:#FF55FF">Merchant</span>
| Merchant or Loot Chest = <span style="color:#FF55FF">Merchant</span> or <span style="color:#DF7401">Loot Chest</span>
+
| Merchant or Loot Chest = <span style="color:#FF55FF">Merchant</span><br><span style="color:#DF7401">Loot Chest</span>
| Loot Chest = <span style="color:#DF7401">Loot Chest</span>
+
| Loot Chest
  +
| lootchest
| Loot Chest<br>Mob Drop = <span style="color:#DF7401">Loot Chest</span><br>Mob Drop
 
 
| Loot = <span style="color:#DF7401">Loot Chest</span>
 
| Loot = <span style="color:#DF7401">Loot Chest</span>
  +
| NORMAL
  +
| normal
  +
| Loot Chest<br>Mob Drop
  +
| Loot Chest or Mob Drop
 
| Normal = <span style="color:#DF7401">Loot Chest</span><br>Mob Drop
  +
| Dungeon
 
| dungeon = <span style="color:#990000">Dungeon</span>
 
| Discontinued = <strike>Discontinued</strike>
 
| Discontinued = <strike>Discontinued</strike>
 
| Unknown = ''Unknown''
 
| Unknown = ''Unknown''
 
| {{{obtain}}}
 
| {{{obtain}}}
 
}}
 
}}
|label7=Attack Speed
+
|label8=Attack Speed
|data7={{{speed}}}
+
|data8={{#switch: {{{speed|}}}
  +
| Super Slow
|label8=Tag
 
  +
| SUPER_SLOW = Super Slow <small>(-3)</small>
|data8={{ #ifeq: {{{tag|}}} | Quest Item | [[Category:Quest Items]] }}{{#switch: {{{tag|}}}
 
  +
| Very Slow
  +
| VERY_SLOW = Very Slow <small>(-2)</small>
  +
| Slow
  +
| SLOW = Slow <small>(-1)</small>
  +
| Normal
  +
| NORMAL = Normal <small>(0)</small>
  +
| Fast
  +
| FAST = Fast <small>(+1)</small>
  +
| Very Fast
  +
| VERY_FAST = Very Fast <small>(+2)</small>
  +
| Super Fast
  +
| SUPER_FAST = Super Fast <small>(+3)</small>
  +
| Unrecognised Speed Provided ({{{speed}}})
 
}}
 
|label9=Tag
 
|data9={{ #ifeq: {{{tag|}}} | Quest Item | [[Category:Quest Items]] }}{{#switch: {{{tag|}}}
 
| Quest Item = <span style="color:#FF5555">Quest Item</span>
 
| Quest Item = <span style="color:#FF5555">Quest Item</span>
 
| Untradable = <span style="color:#FF5555">Untradable</span>
 
| Untradable = <span style="color:#FF5555">Untradable</span>
 
| None = ''None''
 
| None = ''None''
| {{{tag}}}
+
| {{{tag|}}}
}}
 
| header9 = {{#if:{{{defense|}}}{{{earth|}}}{{{thunder|}}}{{{water|}}}{{{fire|}}}{{{air|}}}|Base Damage}}
 
{{#if:{{{defense|}}}{{{earth|}}}{{{thunder|}}}{{{water|}}}{{{fire|}}}{{{air|}}}|-----}}
 
| label9 = {{Element|neutral}}
 
| data9 = {{{damage|}}}
 
| label10 = {{Element|earth}}
 
| data10 = {{{earth|}}}
 
| label11 = {{Element|thunder}}
 
| data11 = {{{thunder|}}}
 
| label12 = {{Element|water}}
 
| data12 = {{{water|}}}
 
| label13 = {{Element|fire}}
 
| data13 = {{{fire|}}}
 
| label14 = {{Element|air}}
 
| data14 = {{{air|}}}
 
| header15 = {{#if:{{{r_strength|}}}{{{r_dexterity|}}}{{{r_intelligence|}}}{{{r_defense|}}}{{{r_agility|}}}{{{r_quest|}}}|Requirements}}
 
{{#if:{{{r_strength|}}}{{{r_dexterity|}}}{{{r_intelligence|}}}{{{r_defense|}}}{{{r_agility|}}}{{{r_quest|}}}|-----}}
 
| label15 = Strength Minimum:
 
| data15 = {{{r_strength|}}}
 
| label16 = Dexterity Minimum:
 
| data16 = {{{r_dexterity|}}}
 
| label17 = Intelligence Minimum:
 
| data17 = {{{r_intelligence|}}}
 
| label18 = Defense Minimum:
 
| data18 = {{{r_defense|}}}
 
| label19 = Agility Minimum:
 
| data19 = {{{r_agility|}}}
 
| label20 = Quest
 
| data20 = {{{r_quest|}}}
 
| header21 = {{#if:{{{otherinfo|}}}|Other Information}}
 
{{#if:{{{otherinfo|}}}|-----}}
 
| data21={{#if:{{{otherinfo|}}}|<span style="float:left">{{{otherinfo}}}</span>|}}
 
 
}}
 
}}
 
| header10 = {{#if:{{{damage|}}}{{{earth|}}}{{{thunder|}}}{{{water|}}}{{{fire|}}}{{{air|}}}|Base Damage}}
 
 
| label10 = {{Element|neutral}}
<noinclude>
 
 
| data10 = {{{damage|}}}
To use this template, add this code to a page:
 
 
| label11 = {{Element|earth}}
:'''Note: If there are arguments after the equals sign, you can fill in that specific field using one of those arguments (case sensitive) and receive the corresponding color to the text.'''
 
 
| data11 = {{{earth|}}}
:*'''For example: If you wrote '''Mythic''' under the type field, then '''Mythic''' would be purple when changes are saved.'''
 
 
| label12 = {{Element|thunder}}
:*'''You don't need to use one of the arguments given, they are simply there for convenience.'''
 
 
| data12 = {{{thunder|}}}
 
 
| label13 = {{Element|water}}
:Note: <code><nowiki>*</nowiki></code> means optional. Please don't include the <code><nowiki>*</nowiki></code> when writing the field though
 
 
| data13 = {{{water|}}}
 
 
| label14 = {{Element|fire}}
<code><nowiki>
 
 
| data14 = {{{fire|}}}
{{Infobox/Weapons</nowiki><br><nowiki>
 
 
| label15 = {{Element|air}}
| name=</nowiki><br><nowiki>
 
 
| data15 = {{{air|}}}
| image=</nowiki><br><nowiki>
 
 
| header16 = {{#if:{{{r_strength|}}}{{{r_dexterity|}}}{{{r_intelligence|}}}{{{r_defense|}}}{{{r_agility|}}}{{{r_quest|}}}|Requirements}}
| item=</nowiki><br><nowiki>
 
 
| label16 = Strength Minimum:
| level=</nowiki><br><nowiki>
 
 
| data16 = {{{r_strength|}}}
| type= [Depressing, Normal, Unique, Rare, Legendary, Mythic, Set]</nowiki><br><nowiki>
 
 
| label17 = Dexterity Minimum:
| class=</nowiki><br><nowiki>
 
 
| data17 = {{{r_dexterity|}}}
| slots=</nowiki><br><nowiki>
 
 
| label18 = Intelligence Minimum:
| obtain= [Quest Reward, Merchant, Loot Chest, Discontinued, Mob Drop, Nonspecific, Other]</nowiki><br><nowiki>
 
 
| data18 = {{{r_intelligence|}}}
| speed=</nowiki><br><nowiki>
 
 
| label19 = Defense Minimum:
| tag= [Quest Item, Untradable, None]</nowiki><br><nowiki>
 
 
| data19 = {{{r_defense|}}}
| damage= *</nowiki><br><nowiki>
 
 
| label20 = Agility Minimum:
| earth = *</nowiki><br><nowiki>
 
 
| data20 = {{{r_agility|}}}
| thunder = * </nowiki><br><nowiki>
 
 
| label21 = Quest
| water = *</nowiki><br><nowiki>
 
  +
| data21 = {{#if: {{{r_quest|}}} | {{#cargo_query:tables=Quests|fields=_pageName|where=Name='{{{r_quest}}}'|format=list}} }}
| fire = *</nowiki><br><nowiki>
 
 
| header22 = {{#if:{{{otherinfo|}}}|Other Information}}
| air = *</nowiki><br><nowiki>
 
 
| data22={{#if:{{{otherinfo|}}}|<span style="float:left">{{{otherinfo}}}</span>|}}
| r_strength = *</nowiki><br><nowiki>
 
  +
}}</includeonly><noinclude>{{Doc}}</noinclude>
| r_dexterity = *</nowiki><br><nowiki>
 
| r_intelligence = *</nowiki><br><nowiki>
 
| r_defense = *</nowiki><br><nowiki>
 
| r_agility = *</nowiki><br><nowiki>
 
| r_quest = *</nowiki><br><nowiki>
 
| otherinfo= *</nowiki><br><nowiki>
 
}}</nowiki>
 
</code>
 
 
{|class="wikitable"
 
|-
 
! Argument !! Description
 
|-
 
| ''name'' || The item name, default to the page name if blanked, should only be used when the page name and actual item name is different for some reason.
 
|-
 
| ''image'' || The image for the infobox, fill with '''<nowiki>[[File:<ImageName.extension>]]</nowiki>'''
 
|-
 
| ''item'' || The item type of the weapon: Wand, Spear, Dagger or Bow.
 
|-
 
| ''type'' || The weapon type. This field can be: Depressing, Normal, Unique, Rare, Legendary, Mythic, or Set.
 
|-
 
| ''class'' || Which class can wield the weapon.
 
|-
 
| ''level'' || The minimum level that can wield this weapon.
 
|-
 
| ''damage'' || The non-ID damage the weapon deals. Separate multiple damage types '''<nowiki><br></nowiki>'''.
 
|-
 
| ''earth'' || An optional field for Earth Damage amount.
 
|-
 
| ''thunder'' || An optional field for Thunder Damage amount.
 
|-
 
| ''water'' || An optional field for Water Damage amount.
 
|-
 
| ''fire'' || An optional field for Fire Damage amount.
 
|-
 
| ''air'' || An optional field for Air Damage amount.
 
|-
 
| ''slots'' || Number of Powder Slots available: a number from 0-10.
 
|-
 
| ''obtain'' || Nonspecific, Mob Drop, Quest Reward, Discontinued, Loot (chest), Merchant, or Other.
 
|-
 
| ''speed'' || The attack speed of the weapon: Super Slow, Very Slow, Slow, Normal, Fast, Very Fast, or Super Fast.
 
|-
 
| ''tag'' || Any special tags the weapon has: Untradable, Quest Item, or None.
 
|-
 
| ''r_'' || Could be, for example, r_dexterity. The prefix "r_" stands for requirement (to avoid confusion) and the suffix would be the requirement. If r_dexterity = 20, for example, then it'd display: "Dexterity: Minimum: 20".
 
|-
 
| ''otherinfo'' || Any other information (e.g. Contest Reward). (Optional)
 
|}
 
</noinclude>
 
<includeonly>{{ #if: {{NAMESPACE}} || [[Category:Items]][[Category:Weapons]] }}</includeonly>
 
<noinclude>[[category:Infobox_templates]][[category:Templates]]</noinclude>
 

Revision as of 23:54, 14 October 2020

Template-info Documentation

To use this template, add this code to a page:

{{Infobox/Weapons
| name=
| image=
| item= [Spear, Wand, Relik, Dagger, Bow]
| level=
| type= [Depressing, Normal, Unique, Rare, Legendary, Fabled, Mythic, Set]
| slots=
| obtain= [Quest, Merchant, Loot Chest, Mob Drop, Dungeon, Dungeon Drop, Forgery, Raid, Discovery, Boss Altar, Lootrun, Discontinued, Unknown]
| speed=
| tag= [Quest Item, Untradable, None]
| damage= *
| earth = *
| thunder = *
| water = *
| fire = *
| air = *
| dps = *
| r_strength = *
| r_dexterity = *
| r_intelligence = *
| r_defense = *
| r_agility = *
| r_quest = *
| otherinfo= *
}}

Note: If there are arguments after the equal sign, you can fill in that specific field using one of those arguments (case sensitive) and receive the corresponding color to the text.

  • For example: If you wrote Mythic under the type field, then Mythic will be shown when changes are saved.
  • You don't need to use one of the arguments given, they are simply there for convenience.

Note: * means optional. Please don't include the * when writing the field though

Argument Description
name The item name, default to the page name if blanked, should only be used when the page name and actual item name is different for some reason.
image The image for the infobox, fill with [[File:<ImageName.extension>]]
item The item type of the weapon: Wand, Spear, Relik, Dagger or Bow.
type The weapon type. This field can be: Depressing, Normal, Unique, Rare, Legendary, Fabled, Mythic, or Set.
level The minimum level that can wield this weapon.
damage The non-ID damage the weapon deals. Separate multiple damage types <br>.
earth An optional field for Earth Damage amount.
thunder An optional field for Thunder Damage amount.
water An optional field for Water Damage amount.
fire An optional field for Fire Damage amount.
air An optional field for Air Damage amount.
dps The average total DPS of the weapon, as listed on the item's tooltip.
slots Number of Powder Slots available: a number from 0-10.
obtain Quest, Merchant, Loot Chest, Mob Drop, Dungeon, Dungeon Drop, Forgery, Raid, Discovery, Boss Altar, Lootrun, Discontinued, or Unknown.
speed The attack speed of the weapon: Super Slow, Very Slow, Slow, Normal, Fast, Very Fast, or Super Fast.
tag Any special tags the weapon has: Untradable, Quest Item, or None.
r_ Could be, for example, r_dexterity. The prefix "r_" stands for requirement (to avoid confusion) and the suffix would be the requirement. If r_dexterity = 20, for example, then it'd display: "Dexterity: Minimum: 20".
otherinfo Any other information (e.g. Contest Reward). (Optional)

Example

Scythe

Item Information
Item Spear
Min. Level 70
Rarity Legendary
Class Warrior/Knight
Powder Slots 3 (Powder SlotPowder SlotPowder Slot)
Obtain Loot Chest, Mob Drop
Attack Speed Normal (0)
Base Damage
Neutral 80-115
Thunder 30-165
Requirements
Strength Minimum: 40
Dexterity Minimum: 30
{{Infobox/Weapons
| name = Scythe
| image  = {{WeaponIcon|61}}
| item = Spear
| level = 70
| type = Legendary
| class = Warrior/Knight
| damage = 80-115
| thunder = 30-165
| dps = 402
| slots = 3
| obtain = Loot Chest, Mob Drop
| speed = Normal
| r_strength = 40
| r_dexterity = 30
}}

Produces: