Template:Missile Weapon: Difference between revisions
m (1 revision: For full history see http://ac.wikkii.net) |
>Arkalor's Bot No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><div style="overflow:auto"> | ||
<div class="item"> | |||
<div id="itemheader">{{{Name|Name}}}<div style="float:right;">[[File:{{{Icon Image|}}}]]</div></div> | |||
Value: {{{Value|??}}}<br><!-- | |||
-->{{#ifeq:{{lc:{{{Burden|}}}}}|unknown|Unknown Burden|Burden: {{{Burden|??}}}<br><br>}}<!-- | |||
-->{{#if:{{{Weapon Skill|}}}|Skill: {{{Weapon Skill|}}} ({{{Weapon Type|}}})<br>}}<!-- | |||
-->{{#ifeq:{{{Damage Bonus|}}}||Damage: {{{Damage|?? - ??}}}, {{{Element|??}}}<br>|Damage Bonus: {{{Damage Bonus|}}} {{#if:{{{Buffed Damage Bonus|}}}|<font color=green> ({{{Buffed Damage Bonus|}}})</font>|}}<br>}}<!-- | |||
-->{{#if:{{{Elemental Damage Bonus|}}}|Elemental Damage Bonus: {{{Elemental Damage Bonus|}}}{{#if:{{{Element|}}}|, {{{Element|}}}}}<br>}}<!-- | |||
}} | -->{{#if:{{{Damage Modifier|}}}|Damage Modifier: +{{{Damage Modifier}}}% {{#if:{{{Buffed Damage Modifier|}}}|<font color=green> ({{{Buffed Damage Modifier|}}}%)</font>}}<br>}}<!-- | ||
{ | -->{{#if:{{{Speed|}}}|Speed: {{{Speed|??}}} {{#if:{{{Buffed Speed|}}}|<font color=green> ({{{Buffed Speed|}}})</font>|}}<br>}}<!-- | ||
| | -->{{#if:{{{Range|}}}|Range: {{{Range|}}} yds. {{#if:{{{Buffed Range|}}}|<font color=green> ({{{Buffed Range|}}})</font>|}}<br>}}<!-- | ||
| | -->{{#ifeq:{{lc:{{{Weapon Type|}}}}}|ammunition|{{{Ammunition|}}}<br>|Uses {{{Ammunition|}}} as ammunition.<br>}}<!-- | ||
{| | -->{{#if:{{{Bonus to Defense|}}}|Bonus to Melee Defense: {{#ifeq:{{#sub:{{{Bonus to Defense|}}}|0|1}}|-||+}}{{{Bonus to Defense|}}}% {{#if:{{{Buffed Defense|}}}|<font color=green> (+{{{Buffed Defense|}}}%)</font>}}<br>}}<!-- | ||
-->{{#if:{{{Bonus to Missile|}}}|Bonus to Missile Defense: +{{{Bonus to Missile|}}}%<br>}}<!-- | |||
-->{{#if:{{{Bonus to Magic|}}}|Bonus to Magic Defense: +{{{Bonus to Magic|}}}%<br>}}<!-- | |||
-->{{#if:{{{Spells|}}}|<br>Spells: {{{Spells|}}}<br><br>}}<!-- | |||
-->{{#if:{{{Description 2|}}}|<br>{{{Description 2|}}}<br>}}<!-- | |||
| | -->{{#if:{{{Special Properties|}}}|Properties: {{{Special Properties|}}}<br><br>}}<!-- | ||
-->{{#if:{{{Special Req|}}}|{{{Special Req|}}}<br><br>}}<!-- | |||
-->{{#if:{{{Level Req|}}}|Wield requires {{{Level Req|}}}<br>}}<!-- | |||
-->{{#if:{{{Fletching Req|}}}|Wield requires base Fletching {{{Fletching Req|}}}<br>}}<!-- | |||
-->{{#if:{{{Base Weapon Req|}}}|{{#ifeq:{{lc:{{{Weapon Type|}}}}}|ammunition|Wield requires base Missile Weapons {{{Base Weapon Req|}}}<br>|Wield requires {{{Weapon Skill}}} {{{Base Weapon Req|}}}<br>}}}}<!-- | |||
-->{{#if:{{{Buffed Weapon Req|}}}|Wield requires {{{Weapon Skill|}}} {{{Buffed Weapon Req|}}}<br>}}<!-- | |||
-->{{#if:{{{Activation Reqs|}}}|Activation requires {{{Activation Reqs|}}}<br>}}<!-- | |||
{{ | -->{{#ifeq:{{lc:{{{Cannot Be Sold|False}}} }}|true|This item cannot be sold.<br>}}<!-- | ||
| | -->{{#if:{{{Spellcraft|}}}|Spellcraft: {{{Spellcraft|}}}<br>}}<!-- | ||
| | -->{{#if:{{{Mana|}}}|Mana: {{{Mana|}}}<br>}}<!-- | ||
| | -->{{#if:{{{Mana|}}}|Mana Cost: 1 point per {{{Mana Cost|??}}} seconds.<br>}}<!-- | ||
-->{{#if:{{{Description|}}}|<br>{{{Description|}}}<br><br>}}<!-- | |||
-->{{#if:{{{Inscription|}}}|<br><hr style="background#F0F0F0;"/>{{{Inscription|}}}<br>}}</div> | |||
<div style="float:right">{{#ifeq:{{lc:{{{Weapon Type|}}}}}|ammunition||{{#if:{{{Live Image|}}}|[[File:{{{Live Image|}}}{{!}}thumb{{!}}{{{Live Image Caption|}}}]]|[[File:Live.jpg]]}}}}</div></div> | |||
<!-- Categories --> | |||
}} | {{#ifeq:{{lc:{{{Retired Weapon|}}}}} | yes | [[Category:Retired Missile Weapons]] | <!-- | ||
-->{{#ifeq:{{lc:{{{Weapon Type|}}}}}|ammunition||{{#ifeq:{{{Live Image|}}} | Live.jpg | [[Category:Images Needed (Weapons)]] | {{#ifeq:{{{Live Image|}}} | | [[Category:Images Needed (Weapons)]] |}}}}}}<!-- | |||
{{ | -->{{#switch:{{lc:{{{Weapon Type|}}}}} | ||
| ammunition = [[Category:Ammunition]] | |||
| bow = [[Category:Bows]] | |||
{{ | | xbow | ||
| crossbow = [[Category:Crossbows]] | |||
| tw | |||
| thrown | |||
| thrown weapon | |||
| thrown weapons = {{#if:{{{Damage|}}}|{{#if:{{{Special Req|}}}|[[Category:Thrown Weapons: Alchemy Phial]]|[[Category:Thrown Weapons: Non Atlatl]]}}|[[Category:Thrown Weapons: Atlatl]]}} | |||
}}<!-- | |||
-->{{#ifeq:{{lc:{{{Weapon Type|}}}}}|ammunition||{{#if:{{{Base Weapon Req|}}}|[[Category:Missile Weapons: Wield {{{Base Weapon Req}}}]]|[[Category:Missile Weapons: No Wield Requirement]]}}}}[[Category:Missile Weapon Index]]}}<!-- | |||
}} | |||
< | |||
-------------------------------------------------- | |||
ITEM TOOLTIP | |||
-------------------------------------------------- | |||
[[Category:Wiki Template]] | --><div class="item tooltip-content" style="display:none"> | ||
</noinclude> | <p>{{{Name}}}</p>Value: {{{Value|??}}}<br>{{#ifeq:{{lc:{{{Burden|}}}}}|unknown|Unknown Burden|Burden: {{{Burden|??}}}<br><br>}}{{#if:{{{Weapon Skill|}}}|Skill: {{{Weapon Skill|}}} ({{{Weapon Type|}}})<br>}}{{#ifeq:{{{Damage Bonus|}}}||Damage: {{{Damage|?? - ??}}}, {{{Element|??}}}<br>|Damage Bonus: {{{Damage Bonus|}}} {{#if:{{{Buffed Damage Bonus|}}}|<font color=green> ({{{Buffed Damage Bonus|}}})</font>|}}<br>}}{{#if:{{{Elemental Damage Bonus|}}}|Elemental Damage Bonus: {{{Elemental Damage Bonus|}}}{{#if:{{{Element|}}}|, {{{Element|}}}}}<br>}}{{#if:{{{Damage Modifier|}}}|Damage Modifier: +{{{Damage Modifier|}}}% {{#if:{{{Buffed Damage Modifier|}}}|<font color=green> ({{{Buffed Damage Modifier|}}}%)</font>}}<br>}}{{#if:{{{Speed|}}}|Speed: {{{Speed|??}}} {{#if:{{{Buffed Speed|}}}|<font color=green> ({{{Buffed Speed|}}})</font>|}}<br>}}{{#if:{{{Range|}}}|Range: {{{Range|}}} yds. {{#if:{{{Buffed Range|}}}|<font color=green> ({{{Buffed Range|}}})</font>|}}<br>}}{{#if:{{{Ammunition|}}}|Uses {{{Ammunition|}}} as ammunition.<br>}}{{#if:{{{Bonus to Defense|}}}|Bonus to Melee Defense: {{#ifeq:{{#sub:{{{Bonus to Defense|}}}|0|1}}|-||+}}{{{Bonus to Defense|}}}% {{#if:{{{Buffed Defense|}}}|<font color=green> (+{{{Buffed Defense|}}}%)</font>|}}<br>}}{{#if:{{{Bonus to Missile|}}}|||Bonus to Missile Defense: +{{{Bonus to Missile|}}}%<br>}}{{#if:{{{Bonus to Magic|}}}|Bonus to Magic Defense: +{{{Bonus to Magic|}}}%<br>}}{{#if:{{{Spells|}}}|<br>Spells: {{{Spells|}}}<br><br>}}{{#if:{{{Special Properties|}}}|Properties: {{{Special Properties|}}}<br><br>}}{{#if:{{{Special Req|}}}|{{{Special Req|}}}<br><br>}}{{#if:{{{Level Req|}}}|Wield requires {{{Level Req|}}}<br>}}{{#if:{{{Base Weapon Req|}}}|Wield requires {{{Weapon Skill}}} {{{Base Weapon Req|}}}<br>}}{{#if:{{{Buffed Weapon Req|}}}|Wield requires {{{Weapon Skill|}}} {{{Buffed Weapon Req|}}}<br>}}{{#if:{{{Activation Reqs|}}}|Activation requires {{{Activation Reqs|}}}<br>}}{{#ifeq:{{lc:{{{Cannot Be Sold|False}}} }}|true|This item cannot be sold.<br>}}{{#if:{{{Spellcraft|}}}|Spellcraft: {{{Spellcraft|}}}<br>}}{{#if:{{{Mana|}}}|Mana: {{{Mana|}}}<br>}}{{#if:{{{Mana|}}}|Mana Cost: 1 point per {{{Mana Cost|??}}} seconds.<br>}}{{#if:{{{Description|}}}|<br>{{{Description|}}}<br><br>}}{{#if:{{{Inscription|}}}|<br><hr style="background#F0F0F0;"/>{{{Inscription|}}}<br>}}</div><!-- | ||
--></includeonly><noinclude>{{Documentation}}[[Category:Wiki Template]]</noinclude> | |||
Revision as of 01:35, 16 April 2014
| Template Documentation: | Weapon| |_}}/Doc?action=edit Edit Documentation |
|---|
Related topics: Wiki Templates, Missile Weapon Template
Syntax
{{Missile Weapon
| Weapon Type =
| Weapon Skill = Missile Weapons
| Name =
| Icon Image = Icon.png
| Live Image = Live.jpg
| Live Image Caption =
|
| Value =
| Burden =
| Description =
| Special Properties =
|
| Damage Bonus =
| Buffed Damage Bonus =
| Elemental Damage Bonus =
| Element =
| Damage Modifier =
| Buffed Damage Modifier =
| Speed =
| Buffed Speed =
| Range =
| Buffed Range =
| Ammunition =
| Bonus to Defense =
| Buffed Defense =
| Bonus to Missile =
| Bonus to Magic =
|
| Player Attuned =
| Level Req =
| Base Weapon Req =
| Buffed Weapon Req =
| Special Req =
|
| Spells =
| Activation Reqs =
| Spellcraft =
| Mana =
| Mana Cost =
| Cannot Be Sold = False
}}
Usage
This template is one component of the page template Missile Weapon Stat Template, full details and an example can be found there.