Template:GetDiscipline: Difference between revisions
Jump to navigation
Jump to search
GameMaster (talk | contribs) No edit summary |
GameMaster (talk | contribs) 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|}}} {{{2|}}}|{{#if: {{{2|}}}|{{Discipline {{{1|}}} {{{2|}}}}}}}|}}</includeonly><noinclude> | {{#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>}} | |||
{{#ifexpr:1<{{{2|}}}|<small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}</small>}} | |||
{{#ifexpr:2<{{{2|}}}|<small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}</small>}} | |||
{{#ifexpr:3<{{{2|}}}|<small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}</small>}} | |||
{{#ifexpr:4<{{{2|}}}|<small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}</small>}} | |||
{{#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:35, 4 March 2017
Not a discipline. Expression error: Missing operand for <. Expression error: Missing operand for <. Expression error: Missing operand for <. Expression error: Missing operand for <. Expression error: Missing operand for <.
</includeonly>
Example use
Auspex (Vampire: the Requiem p.128) Template:GetDiciplineLevel Template:GetDiciplineLevel
●● Uncanny Perception 0 + 0 + Auspex (Pool: 0)