Template:GetDicePool: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>{{getAttribute|{{{1|}}}|{{{2|}}}|returnName}} + {{getSkill|{{{3|}}}|{{{4|}}}|returnName}} + {{{5|}}} (Pool: {{#expr: {{getAttribute|{{{1|}}}|{{{2|}}}}}+{{getSkill|{{{3|}}}|{{{4|}}}}}+{{#if:{{{6|}}}|{{{6|}}}|0}}}})</includeonly><noinclude>
<includeonly>{{#ifeq:{{lc:{{{1|}}}}}|x||{{getAttribute|{{{1|}}}|{{{2|}}}|returnName}} + {{getSkill|{{{3|}}}|{{{4|}}}|returnName}} + {{{5|}}} (Pool: {{#expr: {{getAttribute|{{{1|}}}|{{{2|}}}}}+{{getSkill|{{{3|}}}|{{{4|}}}}}+{{#if:{{{6|}}}|{{{6|}}}|0}}}})}}</includeonly><noinclude>
==Example use==
==Example use==
  <nowiki>{{GetDicePool|Strenght|2|Brawl|2|MyPower|2}}</nowiki>
  <nowiki>{{GetDicePool|Strenght|2|Brawl|2|MyPower|2}}</nowiki>
{{GetDicePool|Strenght|2|Brawl|2|MyPower|2}}
{{GetDicePool|Strenght|2|Brawl|2|MyPower|2}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 10:57, 7 October 2018

Example use

{{GetDicePool|Strenght|2|Brawl|2|MyPower|2}}

Strenght + Brawl + MyPower (Pool: 6)