Template:DoDiscipline: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
No edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{{1|}}}&nbsp;{{O|{{{2|}}}}}|<span style="color:#c0c0c0">(''{{{2|}}} p.{{{3|}}}'')</span>
<includeonly>{{#if:{{{name|}}}|{{#iferror:{{#ifexpr:{{{level|}}}=0|<span style="color:#c0c0c0">}}}}'''{{{name|}}}'''{{#iferror:{{#ifexpr:{{{level|}}}=0|</span>}}}}}} {{O|{{{level|}}}}} {{#if:{{{book|}}}|<span style="color:#c0c0c0">(''<small>{{{book|}}}{{#if:{{{page|}}}|&nbsp;p.{{{page|}}}}}</small><sup></sup>'')}}</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==
  <nowiki>{{V}}</nowiki>
  <nowiki>{{doDiscipline
{{V}}
|name        =
|level        = {{{1|}}}
|book        =
|page        =
|description  =
}}</nowiki>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 10:34, 7 October 2018

Example use

{{doDiscipline
|name         = 
|level        = {{{1|}}}
|book         = 
|page         = 
|description  = 
}}