Difference between revisions of "Template:Infobox Weapon"

From BatWiki
Jump to: navigation, search
m
(Remove google analytics)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" cellspacing="3"
+
<includeonly>[[Category: Equipment]] [[Category:Weapon]]
|+ {{{name|}}}  [[Category:Weapon]]
+
{| class="infobox" cellspacing="3"
 +
|+ {{#ifeq: {{{name|missing name value}}} | {{PAGENAME}} |  | {{{name|}}} }} <!-- If the name of the article equals the value of name field, the heading is left empty  -->  
 
! align="right" | Description:
 
! align="right" | Description:
 
|
 
|
Line 29: Line 30:
 
| staff
 
| staff
 
| warhammer
 
| warhammer
| war mattock
+
| war mattock = [[Category:Bludgeon]]
| whip = [[Category:Bludgeon]]
+
 
| 2h sword
 
| 2h sword
 
| bastard sword
 
| bastard sword
Line 60: Line 60:
 
| cutlass
 
| cutlass
 
| dagger
 
| dagger
 +
| dirk
 
| foil
 
| foil
 
| knife
 
| knife
Line 69: Line 70:
 
| short sword
 
| short sword
 
| wakizashi = [[Category:Short blade]]
 
| wakizashi = [[Category:Short blade]]
 +
| whip
 +
| scourge
 +
| chain whip = [[Category:Whip (weapon class)]]
 
| [[Category:Missing type]] }}
 
| [[Category:Missing type]] }}
 
|-
 
|-
Line 74: Line 78:
 
| {{ #if: {{{stats|}}} | {{{stats}}} | Missing ''stats'' [[Category:Missing stats]]}}
 
| {{ #if: {{{stats|}}} | {{{stats}}} | Missing ''stats'' [[Category:Missing stats]]}}
 
|-
 
|-
! align="right" | Weight:
+
! align="right" | It looks
| {{#if: {{{weight|}}} | [[Category:{{{weight}}}]] {{{weight}}} | ''Weight'' category unknown[[Category:Missing weight category]]}} {{#if: {{{kg|}}}| ({{{kg}}} kg) | (Weight in ''kg''s unknown) [[Category:Missing weight in kg's]] }}
+
| {{#if: {{{weight|}}} | {{ #switch: {{lc:{{{weight}}}}}  <!-- switch that includes the armour to right weight category -->
 +
| very light weight = Very light weight  [[Category:Very light weight]]
 +
| light weight = Light weight  [[Category:Light weight]]
 +
| bit heavy
 +
| a bit heavy = A bit heavy  [[Category:A bit heavy]]
 +
| heavy = Heavy  [[Category:Heavy]]
 +
| very heavy = Very heavy  [[Category:Very heavy]]
 +
| very very heavy = Very very heavy  [[Category:Very very heavy]]
 +
| ridiculously heavy = Ridiculously heavy  [[Category:Ridiculously heavy]]
 +
| {{{weight}}} }} | Missing '''weight''' category [[Category:Missing weight category]]}} {{#if: {{{kg|}}}| ({{{kg}}} kg) | (Weight in ''kg''s unknown) [[Category:Missing weight in kg's]] }}
 
|-
 
|-
 
! align="right" | Sacvalue:
 
! align="right" | Sacvalue:
Line 84: Line 97:
 
|-
 
|-
 
! align="right" | Made of  
 
! align="right" | Made of  
| {{#if: {{{material|}}} | {{{material}}} | Missing ''material'' [[Category:Missing material]]}}
+
| {{#if: {{{material|}}} | {{#ifexist: {{{material}}}| [[{{{material}}}]]  [[Category:{{{material}}}]] | {{{material}}} }} |  Missing ''material'' [[Category:Missing material]]}}
 
|-
 
|-
 
! align="right" | Size:
 
! align="right" | Size:
Line 93: Line 106:
 
|-
 
|-
 
! align="right" | From:
 
! align="right" | From:
| {{#if: {{{from|}}} | {{{from}}} | Missing where ''from'' gained [[Category:Missing where gained]]}}
+
| {{#if: {{{from|}}} | {{{from}}} | Missing where ''from'' gained [[Category:Missing where gained]]}}  {{#if: {{{ungettable|}}} | '''Note''': Ungettable at the moment [[Category:Ungettable]]}}
 
|-
 
|-
 
! align="right" | Compares between:
 
! align="right" | Compares between:
Line 100: Line 113:
 
! align="right"| {{#if: {{{other|}}} | Other info: }}
 
! align="right"| {{#if: {{{other|}}} | Other info: }}
 
| {{#if: {{{other|}}} | {{{other}}} }}
 
| {{#if: {{{other|}}} | {{{other}}} }}
|}<analytics uacct="UA-3466433-1" ></analytics></includeonly><noinclude>Template for [[weapon]]s.
+
|}</includeonly><noinclude>Template for [[weapon]]s.
 
== Copy & Paste ==
 
== Copy & Paste ==
 
<nowiki>{{</nowiki> {{PAGENAME}}<br>
 
<nowiki>{{</nowiki> {{PAGENAME}}<br>
Line 116: Line 129:
 
<nowiki>|</nowiki> quality =&nbsp;<br>
 
<nowiki>|</nowiki> quality =&nbsp;<br>
 
<nowiki>|</nowiki> from =&nbsp;<br>
 
<nowiki>|</nowiki> from =&nbsp;<br>
 +
<nowiki>|</nowiki> ''ungettable'' =&nbsp;<br>
 
<nowiki>|</nowiki> ''other'' =&nbsp;<br>
 
<nowiki>|</nowiki> ''other'' =&nbsp;<br>
 
<nowiki>}}</nowiki>
 
<nowiki>}}</nowiki>
Line 160: Line 174:
 
| align="right" | '''quality'''||:
 
| align="right" | '''quality'''||:
 
| Shown by [[identify|id]] "and of <quality> quality." after unaccurate sacvalue and before weapon skill.
 
| Shown by [[identify|id]] "and of <quality> quality." after unaccurate sacvalue and before weapon skill.
 +
|-
 +
| align="right" | '''ungettable'''||:
 +
| If its impossible to make anymore of these items at this moment, fill this field.
 
|-
 
|-
 
| align="right" | '''other'''||:
 
| align="right" | '''other'''||:

Latest revision as of 11:52, 24 April 2022

Template for weapons.

Copy & Paste

{{ Infobox Weapon
| name = 
| description = 
| tale
| type = 
| stats = 
| weight = 
| kg = 
| sacvalue = 
| handles = 
| material = 
| size = 
| quality = 
| from = 
| ungettable
| other
}}

Explanation

Fields & Instructions how to fill 'em. Fields in italics should be remove if not used.
name : Items long desc including all auras/glows.
description : Fill with all what you see when looking at it before any auras/glows or type.
tale : If the item has tale, insert it in this field.
type : From looking at the item "This <type> is in ______ condition."
stats : Items (magical) properties.
weight : From looking at the item "It looks <weight>."
kg : What the item really weights. Either sell it to shop and view it or use scales. Or you can pick up coins until you see you carried weight changing as ten coins weight one gram.
sacvalue : The value damogran shows for the item when writing inv at him.
handles : Shown by id "It is called <handles>." before slots.
size : Shown by id after idweight before material.
material : Shown by id "made of <material>" after size and before the unaccurate sacvalue.
quality : Shown by id "and of <quality> quality." after unaccurate sacvalue and before weapon skill.
ungettable : If its impossible to make anymore of these items at this moment, fill this field.
other : If any other important, use this field.