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: | ||
<includeonly>{{#ifexist:Template:Discipline {{{1|}}}|{{#if: {{{1|}}}|{{Discipline {{{1|}}}|{{{2|}}}}}|<strong class="error">No discipline defined.</strong>}}|{{#ifexpr:{{{2|}}} | <includeonly>{{#ifexist:Template:Discipline {{{1|}}}|{{#if: {{{1|}}}|{{Discipline {{{1|}}}|{{{2|}}}}}|<strong class="error">No discipline defined.</strong>}}|{{#ifexpr:{{{2|}}}<0|<span style="color:#c0c0c0">}}'''{{{1|}}}'''{{#ifexpr:{{{2|}}}<0|</span>}} {{O|{{{2|}}}}}}}{{#ifexist:Template:Discipline {{{1|}}} {{{2|}}}|{{#ifexpr:0<{{{2|}}}|:{{getDisciplineLevel|{{{1|}}}|1|{{{2|}}}|{{#if:{{{lvl1att|}}}|{{{lvl1att|}}}|0}}|{{#if:{{{lvl1skl|}}}|{{{lvl1skl|}}}|0}}}}}}{{#ifexpr:1<{{{2|}}}|:{{getDisciplineLevel|{{{1|}}}|2|{{{2|}}}|{{#if:{{{lvl2att|}}}|{{{lvl2att|}}}|0}}|{{#if:{{{lvl2skl|}}}|{{{lvl2skl|}}}|0}}}}}}{{#ifexpr:2<{{{2|}}}|:{{getDisciplineLevel|{{{1|}}}|3|{{{2|}}}|{{#if:{{{lvl3att|}}}|{{{lvl3att|}}}|0}}|{{#if:{{{lvl3skl|}}}|{{{lvl3skl|}}}|0}}}}}}{{#ifexpr:3<{{{2|}}}|:{{getDisciplineLevel|{{{1|}}}|4|{{{2|}}}|{{#if:{{{lvl4att|}}}|{{{lvl4att|}}}|0}}|{{#if:{{{lvl4skl|}}}|{{{lvl4skl|}}}|0}}}}}}{{#ifexpr:4<{{{2|}}}|:{{getDisciplineLevel|{{{1|}}}|5|{{{2|}}}|{{#if:{{{lvl5att|}}}|{{{lvl5att|}}}|0}}|{{#if:{{{lvl5skl|}}}|{{{lvl5skl|}}}|0}}}}}}|}}</includeonly><noinclude> | ||
== Template == | == Template == | ||
<nowiki>{{getDiscipline|||lvl1att =|lvl1skl=|lvl2att=|lvl2skl=|lvl3att=|lvl3skl=|lvl4att=|lvl4skl=|lvl5att=|lvl5skl=}}</nowiki> | <nowiki>{{getDiscipline|||lvl1att =|lvl1skl=|lvl2att=|lvl2skl=|lvl3att=|lvl3skl=|lvl4att=|lvl4skl=|lvl5att=|lvl5skl=}}</nowiki> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 20:53, 14 March 2017
Template
{{getDiscipline|||lvl1att =|lvl1skl=|lvl2att=|lvl2skl=|lvl3att=|lvl3skl=|lvl4att=|lvl4skl=|lvl5att=|lvl5skl=}}