By default, Magento allows you to use ifconfig in the following way:
Unfortunately, Magento does not allow you to use the "else" block for ifconfig.
Let's say, you want to implement the following logic:
if path/to/config/status/enabled is true
include the javacript js/script_one.js
include the javacript js/script_two.js
Thanks to Extended ifconfig extension by CODNITIVE it is now possible to use more conditions by following the syntax below:
skin_js js/script_one.js skin_js js/script_two.js