Difference between revisions of "Template:Infobox Weapon"

From BatWiki
Jump to: navigation, search
m
(Remove google analytics)
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox"
+
<includeonly>[[Category: Equipment]] [[Category:Weapon]]
|+ {{{name|}}}  [[Category:Weapon]]
+
{| class="infobox" cellspacing="3"
! Description:
+
|+ {{#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:
 
|
 
|
{| {{#if: {{{description|{{{desc|}}}}}} | style="width: 35em;"}} cellpadding="0" cellspacing="0"
+
{| style="width: 35em;" cellpadding="0" cellspacing="0"
 
| {{#if: {{{description|{{{desc|}}}}}} | {{{description|{{{desc|}}}}}} | Missing ''description'' [[Category:Missing description]]}} {{#if:{{{tale|}}}| <br>It contains a tale;<br>{{{tale}}} }}
 
| {{#if: {{{description|{{{desc|}}}}}} | {{{description|{{{desc|}}}}}} | Missing ''description'' [[Category:Missing description]]}} {{#if:{{{tale|}}}| <br>It contains a tale;<br>{{{tale}}} }}
 
|}
 
|}
 
|-
 
|-
! Weapon type:
+
! align="right" | Weapon type:
 
| {{ #if: {{{type|}}} | {{{type}}}  [[Category:{{{type}}}]] | ''Missing type'' }} {{ #switch: {{lc:{{{type}}}}}
 
| {{ #if: {{{type|}}} | {{{type}}}  [[Category:{{{type}}}]] | ''Missing type'' }} {{ #switch: {{lc:{{{type}}}}}
 
| aklys
 
| aklys
Line 14: Line 15:
 
| great axe
 
| great axe
 
| hand-axe
 
| hand-axe
| tomahawk = [[Category:Axes]]
+
| tomahawk = [[Category:Axe]]
 
| battle mace
 
| battle mace
 
| blackjack
 
| blackjack
Line 29: Line 30:
 
| staff
 
| staff
 
| warhammer
 
| warhammer
| war mattock
+
| war mattock = [[Category:Bludgeon]]
| whip = [[Category:Bludgeons]]
+
 
| 2h sword
 
| 2h sword
 
| bastard sword
 
| bastard sword
Line 38: Line 38:
 
| longsword
 
| longsword
 
| no-dachi
 
| no-dachi
| shovel = [[Category:Long blades]]
+
| shovel = [[Category:Long blade]]
 
| bardiche
 
| bardiche
 
| boar spear
 
| boar spear
Line 55: Line 55:
 
| short spear
 
| short spear
 
| trident
 
| trident
| voulge  = [[Category:Polearms]]
+
| voulge  = [[Category:Polearm]]
 
| broadsword
 
| broadsword
 
| sabre
 
| sabre
 
| cutlass
 
| cutlass
 
| dagger
 
| dagger
 +
| dirk
 
| foil
 
| foil
 
| knife
 
| knife
Line 68: Line 69:
 
| scimitar
 
| scimitar
 
| short sword
 
| short sword
| wakizashi = [[Category:Short blades]]
+
| wakizashi = [[Category:Short blade]]
 +
| whip
 +
| scourge
 +
| chain whip = [[Category:Whip (weapon class)]]
 
| [[Category:Missing type]] }}
 
| [[Category:Missing type]] }}
 
|-
 
|-
! Stats:
+
! align="right" | Stats:
 
| {{ #if: {{{stats|}}} | {{{stats}}} | Missing ''stats'' [[Category:Missing stats]]}}
 
| {{ #if: {{{stats|}}} | {{{stats}}} | Missing ''stats'' [[Category:Missing stats]]}}
 
|-
 
|-
! 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]] }}
 
|-
 
|-
! Sacvalue:
+
! align="right" | Sacvalue:
| {{#if: {{{sacvalue|}}} | {{{sacvalue}}} | ''Missing sacvalue'' [[Category:Missing sacvalue]]}}
+
| {{#if: {{{sacvalue|}}} | {{{sacvalue}}} | Missing ''sacvalue'' [[Category:Missing sacvalue]]}}
 
|-
 
|-
! Handles:
+
! align="right" | It is called
| {{#if: {{{handles|}}} | {{{handles}}} | ''Missing handles [[Category:Missing handles]]}}
+
| {{#if: {{{handles|}}} | {{{handles}}} | Missing ''handles [[Category:Missing handles]]}}
 
|-
 
|-
! 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]]}}
 
|-
 
|-
! Size:
+
! align="right" | Size:
| {{#if: {{{seze|}}} | {{{size}}} | Missing ''size'' [[Category:Missing size]]}}
+
| {{#if: {{{size|}}} | {{{size}}} | Missing ''size'' [[Category:Missing size]]}}
 
|-
 
|-
! Quality:
+
! align="right" | Quality:
 
| {{#if: {{{quality|}}} | {{{quality}}} | Missing ''quality'' [[Category:Missing quality]]}}
 
| {{#if: {{{quality|}}} | {{{quality}}} | Missing ''quality'' [[Category:Missing quality]]}}
 
|-
 
|-
! 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]]}}
 
|-
 
|-
! Compares between:
+
! align="right" | Compares between:
 
| {{#if: {{{wep1|}}} | {{{wep1}}} | ''Unknown'' [[Category:Missing weapon compares]]}} and {{#if: {{{wep2|}}} | {{{wep2}}} | ''Unknown'' }}
 
| {{#if: {{{wep1|}}} | {{{wep1}}} | ''Unknown'' [[Category:Missing weapon compares]]}} and {{#if: {{{wep2|}}} | {{{wep2}}} | ''Unknown'' }}
 
|-
 
|-
! {{#if: {{{other|}}} | Other info: }}
+
! align="right"| {{#if: {{{other|}}} | Other info: }}
 
| {{#if: {{{other|}}} | {{{other}}} }}
 
| {{#if: {{{other|}}} | {{{other}}} }}
|}<analytics uacct="UA-3466433-1" ></analytics></includeonly><noinclude><nowiki>{{</nowiki> {{PAGENAME}}<br>
+
|}</includeonly><noinclude>Template for [[weapon]]s.
<nowiki>|</nowiki> name = <br>
+
== Copy & Paste ==
<nowiki>|</nowiki> description = <br>
+
<nowiki>{{</nowiki> {{PAGENAME}}<br>
<nowiki>|</nowiki> tale = <br>
+
<nowiki>|</nowiki> name =&nbsp;<br>
<nowiki>|</nowiki> type = <br>
+
<nowiki>|</nowiki> description =&nbsp;<br>
<nowiki>|</nowiki> stats = <br>
+
<nowiki>|</nowiki> ''tale'' =&nbsp;<br>
<nowiki>|</nowiki> weight = <br>
+
<nowiki>|</nowiki> type =&nbsp;<br>
<nowiki>|</nowiki> kg = <br>
+
<nowiki>|</nowiki> stats =&nbsp;<br>
<nowiki>|</nowiki> sacvalue = <br>
+
<nowiki>|</nowiki> weight =&nbsp;<br>
<nowiki>|</nowiki> handles = <br>
+
<nowiki>|</nowiki> kg =&nbsp;<br>
<nowiki>|</nowiki> material = <br>
+
<nowiki>|</nowiki> sacvalue =&nbsp;<br>
<nowiki>|</nowiki> size = <br>
+
<nowiki>|</nowiki> handles =&nbsp;<br>
<nowiki>|</nowiki> quality = <br>
+
<nowiki>|</nowiki> material =&nbsp;<br>
<nowiki>|</nowiki> from = <br>
+
<nowiki>|</nowiki> size =&nbsp;<br>
<nowiki>|</nowiki> ''other'' = <br>
+
<nowiki>|</nowiki> quality =&nbsp;<br>
<nowiki>}}</nowiki> [[Category:Template]]
+
<nowiki>|</nowiki> from =&nbsp;<br>
 
+
<nowiki>|</nowiki> ''ungettable'' =&nbsp;<br>
Fields in ''italics'' are optional. Meaning if they are not used, remove them.
+
<nowiki>|</nowiki> ''other'' =&nbsp;<br>
* '''Name''': Items long desc including all auras/glows.
+
<nowiki>}}</nowiki>
* '''Description''': Fill with all what you see when looking at it before any auras/glows or type.
+
{|  cellspacing="3"
* '''Tale''': If the item has tale, use this field.
+
|+
* '''Type''': From looking at the item "This <type> is in ______ condition."
+
== Explanation ==
* '''Stats''': Items magical properties.
+
! align="right" | Fields
* '''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 [[An ivory amulet in the shape of small scales|scales]]. Or you can pick up coins until you see you carried weight changing as ten coins weight one gram.
+
! align="left" | Instructions how to fill 'em. Fields in ''italics'' should be remove if not used.
* '''Sacvalue''': The value [[damogran]] shows for the item when writing inv at him.
+
|-
* '''Handles''': Shown by [[identify|id]] "It is called <handles>." before slots.
+
| align="right" | '''name''' ||:
* '''Size''': Shown by [[identify|id]] after weight after weight.
+
| Items long desc including all auras/glows.
* '''Material''': Shown by [[identify|id]] "made of <material>" after size and before the unaccurate sacvalue.
+
|-
* '''Quality''': Shown by [[identify|id]] "and of <quality> quality." after unaccurate sacvalue and before weapon skill.
+
| align="right" | '''description'''||:
* '''Other''': If any other important, use this field.</noinclude>
+
| Fill with all what you see when looking at it before any auras/glows or type.
 +
|-
 +
| align="right" | '''tale'''||:
 +
| If the item has tale, insert it in this field.
 +
|-
 +
| align="right" | '''type'''||:
 +
| From looking at the item "This <type> is in ______ condition."
 +
|-
 +
| align="right" | '''stats'''||:
 +
| Items (magical) properties.
 +
|-
 +
| align="right" | '''weight'''||:
 +
| From looking at the item "It looks <weight>."
 +
|-
 +
| align="right" | '''kg'''||:
 +
| What the item really weights. Either sell it to shop and view it or use [[An ivory amulet in the shape of small scales|scales]]. Or you can pick up coins until you see you carried weight changing as ten coins weight one gram.
 +
|-
 +
| align="right" | '''sacvalue'''||:
 +
| The value [[damogran]] shows for the item when writing inv at him.
 +
|-
 +
| align="right" | '''handles'''||:
 +
| Shown by [[identify|id]] "It is called <handles>." before slots.
 +
|-
 +
| align="right" | '''size'''||:
 +
| Shown by [[identify|id]] after idweight before material.
 +
|-
 +
| align="right" | '''material'''||:
 +
| Shown by [[identify|id]] "made of <material>" after size and before the unaccurate sacvalue.
 +
|-
 +
| align="right" | '''quality'''||:
 +
| 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'''||:
 +
| If any other important, use this field.
 +
|}
 +
[[Category:Template]]</noinclude>

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.