You don’t seem to understand. The xpath is how the computer finds the element, but the above is just an object’s name. Absolutely no reason to have a wildcard in a name–just give it a generic name.
If you find the name in the Object Repository and double click on it, that will display the items that you are using to identify the element. Look for the xpath item. It’s here that you can use a parameter (your wildcard). Unfortunately, I don’t understand what part you would have as a parameter.
A click event does not return anything, so the above makes no sense. You will have to use another statement, like getText() or getAttribute(). First, you need to get the information from the element, which will be a String, after which, you can convert to an Integer (maybe a Double would be better). As an example: