User:HarveyPekar/dialogue check: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{icon|D20.png|25|caption=}} {{#if: {{{2|}}} | DC {{{2}}}}} {{#if:{{{1|}}}|{{#invoke:ParseList|main|<nowiki>[</nowiki>{{{1|}}}<nowiki>]</nowiki>|makeLinks=yes}} [[Ability check|check]]|[[Ability check]]}}</includeonly><noinclude>{{documentation|content=
<includeonly>{{icon|D20.png|25|caption=}} {{#if: {{{2|}}} | DC {{{2}}}}} {{#if:{{{1|}}}|{{#invoke:ParseList|main|{{{1|}}}|makeLinks=yes}} [[Ability check|check]]|[[Ability check]]}}</includeonly><noinclude>{{documentation|content=
This template is an adaptation of [[Template:Ability Check]] used to represent Skill or Ability Checks as they appear in dialogue, with the check being presented in all-caps and single brackets.
This template is an adaptation of [[Template:Ability Check]] used to represent Skill or Ability Checks as they appear in dialogue, with the check being presented in all-caps and single brackets.


Line 8: Line 8:
Result: {{User:HarveyPekar/dialogue check}}
Result: {{User:HarveyPekar/dialogue check}}


Usage: <code><nowiki>{{Dialogue check|SLEIGHT OF HAND|20}} </nowiki></code>
Usage: <code><nowiki>{{Dialogue check|[SLEIGHT OF HAND]|20}} </nowiki></code>


Result: {{Dialogue check|SLEIGHT OF HAND|20}}  
Result: {{User:HarveyPekar/dialogue check|[SLEIGHT OF HAND]|20}}  


Usage: <code><nowiki>{{Dialogue check|DEXTERITY}}</nowiki></code>
Usage: <code><nowiki>{{Dialogue check|DEXTERITY}}</nowiki></code>


Result: {{Dialogue check|DEXTERITY}}
Result: {{User:HarveyPekar/dialogue check|DEXTERITY}}


[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 04:17, 13 February 2024

Documentation

This template is an adaptation of Template:Ability Check used to represent Skill or Ability Checks as they appear in dialogue, with the check being presented in all-caps and single brackets.

The first parameter is the skill or ability being checked, and the second (optional) parameter is the DC. If no parameters are supplied, it will instead display a link to Ability Check.

Usage: {{Dialogue check}}

Result: Ability check

Usage: {{Dialogue check|[SLEIGHT OF HAND]|20}}

Result: DC 20 [[[SLEIGHT OF HAND]|[SLEIGHT OF HAND]]] check

Usage: {{Dialogue check|DEXTERITY}}

Result: DEXTERITY check

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
Skill name1

The name of the skill associated with the ability check. Enter in all capital letters.

Stringrequired
Difficulty Class2

The Difficulty Class of the check.

Numberoptional