Template:GetDiscipline: 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>{{#ifexist:Template:Discipline {{{1|}}}|{{#if: {{{1|}}}|{{Discipline {{{1|}}}|{{{2|}}}}}|<strong class="error">No discipline defined.</strong>}}|<strong class="error">Not a discipline.</strong>}}</includeonly><noinclude>
<includeonly>{{#ifexist:Template:Discipline {{{1|}}}|{{#if: {{{1|}}}|{{Discipline {{{1|}}}|{{{2|}}}}}|<strong class="error">No discipline defined.</strong>}}|<strong class="error">Not a discipline.</strong>}}
{{#ifexpr:0<{{{2|}}}|{{getDisciplineLevel|{{{1|}}}|1|{{{3|}}}|{{{4|}}}}}
{{#ifexpr:1<{{{2|}}}|{{getDisciplineLevel|{{{1|}}}|2|{{{5|}}}|{{{6|}}}}}
{{#ifexpr:2<{{{2|}}}|{{getDisciplineLevel|{{{1|}}}|3|{{{7|}}}|{{{8|}}}}}
{{#ifexpr:3<{{{2|}}}|{{getDisciplineLevel|{{{1|}}}|4|{{{9|}}}|{{{10|}}}}}
{{#ifexpr:4<{{{2|}}}|{{getDisciplineLevel|{{{1|}}}|5|{{{11|}}}|{{{12|}}}}}</includeonly><noinclude>
==Example use==
==Example use==
{{getDiscipline|Auspex|5}}
{{getDiscipline|Auspex|5|2|3|2|3|2|3|2|3|2|3}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 19:30, 4 March 2017

Example use

Auspex ●●●●● (Vampire: the Requiem p.128) {{#ifexpr:0<5|● Beast’s Hackles Wits + 0 + Auspex (Pool: 5) {{#ifexpr:1<5|●● Uncanny Perception Intelligence + 0 + Auspex (Pool: 5) {{#ifexpr:2<5|●●● The Spirit’s Touch Wits + 0 + Auspex (Pool: 5) {{#ifexpr:3<5|●●●● Lay Open the Mind Intelligence + 0 + Auspex (Pool: 5) {{#ifexpr:4<5|●●●●● Twilight Projection Intelligence + 0 + Auspex (Pool: 5)