Template:DoDiscipline: 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>{{#if:{{{name|}}}|'''{{{name|}}}'''}}{{#if:{{{1|}}}|&nbsp;{{O|{{{1|}}}&nbsp;}}|&nbsp;}}{{#if:{{{book|}}}|<span style="color:#c0c0c0">(''{{{book|}}}{{#if:{{{page|}}}|&nbsp;p.{{{page|}}}}}'')}}</span>
<includeonly>{{#if:{{{name|}}}|'''{{{name|}}}'''}}{{#if:{{{1|}}}|&nbsp;{{O|{{{1|}}}&nbsp;}}|&nbsp;}}{{#if:{{{book|}}}|<span style="color:#c0c0c0">(''{{{book|}}}{{#if:{{{page|}}}|&nbsp;p.{{{page|}}}}}'')}}</span></includeonly><noinclude>
{{#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>}}</includeonly><noinclude>
==Example use==
==Example use==
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 19:00, 4 March 2017

Example use