I believe what you are looking for would be
NodeParentNodeID = {% NodeID %} or NodeAliasPath LIKE ' {% NodeAliasPath %}/Featured/%'If you put single quotes in a macro to connect a string, the macro will escape it (for SQL injection reasons). So only put the item in you need in the macro and add the rest outside of the macro.