mNo edit summary |
No edit summary |
||
(13 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
⚫ | |||
− | + | -->{{#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}}}'}} |
||
+ | }}<!-- |
||
⚫ | |||
+ | |above={{Rarity|{{{type|}}}|{{{name|{{PAGENAME}}}}}}} |
||
|image={{{image}}} |
|image={{{image}}} |
||
+ | | header1 = {{#if:{{{lore|}}}|Item Lore}} |
||
⚫ | |||
− | |data1= |
+ | | data1 = {{#if:{{{lore|}}}|''{{{lore}}}''}} |
+ | | header2 = Item Information |
||
⚫ | |||
⚫ | |||
⚫ | |||
+ | |data2={{{item}}}{{#if: {{NAMESPACE}} || [[Category:{{{item}}}s]] }} |
||
− | |label3=Type |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | | Unique = <span style="color:#DF7401">Unique</span> |
||
+ | |label5=Class |
||
− | | Rare = <span style="color:#FF55FF">Rare</span> |
||
⚫ | |||
− | | Legendary = <span style="color:#4ce5e5">Legendary</span> |
||
⚫ | |||
− | | 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> |
||
⚫ | |||
− | | {{{type}}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
− | |data4={{{class}}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| 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> |
+ | | Merchant or Loot Chest = <span style="color:#FF55FF">Merchant</span><br><span style="color:#DF7401">Loot Chest</span> |
− | | Loot Chest |
+ | | 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 |
||
⚫ | |||
+ | | Dungeon |
||
⚫ | |||
| Discontinued = <strike>Discontinued</strike> |
| Discontinued = <strike>Discontinued</strike> |
||
| Unknown = ''Unknown'' |
| Unknown = ''Unknown'' |
||
| {{{obtain}}} |
| {{{obtain}}} |
||
}} |
}} |
||
− | | |
+ | |label8=Attack Speed |
− | | |
+ | |data8={{#switch: {{{speed|}}} |
+ | | Super Slow |
||
⚫ | |||
+ | | SUPER_SLOW = Super Slow <small>(-3)</small> |
||
⚫ | |||
+ | | 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}}}) |
||
⚫ | |||
⚫ | |||
⚫ | |||
| 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|}}} |
− | }} |
||
⚫ | |||
− | {{#if:{{{defense|}}}{{{earth|}}}{{{thunder|}}}{{{water|}}}{{{fire|}}}{{{air|}}}|-----}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | {{#if:{{{r_strength|}}}{{{r_dexterity|}}}{{{r_intelligence|}}}{{{r_defense|}}}{{{r_agility|}}}{{{r_quest|}}}|-----}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | | data20 = {{{r_quest|}}} |
||
⚫ | |||
− | {{#if:{{{otherinfo|}}}|-----}} |
||
⚫ | |||
}} |
}} |
||
⚫ | |||
− | |||
⚫ | |||
− | <noinclude> |
||
⚫ | |||
− | To use this template, add this code to a page: |
||
⚫ | |||
− | :'''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.''' |
||
⚫ | |||
− | :*'''For example: If you wrote '''Mythic''' under the type field, then '''Mythic''' would be purple when changes are saved.''' |
||
⚫ | |||
− | :*'''You don't need to use one of the arguments given, they are simply there for convenience.''' |
||
⚫ | |||
− | |||
⚫ | |||
− | :Note: <code><nowiki>*</nowiki></code> means optional. Please don't include the <code><nowiki>*</nowiki></code> when writing the field though |
||
⚫ | |||
− | |||
⚫ | |||
− | <code><nowiki> |
||
⚫ | |||
− | {{Infobox/Weapons</nowiki><br><nowiki> |
||
⚫ | |||
− | | name=</nowiki><br><nowiki> |
||
⚫ | |||
− | | image=</nowiki><br><nowiki> |
||
⚫ | |||
− | | item=</nowiki><br><nowiki> |
||
⚫ | |||
− | | level=</nowiki><br><nowiki> |
||
⚫ | |||
− | | type= [Depressing, Normal, Unique, Rare, Legendary, Mythic, Set]</nowiki><br><nowiki> |
||
⚫ | |||
− | | class=</nowiki><br><nowiki> |
||
⚫ | |||
− | | slots=</nowiki><br><nowiki> |
||
⚫ | |||
− | | obtain= [Quest Reward, Merchant, Loot Chest, Discontinued, Mob Drop, Nonspecific, Other]</nowiki><br><nowiki> |
||
⚫ | |||
− | | speed=</nowiki><br><nowiki> |
||
⚫ | |||
− | | tag= [Quest Item, Untradable, None]</nowiki><br><nowiki> |
||
⚫ | |||
− | | damage= *</nowiki><br><nowiki> |
||
⚫ | |||
− | | earth = *</nowiki><br><nowiki> |
||
⚫ | |||
− | | thunder = * </nowiki><br><nowiki> |
||
⚫ | |||
− | | water = *</nowiki><br><nowiki> |
||
+ | | data21 = {{#if: {{{r_quest|}}} | {{#cargo_query:tables=Quests|fields=_pageName|where=Name='{{{r_quest}}}'|format=list}} }} |
||
− | | fire = *</nowiki><br><nowiki> |
||
⚫ | |||
− | | air = *</nowiki><br><nowiki> |
||
⚫ | |||
− | | 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> |
||
⚫ | |||
− | <noinclude>[[category:Infobox_templates]][[category:Templates]]</noinclude> |
Revision as of 23:54, 14 October 2020
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 () |
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:
The above documentation is transcluded from Template:Infobox/Weapons/doc. (edit | history)