Template:Weapon: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(225 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly><!-- Adds Incomplete template if non-optional information is missing-->{{#if:{{#show: {{FULLPAGENAME}} | ?missing}}|{{IncompleteItem}}|}}{{#switch:{{lc:{{{newapp2}}}}}|true|yes=[[is outdated::false| ]]|{{OldApp}}}}
{|class="wikitable" style="width:700px"
{{#if:{{{ATag|}}}|[[Has ambiguous tags::true| ]]{{AmbiguousTags}}}}
{{#if:{{{MTag|}}}||{{#if:{{{CTag|}}}||{{#if:{{{STag|}}}||{{IncompleteTags}}}}}}}}</includeonly>
{|class="wikitable" style="width:650px"
|-style="height:40px"
|-style="height:40px"
! {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{fire2|}}}{{{cold2|}}}{{{electric2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{fire3|}}}{{{cold3|}}}{{{electric3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="4" | colspan="3" }} | colspan="2" }} style="font-size:150%"|{{#if:{{{name|}}}|{{{name}}}[[needs checking::true| ]]|{{#switch:{{lc:{{{fname}}}}}|y|yes={{PAGENAME}}|{{lcfirst:{{PAGENAME}}}}}}}}
! colspan="2" style="font-size:150%"|{{{name|{{PAGENAME}}}}}
|-
|-
|width="20%"|'''Look:'''||{{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{fire2|}}}{{{cold2|}}}{{{electric2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{fire3|}}}{{{cold3|}}}{{{electric3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}{{#if:{{{look|}}}|{{#ifeq:{{{look}}}|-|''You see nothing unusual.''|{{{look}}}}}|<includeonly>[[missing::Infobox entry on LOOK description|''Unknown'']]</includeonly>}}{{#switch:{{{MTag|}}}|-|=|#default={{#arraymap:{{lc:{{{MTag}}}}}|,|@@@@|[[uses material::@@@@| ]]| }}}}{{#switch:{{{CTag|}}}|-|=|#default={{#arraymap:{{lc:{{{CTag}}}}}|,|@@@@|[[uses color::@@@@| ]]| }}}}{{#switch:{{{STag|}}}|-|=|#default={{#arraymap:{{lc:{{{STag}}}}}|,|@@@@|[[uses symbol::@@@@| ]]| }}}}
|width="15%"|'''Look:'''||{{{look|''Unknown''}}}
|-
|-
{{#if:{{{noun|}}}|[[noun is::{{lc:{{{noun}}}}}| ]]|{{!}}'''Core Noun:'''{{!}}{{!}}{{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{fire2|}}}{{{cold2|}}}{{{electric2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{fire3|}}}{{{cold3|}}}{{{electric3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}<includeonly>[[missing::Infobox entry on noun used|''Unknown'']]</includeonly>}}
|'''Core Noun:'''||{{{noun|''Unknown''}}}
|-
|-
{{WeaponProperties|span={{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{fire2|}}}{{{cold2|}}}{{{electric2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}}|{{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{fire3|}}}{{{cold3|}}}{{{electric3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}}|3|2}}|1}}|brawl={{{brawl|}}}|type={{{type|}}}|type2={{{type2|}}}|type3={{{type3|}}}|range={{{range|}}}|ammocap={{{ammocap|}}}|ammo={{{ammo|}}}|drawstrength={{{drawstrength|}}}|adraw={{{adraw|}}}|puncture={{{puncture|}}}|puncture2={{{puncture2|}}}|puncture3={{{puncture3|}}}|puncturetype={{{puncturetype|}}}|slice={{{slice|}}}|slice2={{{slice2|}}}|slice3={{{slice3|}}}|slicetype={{{slicetype|}}}|impact={{{impact|}}}|impact2={{{impact2|}}}|impact3={{{impact3|}}}|impacttype={{{impacttype|}}}|fire={{{fire|}}}|fire2={{{fire2|}}}|fire3={{{fire3|}}}|cold={{{cold|}}}|cold2={{{cold2|}}}|cold3={{{cold3|}}}|electric={{{electric|}}}|electric2={{{electric2|}}}
|'''Type:'''||{{#If:{{{type|}}}|{{SkillCode|{{{type}}}}}{{#If:{{{type2|}}}|/{{SkillCode|{{{type2}}}}}}}{{#If:{{{type3|}}}|/{{SkillCode|{{{type3}}}}}}}|''Unknown''}}
|electric3={{{electric3|}}}|foi={{{foi|}}}|foi2={{{foi2|}}}|foi3={{{foi3|}}}|balance={{{balance|}}}|balance2={{{balance2|}}}|balance3={{{balance3|}}}|suitedness={{{suitedness|}}}|suitedness2={{{suitedness2|}}}|suitedness3={{{suitedness3|}}}|construction={{{construction|}}}|metal={{{metal|}}}|weight={{{weight|}}}|rangedRT={{{rangedRT|}}}}}
|-
|-
{{ItemProperties|itype=weapon|special={{{special|}}}{{#if:{{{special2|}}}|,{{{special2|}}}}}{{#if:{{{special3|}}}|,{{{special3|}}}}}{{#if:{{{special4|}}}|,{{{special4|}}}}}{{#if:{{{special5|}}}|,{{{special5|}}}}}{{#if:{{{special6|}}}|,{{{special6|}}}}}|maxcharge={{{maxcharge|}}}|wearloc={{{wearloc|}}}|source={{#if:{{{shop|}}}|{{{shop|}}}|{{{source|}}}}}|cost={{{cost|}}}|source2={{#if:{{{shop2|}}}|{{{shop2|}}}|{{{source2|}}}}}|cost2={{{cost2|}}}|source3={{#if:{{{shop3|}}}|{{{shop3|}}}|{{{source3|}}}}}|cost3={{{cost3|}}}|source4={{#if:{{{shop4|}}}|{{{shop4|}}}|{{{source4|}}}}}|cost4={{{cost4|}}}|source5={{#if:{{{shop5|}}}|{{{shop5|}}}|{{{source5|}}}}}|cost5={{{cost5|}}}|sourcetype={{{sourcetype|}}}|sourcetype2={{{sourcetype2|}}}|sourcetype3={{{sourcetype3|}}}|sourcetype4={{{sourcetype4|}}}|sourcetype5={{{sourcetype5|}}}|spellcast={{{spellcast|}}}|appcost={{{appcost|}}}|rtype={{{rtype|}}}|gtype={{{gtype|}}}|verby={{{verby|}}}|atmos={{{atmos|}}}|pcrystal={{{pcrystal|}}}|istone={{{istone|}}}|rarity={{{rarity|}}}|rare={{{rare|}}}|span={{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{fire2|}}}{{{cold2|}}}{{{electric2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{fire3|}}}{{{cold3|}}}{{{electric3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}} | 3 | 2 }} | 1 }} |lsize={{{lsize|}}}|hsize={{{hsize|}}}|wsize={{{wsize|}}}|ilsize={{{ilsize|}}}|ihsize={{{ihsize|}}}|iwsize={{{iwsize|}}}|csize={{{csize|}}}|enchanted={{{enchanted|}}}|potency={{{potency|}}}|complexity={{{complexity|}}}|precision={{{precision|}}}|grade={{{grade|}}}|ebonus={{{ebonus|}}}|flare={{{flare|}}}|fdecoration={{{fdecoration|}}}|glamour={{{glamour|}}}|gdecoration={{{gdecoration|}}}|itemtype={{#if:{{{itype|}}}{{{wtype|}}}{{{noun|}}}|{{#if:{{{itype|}}}|{{lc:{{{itype}}}}}|{{#if:{{{wtype|}}}|{{lc:{{{wtype}}}}}|{{lc:{{{noun}}}}}}}}}}}|generator={{{generator|}}}|gentype={{{gentype|}}}|genname={{{genname|}}}|sources={{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|sep=%%%%|link=none}}|rev={{{rev|}}}|list={{#if:{{{list|}}}|{{{list}}}|{{PAGENAME}}}}}}
|'''Range:'''||{{{range|''Unknown''}}}
|}<includeonly>{{#if:{{{list|}}}|{{cat|Weapons|{{{list}}}}}|{{cat|Weapons}}}}{{#switch:{{{brawl}}}|y|yes={{#if:{{{list|}}}|{{cat|Brawling items|{{{list}}}}}|{{cat|Brawling items}}}}[[has default form::Form:BrawlItem| ]]}}[[page type is::weapon| ]]
</includeonly><noinclude>
==Usage Documentation==
This template is for use with weapons that are <b>non-crafted</b> or derivatives thereof. Please consult the [[Elanthipedia:Manual_of_Style/Items#Crafted Equipment|Manual of Style]] for information on listing crafted items. This is also for use with brawling weapons and parry sticks.<br />
Currently the only special properties this page is set up to display is magical and cambrinth equipment. If you have other suggestions, please list them on the [[Template_talk:Weapon|discussion page]].<br />

{| border="1" cellpadding="3"
!Variable!!Supported Values!!Usage
|-
|-
|brawl||y/n||Whether this is a brawling related item. This is REQUIRED to process brawling equipment properly. This [[Form:BrawlItem|form]] will add it automatically.
|'''Damage:'''||{{{puncture|''Unknown''}}}{{#If:{{{puncture2|}}}|/{{{puncture2}}}}}{{#If:{{{puncture3|}}}|/{{{puncture3}}}}} puncture damage<br>{{{slice|''Unknown''}}}{{#If:{{{slice2|}}}|/{{{slice2}}}}}{{#If:{{{slice3|}}}|/{{{slice3}}}}} slice damage<br>{{{impact|''Unknown''}}}{{#If:{{{impact2|}}}|/{{{impact2}}}}}{{#If:{{{impact3|}}}|/{{{impact3}}}}} impact damage}}
|-
|-
|name|| ||name of the object if it's different than the page name
|'''Balance:'''||{{{balance|''Unknown''}}}{{#If:{{{balance2|}}}|/{{{balance2}}}}}{{#If:{{{balance3|}}}|/{{{balance3}}}}}
|-
|-
|look|| <text>/- ||the description gained by {{com|LOOK}}ing at it. "-" will trigger "''You see nothing unusual.''"
|'''Suitedness:'''||{{{suitedness|''Unknown''}}}{{#If:{{{suitedness2|}}}|/{{{suitedness2}}}}}{{#If:{{{suitedness3|}}}|/{{{suitedness3}}}}}
|-
|-
|noun|| ||the single word noun used to interact with it
|'''Metal:'''||{{#switch:{{lc:{{{metal|}}}}}|y=Yes|n=No|''Unknown''}}
|-
|-
|type#||LE/ME/HE/2HE/LB/MB/HB/2HB/SL/StS/SB<br/>/LoB/CB/LX/HX/SS/QS/PI/HAL/LT/HT/arrow<br/>/bolt/rock/dart/hand/elbow/knee/foot/parry || Weapon type, use the skill codes under EXP SKILLS, addition slots for swappable, otherwise changable, or melee/thrown weapons, and the hand/elbow/knee/foot/parry is for use with brawling equipment.
|'''Weight:'''||{{{weight|''?''}}} stones
|-
|-
|range||melee/pole/ranged||farthest reachable attack range, not counting throwing
| '''Appraised Cost:''' || {{{appcost|''?''}}} Kronars
|-
|-
|ammo||rock/bolt/arrow/dart/thrown||Ammo type '''used''', or thrown. Leave blank if not appropriate.
{{#if:{{{shop|}}}|
|-
{{#ifeq:{{lc:{{{shop}}}}}|n
|ammocap||#||How much ammo can it hold, for repeating crossbows or others Leave blank if not appropriate.
|{{!}} '''For Sale At (Base Cost):'''{{!}}{{!}}Not sold
|-
|{{!}} '''For Sale At (Base Cost):'''{{!}}{{!}} <DL><DT>[[{{{shop}}}]]<DD>({{{cost|''Unknown''}}}){{#if:{{{shop2|}}} | <DT>[[{{{shop2}}}]]<DD>({{{cost2|''Unknown''}}}) }}{{#if:{{{shop3|}}}|<DT>[[{{{shop3}}}]]<DD>({{{cost3|''Unknown''}}})}}</DL>}}
|rangedRT||#||The base RT of the ranged weapon, when loading from a non-quiver, without any stat-related reductions
}}
|-
{{#if: {{{shop|}}} | {{!}}- }}
|drawstrength||(draw strength)||The draw strength value of a bow. Leave blank or omit for non-bows.
| '''Special Properties:'''
|-
|{{IfMatch|y|{{lc:{{{magic}}}}}|{{lc:{{{cambrinth}}}}}|true=*This item is magical.|false=None}}
|adraw||y/n||Is the draw strength adjuststable? Leave blank or omit for non-bows.
{{#ifeq:{{lc:{{{cambrinth}}}}}|y|*This item has [[cambrinth]] in it and will hold up to {{{maxcharge|?}}} mana.}}|}
|-
{{#if:{{{notes|}}}|==Notes==<br>{{{notes}}}}}
|puncture#<br/>slice<br/>impact||-/(damage)||Damage of the weapon, put "-" in puncture and leave other fields blank to disable all three damage fields for ranged weapons that do not directly do damage
<includeonly>
|-
<!-- Adds page to appropriate category based on type -->
|foi#||-/(foi)||Force of Impact value of weapon, additional fields for other modes.
[[Category:Items]]
|-
[[Category:Weapons]]
|balance#||-/(balance)||Balance value of weapon, additional fields for other modes. Put "-" to remove both balance and suitability for ammunition articles.
</includeonly>
|-
<noinclude>
|suitedness#||(suitedness)||Suitedness value of weapon, additional fields for other modes. Leave blank for ammunition articles.
==Usage Documentation==
|-
This template is for use with weapons that are <b>non-forged</b> and non-brawling or derivatives thereof. Please consult the [[Elanthipedia:Manual_of_Style/new#Forged Equipment|Manual of Style]] for information on listing forged items. Please use [[Template:BrawlItem]] for parry sticks and brawling equipment.<br>
|construction||(construction)||Construction value of weapon
Currently the only special properties this page is set up to display is magical and cambrinth equipment. If you have other suggestions, please list them on the [[Template_talk:Weapon|discussion page]].<br>
|-
Note: This page is not currently set up to automatically generate category inclusion or <nowiki>{{incomplete}}</nowiki> tags, but will soon.
|metal||y/n||Is it made with metal and therefore repairable at a metal forge
|-
|weight||#||weight in stones
|-
|appcost||#||The cost given by an expert (trader preferred) appraisal. Given in kronars.
|-
|special#||magic/creation/cambrinth/(race) style/(guild) style/light||Any special properties. With regard to the guild and race styles, only list them if the item has a specific use for that group, or a person ignorant of the source of the item would believe the item is styled for that guild or race.
|-
|maxcharge||#||If cambrinth, the maximum mana that can be held by it
|-
|sourcetype#||-/sold by/other||Gives the appropriate display of the source of the item. If the item is only dropped by creatures, mark the first field as "-". '''Note: "dropped by" is now handled by script.'''
|-
|source#||(source)+(source version 2)+...||Where the item comes from. If sourcetype is "dropped by" or "sold by", links auto generated. If there are multiple versions of a store selling the item at the same cost, list them with the "+".
|-
|cost#||# Kronars\Lirums\Dokoras||If sold, the cost at the preceeding shop, otherwise leave blank. Include currency.
|-
| newapp || true/false || This property declares that this item has been updated since the [[Post:Durability 2.0- 10/10/2010 - 09:33:58|appraisal changes]].
|-
|list|| ||A way to change how an item is listed in categories.
|-
| rare || true/false || Used to explicitly declare that an item is not commonly available at a shop or creature drop.
|}


<pre>
<pre>
{{Weapon
{{Weapon
|brawl=
|name=(name of the object if it's different than the page name)
|name=
|look=(the description gained by LOOKing at it.)
|look=
|noun=(the single word noun used to interact with it)
|noun=
|type=(LE/ME/HE/2HE/LB/MB/HB/2HB/SL/StS/SB/LoB/CB/LX/HX/SS/QS/PI/HAL/LT/HT, Use the skill codes under EXP SKILLS)
|type=
|type2= (for swappable or otherwise changable weapons)
|type2=
|type3=
|type3=
|range=
|ammo=(rock/bolt/arrow For use when ammunition differs from normal weapon type, i.e. dwarven rock throwing crossbow)
|ammo=
|range=(pole/melee reach for melee weapons)
|ammocap=
|drawstrength=
|adraw=
|puncture=
|puncture=
|slice=
|slice=
|impact=
|impact=
|fire=(omit if none)
|cold=(omit if none)
|electric=(omit if none)
|puncture2=
|puncture2=
|slice2=
|slice2=
|impact2=
|impact2=
|fire2=(omit if none)
|cold2=(omit if none)
|electric2=(omit if none)
|puncture3=
|puncture3=
|slice3=
|slice3=
|impact3=
|impact3=
|foi=
|fire3=(omit if none)
|foi2=
|cold3=(omit if none)
|foi3=
|electric3=(omit if none)
|balance=
|balance=
|balance2=
|balance2=
Line 79: Line 111:
|suitedness3=
|suitedness3=
|construction=
|construction=
|metal=
|metal=(y/n Is it made with metal and therefore repairable at a metal forge)
|weight= (weight in stones)
|weight=
|appcost=
|appcost=(The cost given by an expert appraisal. Given in kronars.)
|special=
|magic=(y/n)
......
|magicnote=(explain magical nature. If cambrinth, leave blank and add appropriate variables)
|special5=
|cambrinth=(y/n)
|maxcharge= (maximum mana that can be held by it)
|maxcharge=
|sourcetype=
|shop=(shop where it can be bought, put "n" if not sold)
|source=
|cost=(the cost at the preceeding shop, add currency type)
|shop2=
|cost=
|sourcetype2=
|source2=
|cost2=
|cost2=
|sourcetype3=
|shop3=
|source3=
|cost3=
|cost3=
....
|notes=(any additional notes)
|sourcetype10=
|source10=
|cost10=
|newapp=
}}
}}
</pre>
</pre>
Line 98: Line 137:
==Also See==
==Also See==
*[[Template:Armor]]
*[[Template:Armor]]
*[[Template:BrawlItem]]
*[[Template:CraftedItem]]
*[[Template:Item]]
*[[Template:Item]]
*[[Template:ForgedItem]]
*[[Template:Shield]]
*[[Template:Shield]]


{{cat|Templates}}
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 13:52, 24 September 2023

weapon
Look:
Core Noun:
Type: Unknown
Range: unknown
Puncture: Unknown
Slice: Unknown
Impact: Unknown
Force of Impact: Unknown
Balance: Unknown
Suitedness: Unknown
Construction: (??"??" is not a number./18)
Metal: Unknown
Weight: Unknown
Appraised Cost: Unknown
Properties:
Dimensions: ? length x ? width x ? height
Sources: Unknown

Usage Documentation

This template is for use with weapons that are non-crafted or derivatives thereof. Please consult the Manual of Style for information on listing crafted items. This is also for use with brawling weapons and parry sticks.
Currently the only special properties this page is set up to display is magical and cambrinth equipment. If you have other suggestions, please list them on the discussion page.

Variable Supported Values Usage
brawl y/n Whether this is a brawling related item. This is REQUIRED to process brawling equipment properly. This form will add it automatically.
name name of the object if it's different than the page name
look <text>/- the description gained by LOOKing at it. "-" will trigger "You see nothing unusual."
noun the single word noun used to interact with it
type# LE/ME/HE/2HE/LB/MB/HB/2HB/SL/StS/SB
/LoB/CB/LX/HX/SS/QS/PI/HAL/LT/HT/arrow
/bolt/rock/dart/hand/elbow/knee/foot/parry
Weapon type, use the skill codes under EXP SKILLS, addition slots for swappable, otherwise changable, or melee/thrown weapons, and the hand/elbow/knee/foot/parry is for use with brawling equipment.
range melee/pole/ranged farthest reachable attack range, not counting throwing
ammo rock/bolt/arrow/dart/thrown Ammo type used, or thrown. Leave blank if not appropriate.
ammocap # How much ammo can it hold, for repeating crossbows or others Leave blank if not appropriate.
rangedRT # The base RT of the ranged weapon, when loading from a non-quiver, without any stat-related reductions
drawstrength (draw strength) The draw strength value of a bow. Leave blank or omit for non-bows.
adraw y/n Is the draw strength adjuststable? Leave blank or omit for non-bows.
puncture#
slice
impact
-/(damage) Damage of the weapon, put "-" in puncture and leave other fields blank to disable all three damage fields for ranged weapons that do not directly do damage
foi# -/(foi) Force of Impact value of weapon, additional fields for other modes.
balance# -/(balance) Balance value of weapon, additional fields for other modes. Put "-" to remove both balance and suitability for ammunition articles.
suitedness# (suitedness) Suitedness value of weapon, additional fields for other modes. Leave blank for ammunition articles.
construction (construction) Construction value of weapon
metal y/n Is it made with metal and therefore repairable at a metal forge
weight # weight in stones
appcost # The cost given by an expert (trader preferred) appraisal. Given in kronars.
special# magic/creation/cambrinth/(race) style/(guild) style/light Any special properties. With regard to the guild and race styles, only list them if the item has a specific use for that group, or a person ignorant of the source of the item would believe the item is styled for that guild or race.
maxcharge # If cambrinth, the maximum mana that can be held by it
sourcetype# -/sold by/other Gives the appropriate display of the source of the item. If the item is only dropped by creatures, mark the first field as "-". Note: "dropped by" is now handled by script.
source# (source)+(source version 2)+... Where the item comes from. If sourcetype is "dropped by" or "sold by", links auto generated. If there are multiple versions of a store selling the item at the same cost, list them with the "+".
cost# # Kronars\Lirums\Dokoras If sold, the cost at the preceeding shop, otherwise leave blank. Include currency.
newapp true/false This property declares that this item has been updated since the appraisal changes.
list A way to change how an item is listed in categories.
rare true/false Used to explicitly declare that an item is not commonly available at a shop or creature drop.
{{Weapon
|brawl=
|name=
|look=
|noun=
|type=
|type2=
|type3=
|range=
|ammo=
|ammocap=
|drawstrength=
|adraw=
|puncture=
|slice=
|impact=
|puncture2=
|slice2=
|impact2=
|puncture3=
|slice3=
|impact3=
|foi=
|foi2=
|foi3=
|balance=
|balance2=
|balance3=
|suitedness=
|suitedness2=
|suitedness3=
|construction=
|metal=
|weight=
|appcost=
|special=
......
|special5=
|maxcharge=
|sourcetype=
|source=
|cost=
|sourcetype2=
|source2=
|cost2=
|sourcetype3=
|source3=
|cost3=
....
|sourcetype10=
|source10=
|cost10=
|newapp=
}}

Also See