Template:DoDiscipline: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
No edit summary
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{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|}}}|::{{O|1}} <small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}}}</small>
==Example use==
{{#ifexpr:1<{{{2|}}}|::{{O|2}} <small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}}}</small>
<nowiki>{{doDiscipline
{{#ifexpr:2<{{{2|}}}|::{{O|3}} <small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}}}</small>
|name        =
{{#ifexpr:3<{{{2|}}}|::{{O|4}} <small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}}}</small>
|level        = {{{1|}}}
{{#ifexpr:4<{{{2|}}}|::{{O|5}} <small>{{getDiciplineLevel|{{{1|}}}|{{{2|}}}}}}}</small>
|book        =
|page        =
|description  =
}}</nowiki>
[[Category:Templates]]</noinclude>

Latest revision as of 10:34, 7 October 2018

Example use

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