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>{{#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|discipline={{{1|}}}|level=1|attributeValue={{{3|}}}|skillValue={{{4|}}}}}}}
{{#ifexpr:0<{{{2|}}}|{{getDisciplineLevel|{{{1|}}}|1|{{{3|}}}|{{{4|}}}}}}}
{{#ifexpr:1<{{{2|}}}|{{getDisciplineLevel|discipline={{{1|}}}|level=2|attributeValue={{{5|}}}|skillValue={{{6|}}}}}}}
{{#ifexpr:1<{{{2|}}}|{{getDisciplineLevel|{{{1|}}}|2|{{{5|}}}|{{{6|}}}}}}}
{{#ifexpr:2<{{{2|}}}|{{getDisciplineLevel|discipline={{{1|}}}|level=3|attributeValue={{{7|}}}|skillValue={{{8|}}}}}}}
{{#ifexpr:2<{{{2|}}}|{{getDisciplineLevel|{{{1|}}}|3|{{{7|}}}|{{{8|}}}}}}}
{{#ifexpr:3<{{{2|}}}|{{getDisciplineLevel|discipline={{{1|}}}|level=4|attributeValue={{{9|}}}|skillValue={{{10|}}}}}}}
{{#ifexpr:3<{{{2|}}}|{{getDisciplineLevel|{{{1|}}}|4|{{{9|}}}|{{{10|}}}}}}}
{{#ifexpr:4<{{{2|}}}|{{getDisciplineLevel|discipline={{{1|}}}|level=5|attributeValue={{{11|}}}|skillValue={{{12|}}}}}}}</includeonly><noinclude>
{{#ifexpr:4<{{{2|}}}|{{getDisciplineLevel|{{{1|}}}|5|{{{11|}}}|{{{12|}}}}}}}</includeonly><noinclude>
==Example use==
==Example use==
{{getDiscipline|Auspex|5|2|3|2|3|2|3|2|3|2|3}}
{{getDiscipline|Auspex|5|2|3|2|3|2|3|2|3|2|3}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 19:57, 4 March 2017

Example use

Auspex ●●●●● (Vampire: the Requiem p.128)Beast’s Hackles Wits + 0 + Auspex (Pool: 5) ●● Uncanny Perception Intelligence + 0 + Auspex (Pool: 5) ●●● The Spirit’s Touch Wits + 0 + Auspex (Pool: 5) ●●●● Lay Open the Mind Intelligence + 0 + Auspex (Pool: 5) ●●●●● Twilight Projection Intelligence + 0 + Auspex (Pool: 5)