Шаблон:SavingThrow: відмінності між версіями

Матеріал з Вікі D&D українською
Перейти до навігації Перейти до пошуку
м (Імпортовано 1 версія)
bg3>Majesstic
м (add a space)
Рядок 1: Рядок 1:
<includeonly>{{SmallIcon|Saving Throw Icons.png}} {{#switch: {{{1}}}
<includeonly>{{#if: {{{dc|}}} | [[Difficulty Class|DC]] {{{dc}}}&nbsp; |
}}{{SmallIcon|Saving Throw Icons.png}} {{#switch: {{{1}}}
| strength
| strength
| Strength
| Strength
Рядок 25: Рядок 26:
| CHA = [[Saving Throw|Charisma Save]]
| CHA = [[Saving Throw|Charisma Save]]
| #default = [[Saving Throw]]
| #default = [[Saving Throw]]
}}{{#if: {{{dc|}}} | &nbsp;([[Difficulty Class|DC]] {{{dc}}}) |
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Visually represent a type of Saving Throw in a semi-compact fashion. Accepts the full or abbreviated form of any [[Ability Score]] as an optional parameter.
Visually represent a type of Saving Throw in a semi-compact fashion. Accepts the full or abbreviated form of any [[Ability Score]] as an optional parameter.
Рядок 42: Рядок 42:




Also supports an optional <code>dc</code> (Difficulty Class) parameter.
Also supports an optional <code>dc</code> ([[Difficulty Class]]) parameter for abilities and spells with fixed DCs.


Usage: {{code|<nowiki>{{SavingThrow|dexterity|dc=12}}</nowiki>}}
Usage: {{code|<nowiki>{{SavingThrow|dexterity|dc=12}}</nowiki>}}

Версія за 20:51, 25 серпня 2023

Visually represent a type of Saving Throw in a semi-compact fashion. Accepts the full or abbreviated form of any Ability Score as an optional parameter.

Usage: {{SavingThrow}}

Result: Saving Throw

Usage: {{SavingThrow|STR}}

Result: Strength Save

Usage: {{SavingThrow|Strength}}

Result: Strength Save


Also supports an optional dc (Difficulty Class) parameter for abilities and spells with fixed DCs.

Usage: {{SavingThrow|dexterity|dc=12}}

Result: DC 12  Dexterity Save

Auto-generated TemplateData follows.


Visually represent a type of Saving Throw in a semi-compact fashion.

Параметри шаблону[Управління TemplateData]

Для цього шаблону краще внутрішнє форматування параметрів.

ПараметрОписТипСтатус
Saving Throw Type (Optional)1

немає опису

Пропоновані значення
STR DEX CON INT WIS CHA
Рядокпропонований
Difficulty Class (DC)dc

(Optional) the Difficulty Class of the Saving Throw

Приклад
12
Числопропонований