Template:Feature/Format: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Draft of universal feature formatting template)
 
(Added proficiency tag)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{|
{|style="background-color:transparent"
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| style="margin-right:0.5em" | {{icon
| style="padding-right:0.5em" | {{icon
   | {{{icon}}}
   | {{#if: {{{icon|}}}|{{{icon}}}|Generic Buff.webp}}
   | {{{size|40}}}
   | {{{size|40}}}
   | link={{{link}}}
   | link={{{link}}}
}}
}}
| '''[[{{{link}}}|{{{name}}}]]'''
| '''[[{{{link}}}|{{{name}}}]]''' {{#if: {{{cost|}}}
{{#if: {{{cost|}}}
   |<li style="display:inline;margin-left:1em">{{ResourceList|{{{cost|}}}}}</li>
   |<li style="display:inline;margin-left:1em">{{ResourceList|{{{cost|}}}}}</li>
}}
}}{{#if: {{{passive|}}}
{{#if: {{{passive|}}}
   |<li style="display:inline;margin-left:1em">Passive feature</li>
   |<li style="display:inline;margin-left:1em">Passive feature</li>
}}
}}{{#if: {{{level|}}}
{{#if: {{{level|}}}
   |<li style="display:inline;margin-left:1em">{{Icon|Upcast Icon.png|24px}} [[Upcasting|Cast at]]: Level {{{level}}}</li>
   |<li style="display:inline;margin-left:1em">{{Icon|Upcast Icon.png|24px}} [[Upcasting|Cast at]]: Level {{{level}}}</li>
}}
}}{{#if: {{{recharge|}}}
{{#if: {{{recharge|}}}
   |<li style="display:inline;margin-left:1em">{{Recharge|{{{recharge|}}}}}</li>
   |<li style="display:inline;margin-left:1em">{{Recharge|{{{recharge|}}}}}</li>
}}{{#if: {{{proficiency|}}}
  |<li style="display:inline;margin-left:1em">{{Icon|Proficiency Icon.png|32px}}Requires [[proficiency]]</li>
}}
}}
<br>
{{{description|}}}
{{{description|}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
Line 33: Line 30:
| name = Giantslayer
| name = Giantslayer
| link = Giantslayer
| link = Giantslayer
| icon = Generic Buff.webp
| passive = yes
| passive = yes
| description = On a hit, double the damage from your [[Strength]] [[Ability scores#Ability score modifiers|modifier]]. This weapon grants you {{advantage}} on {{attack roll}}s against Large, Huge or Gargantuan creatures.
| description = On a hit, double the damage from your [[Strength]] [[Ability scores#Ability score modifiers|modifier]]. This weapon grants you {{advantage}} on {{attack roll}}s against Large, Huge or Gargantuan creatures.
Line 51: Line 47:
| cost = action
| cost = action
| recharge = short rest
| recharge = short rest
| proficiency = yes
| description =  Deal additional damage equal to your [[proficiency bonus]]. On a hit, Large, Huge, or Gargantuan creatures take an additional {{DamageText|2d6|Slashing|drs=t}} damage and must suceed a {{saving throw|Strength}} or fall {{cond|Prone}}.  
| description =  Deal additional damage equal to your [[proficiency bonus]]. On a hit, Large, Huge, or Gargantuan creatures take an additional {{DamageText|2d6|Slashing|drs=t}} damage and must suceed a {{saving throw|Strength}} or fall {{cond|Prone}}.  
}}
}}


</noinclude>
</noinclude>

Latest revision as of 04:27, 29 November 2023


Description

Template to format any type of feature, whether it is an action, spell, or passive, that might be granted by an item. It is intended to be populated by a Cargo query as in Template:Feature.

Examples

Giantslayer Giantslayer
  • Passive feature
  • On a hit, double the damage from your Strength modifier. This weapon grants you Advantage Icon.png Advantage on Attack rolls against Large, Huge or Gargantuan creatures.

    Giant Form Giant Form
  • Action
  • Recharge: Short rest
  • Grow to a fearsome size. Your weapons deal an additional D6 Physical.png 1d6 damage and you gain HP Icon.png 27 temporary hit points and Advantage Icon.png Advantage on Strength Ability checks and Saving throws

    Topple the Big Folk Topple the Big Folk
  • Action
  • Recharge: Short rest
  • Proficiency Icon.pngRequires proficiency
  • Deal additional damage equal to your proficiency bonus. On a hit, Large, Huge, or Gargantuan creatures take an additional 2d6Damage TypesSlashingDRS damage and must suceed a Strength saving throw or fall Prone Prone.