I have the following code that I want to place into one chunk
[+phx:if=`[*wc-location*]`:is=`Top`:then=`{{wildcards-4-across}}`+]
AND
[+phx:if=`[*wc-location*]`:is=`Bottom`:then=`{{wildcards-4-across}}`+]
where the only difference between the two is the value being compared to - Top v Bottom.
I would like to have one chunk that I can call with my location to compare against instead of two chunks specific to location. Is this possible or am I headed down the wrong path and should re-route so to speak. I’m sure it’s something simple I’m missing, just not sure what I’m looking for.
Thanks,
Craig