Pass parameter to node twig template via url The url to display node 100 is &lt;site&gt;/node/100. I want to pass a parameter to this node via the url. For example: &lt;site&gt;/node/100/3.

Question:


What must I do to get Drupal 8 to see /node/100/3 as /node/100 with the parameter 3 instead of just the url /node/100/3 (which fails)?


Efforts:


I've read many posts, but didn't find any that seem to directly address this issue.
I realize this can probably be accomplished via /node/100?param=3. I want to avoid using a query parameter if possible, just for cleanness.
I realize this can probably be accomplished by displaying the node within a view and then using a contextual filter. I want to avoid using a view if possible, again just for cleanness.
try this in twig: 

{% set url =  url('&lt;current&gt;')['#markup'] %}
{% set urllast =   url|split('/')|last %}
{{ urllast }}  // 3