Template:Feature/Format: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Draft of universal feature formatting template)
 
(Fixed whitespace)
Line 2: Line 2:
{|
{|
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| style="margin-right:0.5em" | {{icon
| style="padding-right:0.5em" | {{icon
   | {{{icon}}}
   | {{{icon}}}
   | {{{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>
}}
}}
<br>
{{{description|}}}
{{{description|}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>

Revision as of 01:13, 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
  • 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.