Template:Item location table row: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:
<tr>
<tr>


<td style="text-align: center; vertical-align: middle;">
<td style="text-align: center; vertical-align: middle;">{{#if: {{{name|}}} |
{{ItemIcon Internal
{{ItemIcon Internal
|{{{icon|}}}{{{weapons icon|}}}
|{{{icon|}}}
|50
|50
|{{#replace:{{{rarity|}}}{{{weapons rarity|}}}|<nowiki> </nowiki>|-}}
|{{#replace:{{{rarity|}}}|<nowiki> </nowiki>|-}}
|true
|true
|{{{page}}}
|{{{page}}}
|missing=true}}<br>
|missing=true}}<br>
[[{{{page}}} | <span style="color: {{#switch: {{{rarity}}}{{{weapons rarity|}}}
[[{{{page}}} | <span style="color: {{#switch: {{{rarity}}}
| common = #FFFFFF
| common = #FFFFFF
| uncommon = #01BD39
| uncommon = #01BD39
Line 17: Line 17:
| legendary = #B7861D
| legendary = #B7861D
| story = #FF5901
| story = #FF5901
}};">{{{name|}}}{{{weapons name|}}}</span> ]]
}};">{{{name|}}}</span> ]]}}{{#if: {{{weapons name|}}} |
{{ItemIcon Internal
|{{{weapons icon|}}}
|50
|{{#replace:{{{weapons rarity|}}}|<nowiki> </nowiki>|-}}
|true
|{{{page}}}
|missing=true}}<br>
[[{{{page}}} | <span style="color: {{#switch: {{{weapons rarity|}}}
| common = #FFFFFF
| uncommon = #01BD39
| rare = #01BFFF
| very rare = #D1017B
| legendary = #B7861D
| story = #FF5901
}};">{{{weapons name|}}}</span> ]]}}
</td>
</td>


<td>
<td>
{{#if: {{{passives|}}} |
{{#if: {{{passives|}}} |
{{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = htmlList }}
{{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive minimal | type = htmlList }}
}}{{#if: {{{weapons passives|}}} |
}}{{#if: {{{weapons passives|}}} |
{{#invoke: ParseList | main | {{{weapons passives}}} | useTemplate = Passive | type = htmlList }}
{{#invoke: ParseList | main | {{{weapons passives}}} | useTemplate = Passive minimal | type = htmlList }}
}}{{#if: {{{passives main hand|}}} | {{blank}}
}}{{#if: {{{passives main hand|}}} | {{blank}}
Main Hand Only
Main Hand Only
{{#invoke: ParseList | main | {{{passives main hand}}} | useTemplate = Passive | type = htmlList }}
{{#invoke: ParseList | main | {{{passives main hand}}} | useTemplate = Passive minimal | type = htmlList }}
}}{{#if: {{{passives off hand|}}} | {{blank}}
}}{{#if: {{{passives off hand|}}} | {{blank}}
Off-Hand Only
Off-Hand Only
{{#invoke: ParseList | main | {{{passives off hand}}} | useTemplate = Passive | type = htmlList }}
{{#invoke: ParseList | main | {{{passives off hand}}} | useTemplate = Passive minimal | type = htmlList }}
}}{{#if: {{{special|}}} | {{blank}}
}}{{#if: {{{special|}}} | {{blank}}
{{{special}}}
{{{special}}}
}}{{#if: {{{weapons special|}}} | {{blank}}
{{{weapons special}}}
}}{{#if: {{{special weapon actions|}}} | {{blank}}
}}{{#if: {{{special weapon actions|}}} | {{blank}}
{{#invoke: ParseList | main | {{{special weapon actions}}} | useTemplate = WeaponAction | type = htmlList }}
{{#invoke: ParseList | main | {{{special weapon actions}}} | useTemplate = WeaponAction | type = none }}
}}
}}
</td>
</td>
Line 92: Line 109:
}}
}}
{{Item location table row
{{Item location table row
| rarity=very rare
| weapons rarity=very rare
| icon=Potent Robe Unfaded Icon.png
| weapons icon=Dagger PlusTwo Unfaded Icon.png
| page=Potent Robe
| weapons name=Gleamdance Dagger
| name=Potent Robe
| page=Gleamdance Dagger
| passives = Gregarious Caster, Well-Liked and Well-Fortified
| passives = Gleamdance Dagger: Glowing
| special = * {{Armour Class}} +1
| special = * {{Armour Class}} +1
| description=Rewarded by [[Alfira]] for successfully completing [[Rescue the Tieflings]] in [[Act Two]]
| description=Rewarded by [[Alfira]] for successfully completing [[Rescue the Tieflings]] in [[Act Two]]

Latest revision as of 08:38, 22 August 2024

Example:

{{Item location table row
| rarity=rare
| icon=Steelwatcher Helmet Unfaded Icon.png
| page=Steelwatcher Helmet
| name=Steel Watcher Helmet
| passives = Artificial Sight
| special = * {{Advantage}} on [[Constitution]] [[saving throws]]
| description=Can be found on a table on the ground floor.
| location=Steel Watch Foundry
| x=-275
| y=-134
}}
{{Item location table row
| rarity=very rare
| icon=Potent Robe Unfaded Icon.png
| page=Potent Robe
| name=Potent Robe
| passives = Gregarious Caster, Well-Liked and Well-Fortified
| special = * {{Armour Class}} +1
| description=Rewarded by [[Alfira]] for successfully completing [[Rescue the Tieflings]] in [[Act Two]]
| location=Last Light Inn
| x=-64
| y=-141
}}

Result:

Item Name Item Effect Where to Find Location

Steel Watcher Helmet

  • The wearer can see in the dark up to 12 m / 40 ft and cannot be Blinded Blinded.

Can be found on a table on the ground floor.

Steel Watch Foundry
X: -275 Y: -134


Gleamdance Dagger

  • This object shines with a glowing light in a radius of 6 m / 20 ft.

Rewarded by Alfira for successfully completing Rescue the Tieflings in Act Two

Last Light Inn
X: -64 Y: -141

template data

Template to fill the rows of the item location table. It is intended to use inside wikitable with appropriate columns.

Template parameters

ParameterDescriptionTypeStatus
pagepage

Page of the item to link to.

Stringrequired
namename

Name of the item

Stringrequired
rarityrarity

Rarity of the item

Suggested values
common uncommon rare very rare legendary story
Stringoptional
iconicon

File name of the icon of this item

Stringoptional
passivespassives

List of passives granted by this item

Stringoptional
specialspecial

Any special features of this item

Stringoptional
descriptiondescription

A description of where to find this item for this location

Stringoptional
locationlocation

Name of the location where this item can be found.

Stringoptional
xx

X-coordinate of this item in the location

Numberoptional
yy

Y-coordinate of this item in the location

Numberoptional