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|}}}|{{#if: {{{1|}}}|{{Discipline {{{1|}}}}}|<strong class="error">No discipline defined.</strong>}}|<strong class="error">Not a discipline.</strong>}} | ||
{{#ifexist:Template:Discipline {{{1|}}} | {{#ifexist:Template:Discipline {{{1|}}} 1|{{#ifexpr:0<{{{2|}}}|<small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}</small>}}}} | ||
{{#ifexist:Template:Discipline {{{1|}}} | {{#ifexist:Template:Discipline {{{1|}}} 2|{{#ifexpr:1<{{{2|}}}|<small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}</small>}}}} | ||
{{#ifexist:Template:Discipline {{{1|}}} | {{#ifexist:Template:Discipline {{{1|}}} 3|{{#ifexpr:2<{{{2|}}}|<small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}</small>}}}} | ||
{{#ifexist:Template:Discipline {{{1|}}} | {{#ifexist:Template:Discipline {{{1|}}} 4|{{#ifexpr:3<{{{2|}}}|<small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}</small>}}}} | ||
{{#ifexist:Template:Discipline {{{1|}}} | {{#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:36, 4 March 2017
Not a discipline.
</includeonly>
Example use
Auspex (Vampire: the Requiem p.128) Template:GetDiciplineLevel Template:GetDiciplineLevel