The page ID that matched the wildcard can be sent to the source:
or
sourceOnShow:
.
Just add {1}
inside the source:
or sourceOnShow:
and {1}
will be replaced by the page ID.
<div data-bind="page: {id: 'start'}"> <a href="#!/view/send_wildcard_to_source/character/fry">Go to Fry</a> </div> <div data-bind="page: {id: 'character'}"> <h3>Character</h3> <div data-bind="page: {id: '?', sourceOnShow: 'character/{1}.html'}"> </div> </div>