Template:Passive feature page: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
mNo edit summary
(Added extra description field)
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{PageSeo
<includeonly>{{PageSeo
| description = {{{plain summary|{{{summary}}}}}}
| description = {{{plain summary|{{{summary}}}}}}
| image = {{#if: {{{image|}}} | {{{image|}}} | NoImage Icon.webp}}
| image = {{#if:{{{icon|}}}|{{{icon}}}|{{#if:{{{image|}}}|{{{image}}}}}}}
}} __NOTOC__
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{#if: {{{image|}}} {{{icon|}}}
| [[File:{{{image|{{{icon|}}}}}}|frameless|right]]
}}
}}
__NOTOC__
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">{{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right]] }}
{{{summary}}}
{{{summary}}}
 
<h2> Description </h2>
<h2> Description </h2>
{{{description}}} {{#if: {{{warning|}}} |
 
<p>{{Colour|white|{{{warning}}}}}</p> }}
{{{description}}} {{#if: {{{extra description|}}} | {{blank}}
{{#if: {{{recharge|}}} | == Properties ==
 
{{{extra description}}}
 
}}{{#if: {{{warning|}}} | {{blank}}
 
{{Colour|white|{{{warning}}}}}  
 
}}{{#if: {{{additional|}}} | {{blank}}
 
{{{additional}}}
 
}}{{#if: {{{recharge|}}} {{{uid|}}} | {{blank}}
 
<h3> Details </h3>
 
<dl class="bg3wiki-property-list">
<dl class="bg3wiki-property-list">
{{trim|{{#if: {{{recharge|}}} |<dd>{{Recharge|{{{recharge}}}}}</dd>| {{blank}}}}
{{#if: {{{recharge|}}}
| <dd>{{Recharge | {{{recharge}}} }}</dd>
}}{{#if: {{{uid|}}}
| <dd>{{uid | {{{uid}}} }}</dd>
}}
}}
</dl>}}
</dl>
{{#if: {{{additional|}}} | 
{{{additional}}}| {{blank}}
}}
}}
{{clear}}</div>{{#if: {{{grants|}}} |
 
{{clear}}
 
</div>{{#if: {{{grants|}}} |


<h2> Grants: </h2>
<h2> Grants: </h2>
Line 25: Line 45:
{{#invoke: ParseList | main | {{{grants}}} | type = htmlListNoBullets | useTemplate = SAI/fixed }}
{{#invoke: ParseList | main | {{{grants}}} | type = htmlListNoBullets | useTemplate = SAI/fixed }}
</div>
</div>
}}{{#if: {{{condition|}}} |
}}{{#if: {{{condition|}}} |


Line 37: Line 58:
{{main namespace only|{{Inflicts|{{{condition}}}|passive}}}}
{{main namespace only|{{Inflicts|{{{condition}}}|passive}}}}
</div>
</div>
{{#if: {{{condition2|}}} |


== Condition: {{{condition2}}} ==
}}{{#if: {{{condition2|}}} | {{blank}}
 
<h2> Condition: {{{condition2}}} </h2>


<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
Line 49: Line 71:
{{main namespace only|{{Inflicts|{{{condition2}}}|passive}}}}
{{main namespace only|{{Inflicts|{{{condition2}}}|passive}}}}
</div>
</div>
{{#if: {{{condition3|}}} |


== Condition: {{{condition3}}} ==
}}{{#if: {{{condition3|}}} | {{blank}}
 
<h2> Condition: {{{condition3}}} </h2>


<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
Line 62: Line 85:
</div>
</div>


      }}
  }}
}}
}}


Line 88: Line 109:
{{#lvar:races-learn-list}}
{{#lvar:races-learn-list}}


<span style="font-size:85%;">(''Character level'' is the sum of all class levels for a multi-classed character.)</span>
<span style="font-size:85%;">([[Character level]] is the sum of all class levels for a multi-classed character.)</span>
   }}{{#if: {{{granted by feats|}}} | {{blank}}
   }}{{#if: {{{granted by feats|}}} | {{blank}}


Line 95: Line 116:
   }}{{#cargo_query:
   }}{{#cargo_query:
tables=weapons
tables=weapons
|fields= _pageName = page
|fields= _pageName = page, name, legacy
|where=passives HOLDS "{{PAGENAME}}"
|where=passives HOLDS "{{PAGENAME}}" OR passives_main_hand HOLDS "{{PAGENAME}}" OR passives_off_hand HOLDS "{{PAGENAME}}"
|order by=weapons._pageName
|order by=weapons._pageName
|more results text=
|more results text=
|intro=Granted by the weapons:
|intro=<p>Granted by the weapons:<ul style="list-style: none;">
|outro=</ul></p>
|default=
|default=
|format=template
|format=template
|template=RarityItem
|named args = yes
}}
|template=Passive sources/format
{{#cargo_query:
}}{{#cargo_query:
tables=equipment
tables=equipment
|fields= _pageName = page
|fields= _pageName = page, name, legacy
|where=passives HOLDS "{{PAGENAME}}"
|where=passives HOLDS "{{PAGENAME}}"
|order by=equipment._pageName
|order by=equipment._pageName
|more results text=
|more results text=
|intro=Granted by the equipment:
|intro=<p>Granted by the equipment:<ul style="list-style: none;">
|outro=</ul></p>
|default=
|default=
|format=template
|format=template
Line 126: Line 149:
Other ways to learn:
Other ways to learn:


{{{other ways to learn}}} }}
{{{other ways to learn}}}
  }}
}}<div class="bg3wiki-tooltip-box">
}}<div class="bg3wiki-tooltip-box">
{{#lvar: how-to-learn-content | ''(Information not yet added.)'' }}
{{#lvar: how-to-learn-content | ''(Information not yet added.)'' }}
</div> {{#if: {{{notes|}}} |
<h2> Notes </h2>
<div class="bg3wiki-tooltip-box bg3wiki-tooltip">
{{{notes}}}
</div>
}} {{#if: {{{bugs|}}} |
<h2> Bugs </h2>
<div class="bg3wiki-tooltip-box bg3wiki-tooltip">
{{{bugs}}}
</div>
</div>
{{clear}}
{{Main namespace only|[[Category:Bugs]]}}
{{#if: {{{notes|}}} | == Notes == }}
}} {{#if: {{{video|}}} |
{{trim|{{#if: {{{notes|}}} | <div class="bg3wiki-tooltip-box bg3wiki-tooltip">
{{{notes}}}
</div>| {{blank}}}}}}{{#if: {{{video|}}} |


<h2> Visuals </h2>
<h2> Visuals </h2>
Line 140: Line 174:
[[File:{{{video}}}]]
[[File:{{{video}}}]]


}}
}}  
{{#switch: {{{this is an example|}}}
{{Main namespace only|{{#ifeq: {{#lvar: hasclasslearn}} | 1 | [[Category:Class features]]}} {{#ifeq: {{#lvar: hasracelearn}} | 1 | [[Category:Racial features]]}} [[Category:Passive features]] {{#if: {{{toggleable|}}} | [[Category:Toggleable passive features]] }} {{#if: {{{variants|}}} | [[Category:Pages using deprecated parameters]]}} {{#cargo_store:
| yes =
| #default = {{#ifeq: {{#lvar: hasclasslearn}} | 1 | [[Category:Class features]]}} {{#ifeq: {{#lvar: hasracelearn}} | 1 | [[Category:Racial features]]}} {{#if: {{{granted by items|}}} | [[Category:Passive item features]] }}
[[Category:Passive features]] {{#if: {{{toggleable|}}} | [[Category:Toggleable passive features]] }} {{#if: {{{variants|}}} | [[Category:Pages using deprecated parameters]]}} {{#cargo_store:
_table = passives
_table = passives
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
| image = {{{image|}}}
| image = {{{image|}}}
| icon = {{{icon|}}}
| toggleable = {{IfEmpty | {{{toggleable|}}} | no }}
| toggleable = {{IfEmpty | {{{toggleable|}}} | no }}
| is_item = {{IfEmpty | {{{granted by items|}}} | no }}
| is_item = {{IfEmpty | {{{granted by items|}}} | no }}
Line 154: Line 186:
| is_class = {{#ifeq: {{#lvar: hasclasslearn}} | 1 | yes}}
| is_class = {{#ifeq: {{#lvar: hasclasslearn}} | 1 | yes}}
| description = {{{description|}}}
| description = {{{description|}}}
| extra_description = {{{extra description|}}}
| brief = {{{brief| {{{description|}}} }}}
| recharge = {{{recharge|}}}
| recharge = {{{recharge|}}}
}}
}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{/doc}}{{#cargo_declare:
{{documentation}}
{{#cargo_declare:
_table = passives
_table = passives
| name = String
| name = String
| image = File
| image = File
| icon = File
| toggleable = Boolean
| toggleable = Boolean
| is_item = Boolean
| is_item = Boolean
Line 167: Line 203:
| is_class = Boolean
| is_class = Boolean
| description = Wikitext
| description = Wikitext
| extra_description = Wikitext
| brief = Wikitext
| recharge = String
| recharge = String
}}
}}
</noinclude>
</noinclude>

Latest revision as of 09:02, 27 April 2024

Template documentation

Usage

{{Passive feature page
| this is an example = 
| summary =
| description =
| extra description =
| image =
| icon =
| recharge =
| additional = 
| toggleable =
| condition =
| condition duration = 
| condition save = 
| condition dc =
| condition2 =
| condition2 duration = 
| condition2 save = 
| condition2 dc =
| condition3 =
| condition3 duration = 
| condition3 save = 
| condition3 dc =
| X learns at level X =
| granted by feats =
| granted by items = 
| granted by spells = 
| grants = 
| used by creatures =
| other ways to learn =
| notes =
| bugs =
| video =
}}
Bg3 content hr.png

This generates pages that don't fit other generators, automatically formatting and categorizing the page. Don't be daunted by the number of parameters/options and fill in what you need.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Passive summarysummary

The summary of the passive feature and its effects. This goes at the top of the article. Use description for the in-game text description.

Example
This action allows the caster to unleash a streak of fire from their hands that ignites into a large explosion at a chosen point within range.
Contentrequired
Passive descriptiondescription

The raw in-game passive description of the action. Use summary for summarizing the action and its effects.

Example
Shoot a bright flame from your fingers that explodes upon contact, torching everything in the vicinity for 8d6 Fire damage.
Stringrequired
Extra descriptionextra description

The extra in-game description of the passive feature, shown when the tooltip is locked on screen.

Stringoptional
Passive imageimage

The page's main image. [[File:NoImage Icon.webp|x40px]] will be used if empty.

Example
Defence.webp
Stringsuggested
Passive iconicon

The page's main icon.

Example
Defence Icon.webp
Stringsuggested
rechargerecharge

Action recharge time, if applicable

Example
Long Rest
Stringoptional
toggleabletoggleable

Specifies whether or not this passive feature is toggleable.

Example
yes
Contentoptional
additional propertiesadditional

Any additional properties about the skill that are not covered by template go here, which goes under damage in properties

Contentoptional
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
condition3condition3

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

Example
Hastened
Stringoptional
condition3 durationcondition3 duration

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

Example
5
Numberoptional
condition3 savecondition3 save

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

Suggested values
Strength Dexterity Constitution Intelligence Wisdom Charisma
Example
WIS
Stringoptional
condition3 dccondition3 dc

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

Example
12
Numberoptional
class learns at level 1class learns at level 1

This specifies what level the classes get access to this action at level 1. You can use subclass names such as "Fiend" or "Light Domain" to indicate that Fiend Warlocks or Light Domain clerics gain access.

Example
Sorcerer, Wizard, Fiend, Light Domain
Stringoptional
class learns at level 2class learns at level 2

This specifies what level the classes get access to this action at level 2. You can use subclass names such as "Fiend" or "Light Domain" to indicate that Fiend Warlocks or Light Domain clerics gain access.

Example
Sorcerer, Wizard, Fiend, Light Domain
Stringoptional
class learns at level 3class learns at level 3

This specifies what level the classes get access to this action at level 3. You can use subclass names such as "Fiend" or "Light Domain" to indicate that Fiend Warlocks or Light Domain clerics gain access.

Example
Sorcerer, Wizard, Fiend, Light Domain
Stringoptional
class learns at level 4class learns at level 4

This specifies what level the classes get access to this action at level 4. You can use subclass names such as "Fiend" or "Light Domain" to indicate that Fiend Warlocks or Light Domain clerics gain access.

Example
Sorcerer, Wizard, Fiend, Light Domain
Stringoptional
class learns at level 5class learns at level 5

This specifies what level the classes get access to this action at level 5. You can use subclass names such as "Fiend" or "Light Domain" to indicate that Fiend Warlocks or Light Domain clerics gain access.

Example
Sorcerer, Wizard, Fiend, Light Domain
Stringoptional
class learns at level 6class learns at level 6

This specifies what level the classes get access to this action at level 6. You can use subclass names such as "Fiend" or "Light Domain" to indicate that Fiend Warlocks or Light Domain clerics gain access.

Example
Sorcerer, Wizard, Fiend, Light Domain
Stringoptional
class learns at level 7class learns at level 7

This specifies what level the classes get access to this action at level 7. You can use subclass names such as "Fiend" or "Light Domain" to indicate that Fiend Warlocks or Light Domain clerics gain access.

Example
Sorcerer, Wizard, Fiend, Light Domain
Stringoptional
class learns at level 8class learns at level 8

This specifies what level the classes get access to this action at level 8. You can use subclass names such as "Fiend" or "Light Domain" to indicate that Fiend Warlocks or Light Domain clerics gain access.

Example
Sorcerer, Wizard, Fiend, Light Domain
Stringoptional
class learns at level 9class learns at level 9

This specifies what level the classes get access to this action at level 9. You can use subclass names such as "Fiend" or "Light Domain" to indicate that Fiend Warlocks or Light Domain clerics gain access.

Example
Sorcerer, Wizard, Fiend, Light Domain
Stringoptional
class learns at level 10class learns at level 10

This specifies what level the classes get access to this action at level 10. You can use subclass names such as "Fiend" or "Light Domain" to indicate that Fiend Warlocks or Light Domain clerics gain access.

Example
Sorcerer, Wizard, Fiend, Light Domain
Stringoptional
class learns at level 11class learns at level 11

This specifies what level the classes get access to this action at level 11. You can use subclass names such as "Fiend" or "Light Domain" to indicate that Fiend Warlocks or Light Domain clerics gain access.

Example
Sorcerer, Wizard, Fiend, Light Domain
Stringoptional
class learns at level 12class learns at level 12

This specifies what level the classes get access to this action at level 12. You can use subclass names such as "Fiend" or "Light Domain" to indicate that Fiend Warlocks or Light Domain clerics gain access.

Example
Sorcerer, Wizard, Fiend, Light Domain
Stringoptional
race learns at level 1race learns at level 1

This specifies what level the races get access to this action at level 1. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 2race learns at level 2

This specifies what level the races get access to this action at level 2. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 3race learns at level 3

This specifies what level the races get access to this action at level 3. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 4race learns at level 4

This specifies what level the races get access to this action at level 4. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 5race learns at level 5

This specifies what level the races get access to this action at level 5. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 6race learns at level 6

This specifies what level the races get access to this action at level 6. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 7race learns at level 7

This specifies what level the races get access to this action at level 7. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 8race learns at level 8

This specifies what level the races get access to this action at level 8. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 9race learns at level 9

This specifies what level the races get access to this action at level 9. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 10race learns at level 10

This specifies what level the races get access to this action at level 10. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 11race learns at level 11

This specifies what level the races get access to this action at level 11. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
race learns at level 12race learns at level 12

This specifies what level the races get access to this action at level 12. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringoptional
granted by featsgranted by feats

This specifies what feats get access to this action. Similar to the class and race arguments, this list can be comma-separated as well.

Example
Magic Initiate: Druid
Stringoptional
granted by itemsgranted by items

This specifies what items get access to this action. Similar to the class and race arguments, this list can be comma-separated as well.

Example
Poisoner's Ring
Stringoptional
granted by spellsgranted by spells

This specifies what spells get access to or trigger this action. Similar to the class and race arguments, this list can be comma-separated as well.

Example
Poisoner's Ring
Stringoptional
grantsgrants

This specifies what spells/actions are granted to the user of this passive feature

Example
Heart of the Storm
Stringoptional
used by creaturesused by creatures

This specifies which creatures use this action.

Example
Magma Mephit
Stringoptional
notesnotes

Any extra or related information about the action.

Contentoptional
bugsbugs

Any known bugs related to the feature.

Contentoptional
videovideo

Name of an uploaded video file showcasing the action.

Fileoptional
If this is an examplethis is an example

If this is an example and you don't want the page to be categorized and related.

Example
yes
Stringoptional
other ways to learnother ways to learn

Other ways to learn. These will be inserted as-is at the end of the how to learn field.

Stringoptional

Example

{{Passive feature page
| this is an example = yes
| description = Lets you fly all the way to Mount Doom.
| image = Fly Icon.png
| summary = Fly you fools!
| toggleable = yes
| warning = Spooky warning!
| recharge = Long Rest
| additional =
* Some additional info goes here.
| condition = Flight
| condition duration = 1
| class learns at level 3 = Monk
| race learns at level 5 = Wood Elf
| notes =
* Taking notes is very important.
| bugs =
* Caught a ladybug!
| video = Fireball-showcase.mp4
| uid = foobar
}}
Fly Icon.png

Fly you fools!

Description

Lets you fly all the way to Mount Doom.

Spooky warning!

  • Some additional info goes here.

Details

Recharge: Long rest
UID foobar

Condition: Flight

Flight Flight

Duration: 1 turn

  • Fly up to target position, up to 18 m / 60 ft each turn using your Movement Speed.

How to learn

Classes:

Races:

(Character level is the sum of all class levels for a multi-classed character.)

Notes

  • Taking notes is very important.

Bugs

  • Caught a ladybug!

Visuals


Example 2

Fly Icon.png

Fly again you fools!

Description

Lets you fly all the way to Mount Doom.

  • Some additional info goes here.

Details

UID foobar

How to learn

Other ways to learn:

  • By ticking a giant space hamster
  • Carameldansen under the Mouth of Bhaal


Example 3

Keep flying you fools!

Description

Lets you fly all the way to Mount Doom.

Details

UID foobar

How to learn

Other ways to learn:

  • By ticking a giant space hamster
  • Carameldansen under the Mouth of Bhaal

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