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>}}</includeonly><noinclude>
{{#ifexist:Template:Discipline {{{1|}}} 1|{{#ifexpr:0<{{{2|}}}|<small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}</small>}}}}
{{#ifexist:Template:Discipline {{{1|}}} 2|{{#ifexpr:1<{{{2|}}}|<small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}</small>}}}}
{{#ifexist:Template:Discipline {{{1|}}} 3|{{#ifexpr:2<{{{2|}}}|<small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}</small>}}}}
{{#ifexist:Template:Discipline {{{1|}}} 4|{{#ifexpr:3<{{{2|}}}|<small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}</small>}}}}
{{#ifexist:Template:Discipline {{{1|}}} 5|{{#ifexpr:4<{{{2|}}}|<small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}</small>}}}}</includeonly><noinclude>
==Example use==
==Example use==
{{getDiscipline|Auspex|2}}
{{getDiscipline|Auspex|2}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 18:59, 4 March 2017

Example use

Auspex ●● (Vampire: the Requiem p.128)