Template:PIEffectImplRowTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
m (Text replacement - "userparam" to "#userparam")
 
(8 intermediate revisions by one other user not shown)
Line 2: Line 2:
Template to add a list of effected components of policy interventions and exclude the implementin componnets
Template to add a list of effected components of policy interventions and exclude the implementin componnets
Userparam contains the list with implementing components
Userparam contains the list with implementing components
<nowiki><li>{{#ifexpr:{{#ask:[[{{{userparam|}}}]][[HasComponent::{{{1|}}}]]|format=count}}>0 |[[{{{1|}}}]](*)|[[{{{1|}}}]] }}</li></nowiki>
<nowiki><li>{{#ifexpr:{{#ask:[[{{{#userparam|}}}]][[HasComponent::{{{1|}}}]]|format=count}}>0 |[[{{{1|}}}]](*)|[[{{{1|}}}]] }}</li></nowiki>
</noinclude><includeonly>
</noinclude><includeonly>
<li> param1 = {{{1|}}} , userparam = {{{userparam|}}}, impl?: {{#ask:[[{{{userparam|}}}]][[HasComponent::{{{1|}}}]]|format=count}}</li>
<li>[[{{{1|}}}/Policy issues|{{{1|}}}]]{{#ifeq: {{#ask:[[{{{#userparam|}}}]][[HasComponent::{{{1|}}}]]|format=count}}|0|| (*)}}</li>
</includeonly>
</includeonly>

Latest revision as of 16:02, 10 March 2020

Template to add a list of effected components of policy interventions and exclude the implementin componnets Userparam contains the list with implementing components <li>{{#ifexpr:{{#ask:[[{{{#userparam|}}}]][[HasComponent::{{{1|}}}]]|format=count}}>0 |[[{{{1|}}}]](*)|[[{{{1|}}}]] }}</li>