Get parameter from current url
You could try adding a "Global: Null" contextual filter to your Views display, configured to "Provide default value" with type "Content ID from URL". 

The Null filter type doesn't change the output of your view. But it would make the Node ID available as a replacement pattern.