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

Revision as of 18:36, 4 March 2017

Not a discipline.



</includeonly>

Example use

Auspex (Vampire: the Requiem p.128) Template:GetDiciplineLevel Template:GetDiciplineLevel