Template:5e Second Ability Mod: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#if: {{{dex|}}}|, {{SRD5|Dexterity}} {{{dex}}}[[Dexterity::Dex {{{dex}}}| ]][[Ability Mods::Dex {{{dex}}}| ]]|}}{{#if: {{{con|}}}|, {{SRD5|Constitutio...") |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{dex|}}}|, {{SRD5|Dexterity}} {{{dex}}}[[Dexterity::Dex {{{dex}}}| ]][[Ability Mods::Dex {{{dex}}}| ]]|}}{{#if: {{{con|}}}|, {{SRD5|Constitution}} {{{con}}}[[Constitution::{{{con}}}{{!}} ]][[Ability Mods::Con {{{con}}}| ]]|}}{{#if: {{{int|}}}|, {{SRD5|Intelligence}} {{{int}}}[[Intelligence::{{{int}}}| ]][[Ability Mods::Int {{{int}}}| ]]|}}{{#if: {{{wis|}}}|, {{SRD5|Wisdom}} {{{wis}}} | <includeonly>{{#if: {{{dex|}}}|, {{SRD5|Dexterity}} {{{dex}}}[[Dexterity::Dex {{{dex}}}| ]][[Ability Mods::Dex {{{dex}}}| ]]|}}{{#if: {{{con|}}}|, {{SRD5|Constitution}} {{{con}}}[[Constitution::{{{con}}}{{!}} ]][[Ability Mods::Con {{{con}}}| ]]|}}{{#if: {{{int|}}}|, {{SRD5|Intelligence}} {{{int}}}[[Intelligence::{{{int}}}| ]][[Ability Mods::Int {{{int}}}| ]]|}}{{#if: {{{wis|}}}|, {{SRD5|Wisdom}} {{{wis}}}[[Wisdom::{{{wis}}}| ]][[Ability Mods::Wis {{{wis}}}| ]]|}}{{#if: {{{cha|}}}|, {{SRD5|Charisma}} {{{cha}}}[[Charisma::{{{cha}}}| ]][[Ability Mods::Cha {{{cha}}}| ]]|}}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
Called from [[Template:5e First Ability Mod]] | Called from [[Template:5e First Ability Mod]] |
Latest revision as of 17:39, 10 January 2020
Usage
Called from Template:5e First Ability Mod
Syntax
{{5e Second Ability Mod|dex={{{dex}}}|con={{{con}}}|int={{{int}}}|wis={{{wis}}}|cha={{{cha}}}}}
Example
using values instead of parameters being passed:
{{5e Second Ability Mod|dex={{{dex}}}|con={{{con}}}|int={{{int}}}|wis={{{wis}}}|cha={{{cha}}}}} where dex, int, and wis are empty, con=+2, cha=+1
produces...
, Constitution +2 , Charisma +1