Template:5e Second Ability Mod: Difference between revisions

From Rlyehwiki
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...")
 
No edit summary
Line 1: Line 1:
<includeonly>{{#if: {{{dex|}}}|,&nbsp;{{SRD5|Dexterity}} {{{dex}}}[[Dexterity::Dex {{{dex}}}| ]][[Ability Mods::Dex {{{dex}}}| ]]|}}{{#if: {{{con|}}}|,&nbsp;{{SRD5|Constitution}} {{{con}}}[[Constitution::{{{con}}}{{!}} ]][[Ability Mods::Con {{{con}}}| ]]|}}{{#if: {{{int|}}}|,&nbsp;{{SRD5|Intelligence}} {{{int}}}[[Intelligence::{{{int}}}| ]][[Ability Mods::Int {{{int}}}| ]]|}}{{#if: {{{wis|}}}|,&nbsp;{{SRD5|Wisdom}} {{{wis}}}[[[Wisdom::{{{wis}}}| ]][[Ability Mods::Wis {{{wis}}}| ]]|}}{{#if: {{{cha|}}}|,&nbsp;{{SRD5|Charisma}} {{{cha}}}[[Charisma::{{{cha}}}| ]][[Ability Mods::Cha {{{cha}}}| ]]|}}</includeonly><noinclude>
<includeonly>{{#if: {{{dex|}}}|,&nbsp;{{SRD5|Dexterity}} {{{dex}}}[[Dexterity::Dex {{{dex}}}| ]][[Ability Mods::Dex {{{dex}}}| ]]|}}{{#if: {{{con|}}}|,&nbsp;{{SRD5|Constitution}} {{{con}}}[[Constitution::{{{con}}}{{!}} ]][[Ability Mods::Con {{{con}}}| ]]|}}{{#if: {{{int|}}}|,&nbsp;{{SRD5|Intelligence}} {{{int}}}[[Intelligence::{{{int}}}| ]][[Ability Mods::Int {{{int}}}| ]]|}}{{#if: {{{wis|}}}|,&nbsp;{{SRD5|Wisdom}} {{{wis}}}[[Wisdom::{{{wis}}}| ]][[Ability Mods::Wis {{{wis}}}| ]]|}}{{#if: {{{cha|}}}|,&nbsp;{{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]]
Line 16: Line 16:
produces...
produces...


{{5e Second Ability Mod|dex=|con=+2|int=|wis=|cha=+1}}
{{5e Second Ability Mod|dex=|con=+2|int=|wis=9|cha=+1}}


[[Category:5e Templates|Ability Second Template 5e]]
[[Category:5e Templates|Ability Second Template 5e]]
</noinclude>
</noinclude>

Revision as of 17:38, 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 Wisdom 9 Charisma +1