Difference between revisions of "Template:PersonPosition"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{#external_value: {{{ positionValue | }}} }}
+
{{#if: {{ComValue|{{{ positionValue | }}} }}
 
|<div class="position-row row m-0 mw-customtoggle-{{{ positionValue | }}}">
 
|<div class="position-row row m-0 mw-customtoggle-{{{ positionValue | }}}">
<div class="position-q col-{{{ qwidth |9}}} link-no-border">{{{ label | }}}</div>
+
<div class="position-q col-md-{{{ qwidth |9}}} link-no-border">{{{ label | }}}</div>
<div class="position-a col-{{{ awidth |3}}} link-no-border">{{#if: {{{ notesValue | }}}  
+
<div class="position-a col-md-{{{ awidth |3}}} link-no-border">{{#if: {{{ notesValue | }}}  
| <i class="fal fa-caret-down fa-xs"></i>&nbsp;&nbsp;{{#external_value: {{{ positionValue | }}} }}
+
| <i class="fal fa-caret-down fa-xs"></i>&nbsp;&nbsp;{{ComValue|{{{ positionValue | }}}}}{{#switch: {{{ complicated | }}}
| {{#external_value: {{{ positionValue | }}} }}&nbsp;[[Ideas{{{ linkAnchor | }}}|<i class="far fa-info-circle fa-xs" title="More info on this topic..."></i>]]
+
|true
 +
|t=<i class="fad fa-exclamation-circle fa-xs ml-2" style="color: #ba1b1d;" title="This is a nuanced position. Read notes for details." name="This is a nuanced position. Read notes for details."></i>
 +
|
 +
}}
 +
| {{ComValue|{{{ positionValue | }}}}}{{#switch:{{{ complicated | }}}
 +
|true
 +
|t=<i class="fad fa-exclamation-circle fa-xs ml-2" style="color: #ba1b1d;" title="This is a nuanced position. Read notes for details." name="This is a nuanced position. Read notes for details."></i>
 +
|
 +
}}&nbsp;[[Ideas{{{ linkAnchor | }}}|<i class="far fa-info-circle fa-xs" title="More info on this topic..."></i>]]
 
}}
 
}}
 
</div>
 
</div>

Latest revision as of 14:24, 18 November 2022