42,400
edits
m
no edit summary
HiddenDragon (talk | contribs) (Tweak spacing of properties a bit to the right) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(42 intermediate revisions by 8 users not shown) | |||
Line 2: | Line 2: | ||
| yes = | | yes = | ||
| #default = {{PageSeo | | #default = {{PageSeo | ||
| image = {{{image}}} | | image = {{#if:{{{controller icon|}}}|{{{controller icon}}}|{{#if:{{{image|}}}|{{{image}}}|{{{icon|}}}}}}} | ||
| description = {{{ | | description = {{{description|{{EquipmentPage/Description | ||
| type = {{{type}}} | | type = {{{type}}} | ||
| rarity = {{{rarity|}}} | | rarity = {{{rarity|}}} | ||
Line 14: | Line 14: | ||
}}"> | }}"> | ||
{{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right||alt={{PAGENAME}} image]] | {{Main only|[[Category: | {{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right|alt={{PAGENAME}} image]] | {{#if:{{{controller icon|}}} | [[File:{{{controller icon}}}|frameless|right|alt={{PAGENAME}} controller icon]] | {{#if:{{{icon|}}} | [[File:{{{icon}}}|frameless|right|alt={{PAGENAME}} icon]] | }} }} }}{{#if: {{{image|}}} || {{Main only|[[Category:Misc pages without images]]}} }}{{#if: {{{controller icon|}}} || {{Main only|[[Category:Item pages without controller icons]]}} }}{{#if: {{{icon|}}} || {{Main only|[[Category:Item pages without icons]]}} }} | ||
{{{description}}} <!-- No support for auto-generated equipment descriptions for now. --> | {{{description}}} <!-- No support for auto-generated equipment descriptions for now. --> | ||
Line 21: | Line 21: | ||
<h2> Properties </h2> | <h2> Properties </h2> | ||
{{#if: {{{armour class|}}} | | {{#if: {{{armour class|}}} | | ||
{{Armour class value|{{{armour class}}}|{{#switch: {{{type|}}} | {{Armour class value|{{{armour class}}}|{{#switch: {{{type|}}} | ||
| Clothing = Armour Class | | Clothing = [[Armour Class]] + [[Dexterity#Dexterity Modifier Chart|Dexterity modifier]] | ||
| Light Armour = + [[Dexterity#Dexterity Modifier Chart|Dexterity | | Light Armour = [[Armour Class]] + [[Dexterity#Dexterity Modifier Chart|Dexterity modifier]] | ||
| Medium Armour = {{#ifeq: {{{dex override}}} | | Medium Armour = {{#ifeq: {{{dex override}}} | ||
| yes | + [[Dexterity#Dexterity Modifier Chart|Dexterity | | yes | [[Armour Class]] + [[Dexterity#Dexterity Modifier Chart|Dexterity modifier]] | ||
| + [[Dexterity#Dexterity Modifier Chart|Dexterity | | [[Armour Class]] + [[Dexterity#Dexterity Modifier Chart|Dexterity modifier]] ''(max +2)''}} | ||
| Heavy Armour = Armour Class | | Heavy Armour = [[Armour Class]] | ||
| #default = Armour Class}}}}}} {{#if: {{{armour class bonus|}}} | | | #default = [[Armour Class]]}}}} | ||
{{Armour class value|{{{armour class bonus}}}|Armour Class}}}} | }} {{#if: {{{armour class bonus|}}} | | ||
{{Armour class value|{{{armour class bonus}}}|[[Armour Class]]}} | |||
}} | |||
<div class="bg3wiki-property-list" style="margin-left: 7px"> | |||
{{#if: {{{type|}}} | | |||
* {{WeaponType | {{{type}}} }} | |||
}} {{#if: {{{proficiency|}}} | | |||
* {{Icon|Proficiency Icon.png|32}} Required Proficiency: {{WeaponType|{{{proficiency}}}}} | |||
}} {{#if: 1 | | |||
* {{Rarity | {{{rarity|common}}} | {{{rarity honour|}}} }} | |||
}} {{#if: {{{enchantment|}}} | | |||
* {{Enchantment | {{{enchantment|}}} }} | |||
}} {{#if: {{{weight kg|}}} | | |||
* {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }} | |||
}} {{#if: {{{price|}}} | | |||
* {{Price | {{{price}}} | {{{price honour|}}} }} | |||
}} {{#if: {{{uid|}}} {{{uuid|}}} {{{filename|}}} | | |||
* {{SmallIcon|Ico stats.png}} {{#if: {{{uid|}}} | {{Uid|{{{uid}}}}} }} {{#if: {{{uuid|}}} | {{Uuid|{{{uuid}}}}} }} {{#if: {{{filename|}}}|{{filename|{{{filename}}}}} }} | |||
}} | |||
</div> | |||
{{#if: {{{passives|}}}{{{special|}}}{{{stealth disadvantage|}}} | {{blank}} | |||
=== Special === | |||
The wearer of this item gains: {{#if: {{{passives|}}} | {{blank}} | |||
{{Table list|{{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = htmlList }}}}}}{{#if: {{{special|}}} | {{blank}} | |||
{{{special|}}}}}{{#if: {{{stealth disadvantage|}}} | {{blank}} | |||
* {{Disadvantage}} on [[Stealth]] checks. }} | |||
}}{{clear}}</div> {{#if: {{{condition|}}} | | |||
<h3> Condition: {{{condition}}} </h3> | |||
< | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
{{Condition | {{{condition}}} | |||
| save = {{{condition save|}}} | |||
| duration = {{{condition duration|}}} | |||
| dc = {{{condition dc|}}} | |||
}} | }} | ||
{{main namespace only|{{Inflicts|{{{condition}}}|item}}}} | |||
</div> | |||
{{#if: {{{condition2|}}} | | |||
<h3> | <h3> Condition: {{{condition2}}} </h3> | ||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | |||
{{{ | {{Condition | {{{condition2}}} | ||
}}{{ | | save = {{{condition2 save|}}} | ||
| duration = {{{condition2 duration|}}} | |||
| dc = {{{condition2 dc|}}} | |||
}} | |||
{{main namespace only|{{Inflicts|{{{condition2}}}|item}}}} | |||
</div> | |||
}} | |||
}} {{#if: {{{where to find|}}} | | |||
<h2> Where to find </h2> | <h2> Where to find </h2> | ||
Line 56: | Line 90: | ||
{{{where to find}}} | {{{where to find}}} | ||
</div> | </div> | ||
}} {{#if: {{{notes|}}} | | }} {{#if: {{{notes|}}} | | ||
<h2> Notes </h2> | <h2> Notes </h2> | ||
Line 62: | Line 96: | ||
<div class="bg3wiki-tooltip-box"> | <div class="bg3wiki-tooltip-box"> | ||
{{{notes}}} | {{{notes}}} | ||
</div> | |||
}} {{#if: {{{bugs|}}} | | |||
<h2> Bugs </h2> | |||
<div class="bg3wiki-tooltip-box"> | |||
{{{bugs}}} | |||
{{Main namespace only|[[Category:Bugs]]}} | |||
</div> | </div> | ||
}} | }} | ||
{{Main namespace only|[[Category:{{{type}}}]] {{#ifeq: {{{rarity|}}} | very rare | [[Category:Very Rare | {{Main namespace only|[[Category:{{{type}}}]] {{#ifeq: {{{rarity|}}} | very rare | [[Category:Very Rare items]] | [[Category:{{{rarity|common}}} items]]}} | ||
}}{{ItemIcon Insert | }}{{ItemIcon Insert | ||
|icon={{{icon|}}} | |icon={{{icon|}}} | ||
|image={{{ | |uid={{{uid|}}} | ||
|image={{{controller icon|}}} | |||
|rarity={{{rarity|common}}} | |rarity={{{rarity|common}}} | ||
}} | }}{{Main namespace only|{{#cargo_store: _table = equipment | ||
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}} | |||
| uid = {{{uid|}}} | |||
| legacy = {{#var:legacy}} <!-- Intentionally using a page-scope var to pick up information from a different template. --> | |||
| proficiency = {{{proficiency|}}} | |||
| stealth_disadvantage = {{IfEmpty | {{{stealth disadvantage|}}} | no}} | |||
| rarity = {{IfEmpty | {{{rarity|}}} | common}} | |||
| rarity_order = {{#switch: {{{rarity|}}} | |||
| | common = 0 | |||
| uncommon = 1 | |||
{{ | | rare = 2 | ||
| very rare = 3 | |||
| legendary = 4 | |||
| | | story = 5 | ||
}} | |||
| | |||
| | |||
| | |||
| | |||
| | |||
<!-- | |||
| | |||
{{ | |||
| | |||
| | |||
| stealth disadvantage | |||
| | |||
| | |||
}} | |||
= | |||
{{ | |||
| rarity | |||
| | |||
| | |||
}} | |||
= | |||
{{ | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
}}</includeonly><noinclude>{{documentation}} | |||
{{#cargo_declare: _table = equipment | {{#cargo_declare: _table = equipment | ||
| name = String | | name = String | ||
| uid = String | |||
| image = File | | image = File | ||
| controller_icon = File | |||
| icon = File | |||
| description = Wikitext | | description = Wikitext | ||
| quote = Wikitext | | quote = Wikitext | ||
Line 238: | Line 149: | ||
| weight_lb = String | | weight_lb = String | ||
| price = String | | price = String | ||
| passives = List (,) of String | |||
| special = Wikitext | | special = Wikitext | ||
| legacy = String(allowed values = inaccessible, unobtainable) | | legacy = String(allowed values = inaccessible, unobtainable) | ||
}} | }}</noinclude> | ||