42,400
edits
m
no edit summary
m (testing - WIP) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(119 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[File:{{{image}}}|frameless|right]] | <includeonly>{{#switch: {{{this is an example|}}} | ||
{{# | | yes = | ||
}} | | #default = {{PageSeo | ||
| image = {{#if:{{{controller icon|}}}|{{{controller icon}}}|{{#if:{{{image|}}}|{{{image}}}|{{{icon|}}}}}}} | |||
| description = {{{description|{{EquipmentPage/Description | |||
| type = {{{type}}} | |||
| rarity = {{{rarity|}}} | |||
}}}}} | |||
}} | |||
}} __NOTOC__ | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-{{#if: {{{rarity|}}} | |||
| {{#replace: {{{rarity}}} | <nowiki> </nowiki> | }} | |||
| common | |||
}}"> | |||
{{#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. --> | ||
{{ | {{#if: {{{quote|}}} | {{Description|{{{quote}}}}} }} | ||
{{ | |||
}} | |||
<h2> Properties </h2> | |||
| | {{#if: {{{armour class|}}} | | ||
| | {{Armour class value|{{{armour class}}}|{{#switch: {{{type|}}} | ||
| | | Clothing = [[Armour Class]] + [[Dexterity#Dexterity Modifier Chart|Dexterity modifier]] | ||
| | | Light Armour = [[Armour Class]] + [[Dexterity#Dexterity Modifier Chart|Dexterity modifier]] | ||
| #default = [[{{{ | | Medium Armour = {{#ifeq: {{{dex override}}} | ||
| yes | [[Armour Class]] + [[Dexterity#Dexterity Modifier Chart|Dexterity modifier]] | |||
| [[Armour Class]] + [[Dexterity#Dexterity Modifier Chart|Dexterity modifier]] ''(max +2)''}} | |||
| Heavy Armour = [[Armour Class]] | |||
| #default = [[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|}}} | | ||
{{#if: {{{ | |||
* {{ | |||
}} | |||
{{# | |||
| | |||
| | |||
{{#if: {{{enchantment|}}} | | |||
* {{Enchantment | {{{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 === | === Special === | ||
The wearer of this item gains: | The wearer of this item gains: {{#if: {{{passives|}}} | {{blank}} | ||
{{{special}}} | {{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> 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> | |||
<div class="bg3wiki-tooltip-box"> | |||
{{{where to find}}} | |||
</div> | |||
}} {{#if: {{{notes|}}} | | |||
< | <h2> Notes </h2> | ||
<div class="bg3wiki-tooltip-box"> | |||
{{{notes}}} | |||
</div> | |||
}} {{#if: {{{bugs|}}} | | |||
<h2> Bugs </h2> | |||
[[Category: | <div class="bg3wiki-tooltip-box"> | ||
</noinclude> | {{{bugs}}} | ||
{{Main namespace only|[[Category:Bugs]]}} | |||
</div> | |||
}} | |||
{{Main namespace only|[[Category:{{{type}}}]] {{#ifeq: {{{rarity|}}} | very rare | [[Category:Very Rare items]] | [[Category:{{{rarity|common}}} items]]}} | |||
}}{{ItemIcon Insert | |||
|icon={{{icon|}}} | |||
|uid={{{uid|}}} | |||
|image={{{controller icon|}}} | |||
|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 | |||
}} | |||
}} | |||
}}</includeonly><noinclude>{{documentation}} | |||
{{#cargo_declare: _table = equipment | |||
| name = String | |||
| uid = String | |||
| image = File | |||
| controller_icon = File | |||
| icon = File | |||
| description = Wikitext | |||
| quote = Wikitext | |||
| where_to_find = Wikitext | |||
| type = String | |||
| proficiency = String (allowed values = Light Armour, Medium Armour, Heavy Armour, Shields) | |||
| armour_class = String | |||
| armour_class_bonus = String | |||
| stealth_disadvantage = Boolean | |||
| rarity = String (allowed values = common, uncommon, rare, very rare, legendary, story) | |||
| rarity_order = Integer | |||
| enchantment = String | |||
| weight_kg = String | |||
| weight_lb = String | |||
| price = String | |||
| passives = List (,) of String | |||
| special = Wikitext | |||
| legacy = String(allowed values = inaccessible, unobtainable) | |||
}}</noinclude> |