Difference between revisions of "Template:IfParamDisplay"
From Shin Megami Tensei IMAGINE Wiki
(Helper template) |
m |
||
(One intermediate revision by one user not shown) | |||
Line 3: | Line 3: | ||
Output is: | Output is: | ||
<div class="label">Label: Value</div> | <div class="label">Label: Value</div> | ||
− | </noinclude>{{#if:{{{2|}}}|<div class="{{ | + | </noinclude>{{#if:{{{2|}}}|<div class="{{lc:{{{1}}}}}">{{{1}}}: {{{2}}}</div>|}} |
Latest revision as of 10:18, 30 September 2012
Takes a two parameters, a label and value. If the value is non-empty then it displays as below, otherwise it does nothing. Output is:
<div class="label">Label: Value</div>