I'm trying to implement an Action tracking system using templates, but can't for the life of me find out how to get Cargo to return the unique row _ID in the template associated with that record.
For example, my intended use-case is as follows:
Typing {{Action|Description=A task needs doing}} on any page (even multiple times per article) should create a new row in the actions table and display the following where the template was applied:
ActionID: 1
Description: A task needs doing.
Then on other pages, I'd like to be able recall / reference a task by typing {{Action|Id=1}} which would output the same summary as above, i.e.:
ActionID: 1
Description: A task needs doing.
I've tried all manner of ways of implementing this using extension IDProvider & extension variables to juggle about unique ID numbers, but I can't help feeling there must be a simpler way using Cargo's own _ID field. Cargo must be keeping track of this template usage under the bonnet anyhow, so I just want a way of being able to read that _ID value & display it in the template output.