Template:Equipment page: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(More robust categorization of items)
m (Fixed pageseo description)
 
(15 intermediate revisions by the same user not shown)
Line 3: Line 3:
| #default = {{PageSeo
| #default = {{PageSeo
   | image = {{#lvar: controllericon}}
   | image = {{#lvar: controllericon}}
   | description = {{{description|{{EquipmentPage/Description
   | description = {{#if: {{{description|}}} | {{{description}}} | {{EquipmentPage/Description
     | type = {{{type}}}
     | type = {{{type}}}
     | rarity = {{{rarity|}}}
     | rarity = {{{rarity|}}}
     }}}}}
     }} }}
   }}
   }}
}} __NOTOC__
}} __NOTOC__
Line 49: Line 49:
* {{SmallIcon|Ico stats.png}} {{#if: {{{uid|}}} | {{Uid|{{{uid}}}}} }} {{#if: {{{uuid|}}} | {{Uuid|{{{uuid}}}}} }} {{#if: {{{filename|}}}|{{filename|{{{filename}}}}} }}
* {{SmallIcon|Ico stats.png}} {{#if: {{{uid|}}} | {{Uid|{{{uid}}}}} }} {{#if: {{{uuid|}}} | {{Uuid|{{{uuid}}}}} }} {{#if: {{{filename|}}}|{{filename|{{{filename}}}}} }}
}}
}}
</div>
</div> {{#if: {{{passives|}}}{{{special|}}}{{{stealth disadvantage|}}} | {{blank}}
{{#if: {{{passives|}}}{{{special|}}}{{{stealth disadvantage|}}} | {{blank}}
=== Special ===
=== Special ===


The wearer of this item gains: {{#if: {{{passives|}}} | {{blank}}
The wearer of this item gains:
{{Table list|{{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = htmlList }}}}}}{{#if: {{{special|}}} | {{blank}}
{{#if: {{{special|}}} | {{blank}}
{{{special|}}}}}{{#if: {{{stealth disadvantage|}}} | {{blank}}
 
{{{special}}}
 
}}{{#if: {{{passives|}}} | {{blank}}
{{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = none }}
 
}}{{#if: {{{stealth disadvantage|}}} | {{blank}}
 
* {{Disadvantage}} on [[Stealth]] checks. }}
* {{Disadvantage}} on [[Stealth]] checks. }}
}}{{clear}}</div> {{#if: {{{condition|}}} |


<h3> Condition: {{{condition}}} </h3>
}}
{{clear}}</div> {{#if: {{{grants|}}} |
 
<h2> Grants: </h2>
 
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{#invoke: ParseList | main | {{{grants}}} | type = htmlListNoBullets | useTemplate = SAI/fixed }}
</div>
 
}} {{#if: {{{condition|}}} | {{blank}}
 
<h2> Condition: {{{condition}}} </h2>


<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
Line 67: Line 83:
| dc = {{{condition dc|}}}
| dc = {{{condition dc|}}}
}}
}}
{{main namespace only|{{Inflicts|{{{condition}}}|item}}}}
{{main namespace only|{{Inflicts|{{{condition}}}|item|type=equipment|save={{{condition save|}}}|dc={{{condition dc|}}}|duration={{{condition duration|}}}}}}}
</div>
</div>
{{#if: {{{condition2|}}} |
}} {{#if: {{{condition2|}}} | {{blank}}


<h3> Condition: {{{condition2}}} </h3>
<h2> Condition: {{{condition2}}} </h2>


<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
Line 79: Line 95:
| dc = {{{condition2 dc|}}}
| dc = {{{condition2 dc|}}}
}}
}}
{{main namespace only|{{Inflicts|{{{condition2}}}|item}}}}
{{main namespace only|{{Inflicts|{{{condition2}}}|item|type=equipment|save={{{condition2 save|}}}|dc={{{condition2 dc|}}}|duration={{{condition2 duration|}}}}}}}
</div>
</div>
 
}} {{#if: {{{where to find|}}}{{{where to find2|}}}{{{where to find3|}}}{{{where to find4|}}}{{{where to find5|}}} | {{blank}}
  }}
}} {{#if: {{{where to find|}}} |


<h2> Where to find </h2>
<h2> Where to find </h2>


<div class="bg3wiki-tooltip-box">
<div class="bg3wiki-tooltip-box">
{{{where to find}}}
{{#if: {{{where to find|}}}|
</div>
{{Where to find|{{{where to find}}}|{{{where to find location|}}}|{{{where to find x|}}}|{{{where to find y|}}}}}
}} {{#if: {{{notes|}}} |
}}{{#if: {{{where to find2|}}}|
{{Where to find|{{{where to find2}}}|{{{where to find2 location|}}}|{{{where to find2 x|}}}|{{{where to find2 y|}}}}}
}}{{#if: {{{where to find3|}}}|
{{Where to find|{{{where to find3}}}|{{{where to find3 location|}}}|{{{where to find3 x|}}}|{{{where to find3 y|}}}}}
}}{{#if: {{{where to find4|}}}|
{{Where to find|{{{where to find4}}}|{{{where to find4 location|}}}|{{{where to find4 x|}}}|{{{where to find4 y|}}}}}
}}{{#if: {{{where to find5|}}}|
{{Where to find|{{{where to find5}}}|{{{where to find5 location|}}}|{{{where to find5 x|}}}|{{{where to find5 y|}}}}}
}}
</div> }} {{#if: {{{notes|}}} | {{blank}}


<h2> Notes </h2>
<h2> Notes </h2>
Line 97: Line 120:
{{{notes}}}
{{{notes}}}
</div>
</div>
}} {{#if: {{{bugs|}}} |
}} {{#if: {{{bugs|}}} | {{blank}}


<h2> Bugs </h2>
<h2> Bugs </h2>
Line 105: Line 128:
{{Main namespace only|[[Category:Bugs]]}}
{{Main namespace only|[[Category:Bugs]]}}
</div>
</div>
}}
}} {{Main namespace only|[[Category:{{{type}}}]]{{#switch: {{lc:{{{rarity|}}}}}
{{Main namespace only|[[Category:{{{type}}}]]{{#switch: {{lc:{{{rarity|}}}}}
| common = [[Category:Common items]]
| common = [[Category:Common items]]
| uncommon = [[Category:Unommon items]]
| uncommon = [[Category:Uncommon items]]
| rare = [[Category:Rare items]]
| rare = [[Category:Rare items]]
| very rare = [[Category:Very rare items]]
| very rare = [[Category:Very rare items]]
| legendary = [[Category:Legendary items]]
| legendary = [[Category:Legendary items]]
| story = [[Category:Story items]]
| story = [[Category:Story items]]
| #default = [[Category:Common items]]}}}}{{ItemIcon Insert
| #default = [[Category:Common items]]}}{{ItemIcon Insert
|icon={{{icon|}}}
|icon={{{icon|}}}
|uid={{{uid|}}}
|uid={{{uid|}}}
|image={{{controller icon|}}}
|image={{{controller icon|}}}
|rarity={{{rarity|common}}}
|rarity={{{rarity|common}}}
}}{{Main namespace only|{{#cargo_store: _table = equipment
}}{{#cargo_store: _table = equipment
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
| image = {{{image|}}}
| image = {{{image|}}}

Latest revision as of 11:17, 10 November 2024

Template documentation

This template generates entire pages for individual pieces of equipment in the game, such as Studded Leather Armour +1 or Amulet of Misty Step. For Weapons, use Template:WeaponPage. For Consumables and other miscellaneous items, use Template:MiscItemPage.

Supported Equipment types: Clothing, Light Armour, Medium Armour, Heavy Armour, Shields, Amulets, Boots, Cloaks, Gloves, Helmets, Rings, Musical Instruments, Camp Clothes, Camp Shoes, Undergarments.

See the bottom of this page for template parameter explanations. If you're ever unsure what to type, simply leave a parameter empty (don't remove it, as this may confuse other wiki editors).

{{EquipmentPage

<!-- Name of the item as it displays in game, or the page name if not specified. -->
| name = 

<!-- High-res image of the item. -->
| image = 

<!-- Icon for the item. Falls back to the value of "image" if not specified. -->
| controller icon =

<!-- Icon for the item. Falls back to the value of "controller icon" if not specified. -->
| icon =

<!-- This is the first text that will appear on the page. Briefly describe what the item is and what makes it noteworthy. -->
| description =

<!-- The in-game flavor text in the item's tooltip. -->
| quote =

<!-- Item type. Choose one of: Clothing, Light Armour, Medium Armour, Heavy Armour, Shields, Amulets, Belts, Boots, Cloaks, Gloves, Helmets, Rings, Musical Instruments, Camp Clothes, Camp Shoes, Undergarments -->
| type =

<!-- Leave EMPTY if no proficiency needed, otherwise choose from: Light Armour, Medium Armour, Heavy Armour, Shields -->
| proficiency =

<!-- Leave EMPTY for non-Armour, otherwise: the Armour Class value displayed on the armour's tooltip. -->
| armour class =

<!-- Leave EMPTY for non-Shields, otherwise: the bonus to AC granted by wearing this item, e.g.: +2, +3, +4 -->
| armour class bonus =

<!-- Does this item grant disadvantage on stealth checks? LEAVE EMPTY if no! -->
| stealth disadvantage =

<!-- Leave EMPTY for none, otherwise: +1, +2, +3, +4, +5 -->
| enchantment =

<!-- Choose from: common, uncommon, rare, very rare, legendary, story -->
| rarity =

<!-- Weight in kg and in lb. -->
| weight kg =
| weight lb =

<!-- Price in gp as shown in the normal tooltip (NOT while buying or selling). -->
| price =

<!-- The UID for the item in format "OBJ_ItemName_BlaBla" -->
| uid = 
<!-- The uuid or root template for  the item. Often in format 13776348-0101-446e-a9f8-c95efb3763ca -->
| uuid = 

<!-- List of passive features granted by the item. -->
| passives =

<!-- List of special features, bonuses, or abilities granted by the item. -->
| special =

<!-- Conditions given by this piece of equipment. -->
| condition = Dazed
| condition duration = 10
| condition save = WIS
| condition dc = 13
| condition2 = Prone
| condition2 duration = 1
| condition2 save =
| condition2 dc = 

<!-- Describe where and how to obtain the item. -->
| where to find =
| where to find location =
| where to find x =
| where to find y =
| where to find2 =
| where to find2 location =
| where to find2 x =
| where to find2 y =
| where to find3 =
| where to find3 location =
| where to find3 x =
| where to find3 y =
| where to find4 =
| where to find4 location =
| where to find4 x =
| where to find4 y =
| where to find5 =
| where to find5 location =
| where to find5 x =
| where to find5 y =
}}

Copy-ready:

{{EquipmentPage
| name =
| image = 
| icon =
| description =
| quote =
<!-- Item type. Choose one of: Clothing, Light Armour, Medium Armour, Heavy Armour, Shields, Amulets, Belts, Boots, Cloaks, Gloves, Helmets, Rings, Musical Instruments, Camp Clothes, Camp Shoes, Undergarments -->
| type =
| proficiency =
| armour class =
| armour class bonus =
| stealth disadvantage =
| enchantment =
| rarity =
| weight kg =
| weight lb =
| price =
| uid = 
| uuid =
| passives =
| special =
| condition =
| condition duration = 
| condition save =
| condition dc = 
| condition2 =
| condition2 duration = 
| condition2 save =
| condition2 dc =
| where to find =
| where to find location =
| where to find x =
| where to find y =
| where to find2 =
| where to find2 location =
| where to find2 x =
| where to find2 y =
| where to find3 =
| where to find3 location =
| where to find3 x =
| where to find3 y =
| where to find4 =
| where to find4 location =
| where to find4 x =
| where to find4 y =
| where to find5 =
| where to find5 location =
| where to find5 x =
| where to find5 y =
}}

Example follows.

Cool Armour

Equipment page image

Cool Armour is an uncommon Light Armour that increases Strength Saving Throws and allows the wearer to cast a neat spell.

Description Icon.png

The in-game flavor text in the item's tooltip.

Properties

  • Light Armour Light Armour
  • Proficiency Icon.png Required Proficiency: Light Armour Light Armour
  • Rarity: Uncommon / RareHHonour
  •  Weight: 4.5 kg / 9 lb
  • Price: 600 gp / 1500 gpHHonour
  • UID MAG_Cool_LeatherArmour_1
    UUID 13776348-0101-446e-a9f8-c95efb3763ca

Special

The wearer of this item gains:

Where to find

  • This is a made-up piece of equipment. You cannot obtain it anywhere in the game.

Cool Shield

Equipment page image

Cool shield is an uncommon Shield that allows the wearer to cast a ton of spells.

Description Icon.png

The in-game flavor text in the item's tooltip.

Properties

  • Shields Shields
  • Proficiency Icon.png Required Proficiency: Shields Shields
  • Rarity: Uncommon
  •  Weight: 4.5 kg / 9 lb
  • Price: 600 gp

Special

The wearer of this item gains:

Condition: Wet

Wet Wet

Duration: 2 turns

Condition: Prone

Prone Prone

Duration: Until Long rest

Where to find

  • This is a made-up piece of equipment. You cannot obtain it anywhere in the game.

Template data

This template generates entire pages for individual pieces of equipment in the game. Supported Equipment types: Clothing, Light Armour, Medium Armour, Heavy Armour, Shields, Amulets, Boots, Cloaks, Gloves, Helmets, Rings, Camp Clothes, Camp Shoes, Undergarments. (For Weapons, use Template:WeaponPage. For Consumables and other miscellaneous items, use Template:MiscItemPage.) Copy example values exactly as listed, including capitalization and plurals, if any. If you're ever unsure what to type, simply leave the parameter empty.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

Name of the item; can be left empty to automatically use the page name.

Example
Amulet of Misty Step
Stringsuggested
imageimage

The filename of the image/icon associated with this item.

Example
Amulet of Misty Step Icon.png
Filesuggested
controller iconcontroller icon

The unfaded controller icon of this item. Defaults to the value of image= if not provided.

Filesuggested
iconicon

The icon of this item. Defaults to the value of controller icon= if not provided.

Filerequired
descriptiondescription

The first text that will appear on the page. Briefly describe what the item is and what makes it noteworthy.

Example
{{uncommon|Amulet of Misty Step}} is an uncommon [[Amulets|Amulet]] that allows the wearer to cast [[Misty Step]].
Contentrequired
quotequote

The in-game flavour text in the item's tooltip.

Contentsuggested
where to findwhere to find

Describe where and how to obtain the item.

Example
Found on a table.
Contentsuggested
where to find locationwhere to find location

The map name of the item. Should match a location page.

Example
Underdark
Contentsuggested
where to find xwhere to find x

The x coordinate of the item in the location.

Example
53
Contentsuggested
where to find ywhere to find y

The y coordinate of the item in the location

Example
Underdark
Contentsuggested
where to find2where to find2

no description

Unknownoptional
where to find2 locationwhere to find2 location

no description

Unknownoptional
where to find2 xwhere to find2 x

no description

Unknownoptional
where to find2 ywhere to find2 y

no description

Unknownoptional
where to find3where to find3

no description

Unknownoptional
where to find3 locationwhere to find3 location

no description

Unknownoptional
where to find3 xwhere to find3 x

no description

Unknownoptional
where to find3 ywhere to find3 y

no description

Unknownoptional
where to find4where to find4

no description

Unknownoptional
where to find4 locationwhere to find4 location

no description

Unknownoptional
where to find4 xwhere to find4 x

no description

Unknownoptional
where to find4 ywhere to find4 y

no description

Unknownoptional
where to find5where to find5

no description

Unknownoptional
where to find5 locationwhere to find5 location

no description

Unknownoptional
where to find5 xwhere to find5 x

no description

Unknownoptional
where to find5 ywhere to find5 y

no description

Unknownoptional
typetype

Equipment type. Choose one of: Clothing, Light Armour, Medium Armour, Heavy Armour, Shields, Amulets, Boots, Cloaks, Gloves, Helmets, Rings, Camp Clothes, Camp Shoes, Undergarments

Suggested values
Clothing Light Armour Medium Armour Heavy Armour Shields Amulets Boots Cloaks Gloves Helmets Rings Camp Clothes Camp Shoes Undergarments
Stringrequired
proficiencyproficiency

Leave EMPTY if no proficiency required, otherwise choose from: Light Armour, Medium Armour, Heavy Armour, Shields

Suggested values
Light Armour Medium Armour Heavy Armour Shields
Stringsuggested
armour classarmour class

Leave EMPTY for non-Armour/non-Clothing, otherwise: the Armour Class value displayed on the Armour's tooltip.

Example
12
Numbersuggested
armour class bonusarmour class bonus

Leave EMPTY for non-Shields, otherwise: the bonus to AC granted by wearing this item, e.g.: +2, +3, +4

Example
+2
Stringsuggested
stealth disadvantagestealth disadvantage

Does this item grant disadvantage on stealth checks? LEAVE EMPTY if no!

Suggested values
yes
Stringsuggested
rarityrarity

Choose from: common, uncommon, rare, very rare, legendary, story

Suggested values
common uncommon rare very rare legendary story
Stringrequired
enchantmentenchantment

The enchantment value on the item. Leave EMPTY for none, otherwise: +1, +2, +3, +4, +5

Example
+1
Stringsuggested
weight kgweight kg

Weight of the item in kilograms

Numberrequired
weight lbweight lb

Weight of the item in pounds

Numberrequired
priceprice

Price/value of the item. When two values are listed on the tooltip, use the crossed out "true" value, not the adjusted buy/sell price.

Numberrequired
uiduid

The uid for the item. In format OBJ_Someitem_Whatever.

Stringoptional
uuiduuid

The uuid or Root Template of the item. In format 13776348-0101-446e-a9f8-c95efb3763ca

Stringoptional
specialspecial

List of special features, bonuses, or abilities granted by the item.

Example
* '''Super Cool Ability:''' Once per [[Long Rest]] you can use this awesome ability of this item.
Contentsuggested
conditioncondition

The full name of the condition (if any) that this action applies to its target/s. Leave blank if there is no condition.

Example
Hastened
Stringoptional
condition durationcondition duration

The duration in turns of the action's applied condition. Leave blank if the duration is unlimited.

Example
5
Numberoptional
condition savecondition save

The save that the action's target must roll to avoid or reduce its effects. Can use short or long name, e.g: "STR" or "Strength"

Suggested values
Strength Dexterity Constitution Intelligence Wisdom Charisma
Example
WIS
Stringoptional
condition dccondition dc

The optional fixed DC of the condition that targets have to pass to apply it

Example
12
Numberoptional
condition2condition2

The full name of the condition (if any) that is applied if there is a second condition.

Example
Hastened
Stringoptional
condition2 durationcondition2 duration

The duration in turns of the action's second condition. Leave blank if the duration is unlimited.

Example
5
Numberoptional
condition2 savecondition2 save

The save that the action's target must roll to avoid or reduce the effects of the second condition. Can use short or long name, e.g: "STR" or "Strength"

Suggested values
Strength Dexterity Constitution Intelligence Wisdom Charisma
Example
WIS
Stringoptional
condition2 dccondition2 dc

The optional fixed DC of the second condition that targets have to pass to apply it

Example
12
Numberoptional
this is an examplethis is an example

no description

Unknownoptional
seo descriptionseo description

no description

Unknownoptional
dex overridedex override

no description

Unknownoptional
rarity honourrarity honour

The rarity in Honour Mode, if it is different.

Unknownoptional
price honourprice honour

The price in Honour Mode, if it is different.

Unknownoptional
notesnotes

no description

Unknownoptional
bugsbugs

no description

Unknownoptional
filenamefilename

no description

Unknownoptional

This template defines the table "equipment". View table.