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>}}
{{#ifexpr:0<{{{2|}}}|:{{getDisciplineLevel|{{{1|}}}|1|{{{2|}}}|{{{3|}}}|{{{4|}}}|}}}}
{{#ifexpr:0<{{{2|}}}|:{{getDisciplineLevel|{{{1|}}}|1|{{{2|}}}|{{{lvl1att|}}}|{{{lvl1skl|}}}|}}}}
{{#ifexpr:1<{{{2|}}}|:{{getDisciplineLevel|{{{1|}}}|2|{{{2|}}}|{{{5|}}}|{{{6|}}}}}}}
{{#ifexpr:1<{{{2|}}}|:{{getDisciplineLevel|{{{1|}}}|2|{{{2|}}}|{{{lvl2att|}}}|{{{lvl2skl}}}}}}}
{{#ifexpr:2<{{{2|}}}|:{{getDisciplineLevel|{{{1|}}}|3|{{{2|}}}|{{{7|}}}|{{{8|}}}}}}}
{{#ifexpr:2<{{{2|}}}|:{{getDisciplineLevel|{{{1|}}}|3|{{{2|}}}|{{{lvl3att|}}}|{{{lvl3skl|}}}}}}}
{{#ifexpr:3<{{{2|}}}|:{{getDisciplineLevel|{{{1|}}}|4|{{{2|}}}|{{{9|}}}|{{{10|}}}}}}}
{{#ifexpr:3<{{{2|}}}|:{{getDisciplineLevel|{{{1|}}}|4|{{{2|}}}|{{{lvl4att|}}}|{{{lvl4skl|}}}}}}}
{{#ifexpr:4<{{{2|}}}|:{{getDisciplineLevel|{{{1|}}}|5|{{{2|}}}|{{{11|}}}|{{{12|}}}}}}}</includeonly><noinclude>==Parameters==
{{#ifexpr:4<{{{2|}}}|:{{getDisciplineLevel|{{{1|}}}|5|{{{2|}}}|{{{lvl5att|}}}|{{{lvl5skl|}}}}}}}</includeonly><noinclude>==Parameters==
  <nowiki>1.  Discipline Name  
  <nowiki>1.  Discipline Name  
2.  Discipline Level
2.  Discipline Level

Revision as of 18:55, 14 March 2017

Parameters

1.  Discipline Name 
2.  Discipline Level
3.  Attribute for Level 1
4.  Skill for Level 1
5.  Attribute for Level 2
6.  Skill for Level 2
7.  Attribute for Level 3
8.  Skill for Level 3
9.  Attribute for Level 4
10. Skill for Level 4
11. Attribute for Level 5
12. Skill for Level 5

Template

 {{GetDiscipline||||||||||||}}